WebLogic Server allows you to select the load order for applications.
WebLogic Server deploys server-level resources (first JDBC and then JMS) before deploying applications.
Applications are deployed in this order: connectors, then EJBs, then Web Applications.
If the application is an EAR, the individual components are loaded in the order in which they are declared in the application.xml deployment descriptor.
Deployment order is:
1.Resources( JDBC and JMS)
2.jsp's and servlets
4.Start up and Shutdown classes(optional)