Professional Oracle® WebLogic Server
by Robert Patrick, Gregory Nyberg, Philip Aston, Josh Bregman, Paul Done
Chapter 5. Packaging and Deploying WebLogic Web Applications
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 Java EE 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 Java EE 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:
Create
web.xmlandweblogic.xmldescriptor files.Organize the web application components in the proper directory structure.
Precompile JSP pages and place the generated class files in the web application structure.
Deploy the application to WebLogic Server as an exploded or archived web application.
The rest of this chapter discusses each of the steps in this process and the tools available in WebLogic Server to perform each activity.
Packaging Web Applications
You package web applications for deployment in WebLogic Server by creating the correct web application directory structure and placing in that structure the view components, images, class libraries, and descriptor files ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access