Chapter 12. Packaging and Deployment

Now that we’ve looked at the different J2EE services supported by WebLogic and how your application components can take advantage of them, we turn our attention to how the different application components ought to be packaged and deployed. J2EE requires a number of different deployment descriptor files, and WebLogic adds its own set too. In this chapter, you will learn how WebLogic’s tools help you to generate and edit the XML deployment descriptors needed for your J2EE modules. We also look at how to package enterprise applications, web applications, EJB modules, and any J2EE connectors your application may require.

Once your applications are packaged appropriately, you need to deploy them. WebLogic supports a two-phase deployment strategy wherein your application is first distributed to the servers. Your application then is checked during a prepare phase on each server, after which it is activated. You will learn about WebLogic’s two-phase deployment, and the various staging modes that determine how an application is distributed to the different server instances in your domain. In addition, we look at how WebLogic’s support for auto-deployment eases development and deployment during the development stages of your application. We also explore the various deployment tools that enable you to deploy an enterprise application (and its modules) to WebLogic, and how you can specify the order in which the different application modules ought to be deployed. ...

Get WebLogic: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.