Packaging and Deploying Software

After the software has been built, it needs to be packaged and deployed. The first step is packaging.

A Java Web application is packaged in a Web archive file (*.war). If the application uses other J2EE components, such as Resource Adapters or EJBs, the .war file and the other components are packaged in an enterprise archive file (*.ear). Packaging on the command line or with simple batch scripts can be done using the Java jar command. Ant, as previously discussed, can do this for you when using WebLogic's Ant tasks. It's also possible to build and package applications from the IDE you are using. For example, JBuilder 8 has the option to package your application and EJBs in an .ear file. Of course, there's no ...

Get BEA WebLogic Server™ 8.1 Unleashed 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.