Chapter 5: Packaging and Deploying WebLogic Web Applications


Overview

This chapter discusses the steps required to package and deploy a WebLogic Server Web application. Consistent with the intermediate to advanced nature of this book, we assume that you have some knowledge of the J2EE specification and the required elements in a well-structured Web application. Our emphasis will be on the techniques applicable to a WebLogic Server deployment rather than a generic J2EE environment. We also assume a basic level of experience with the Ant build tool provided by the Apache Software Foundation. See the Ant home page at http://jakarta.apache.org/ant for online documentation.

Figure 5.1 presents the basic process for packaging and deploying a Web application using WebLogic Server. The basic steps in the process are as follows :

  1. Create web.xml and weblogic.xml descriptor files.

  2. Organize the Web application components in the proper directory structure.

  3. Precompile JSP pages and place generated class files in Web application structure.

  4. Deploy the application to WebLogic Server as an exploded or archived Web application.

    click to expand
    Figure 5.1:  Basic packaging and deployment process.

The rest of this chapter discusses each of the steps in this process and the tools available in WebLogic Server to perform each activity.




Mastering BEA WebLogic Server. Best Practices for Building and Deploying J2EE Applications
Mastering BEA WebLogic Server: Best Practices for Building and Deploying J2EE Applications
ISBN: 047128128X
EAN: 2147483647
Year: 2003
Pages: 125

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net