Chapter 7 Developing Applications with PowerJ and EAServer
In PowerJ 3.6, J2EE components are associated with two new collection targets: WAR files and EAR files. These are the collection targets for J2EE Web Applications and Enterprise Applications.
When you create a new J2EE component using a wizard, you can create a new JAR target for an EJB component or a new WAR target for a JSP or servlet component. You also have the option of adding the component to an existing archive file. Multiple EJBs can be included in a single JAR target and multiple servlets and JSPs can be added to a single WAR target. The component wizards also give you the option of postponing the decision about the archive file until later. You can use the Java JAR, Java WAR, or Java EAR wizards to create new JAR, WAR or EAR targets and add component targets to them.
J2EE conventions The J2EE specification recommends the following conventions on how to package your components in archive collection targets:
Copyright © 2000 Sybase, Inc. All rights reserved. |