Show TOC Start of Content Area

Procedure documentation Building EARs Locate the document in its SAP Library structure

Use

You need to build the EAR file of the Enterprise project before deploying the application to the J2EE Engine.

The EAR file contains the WAR and JAR files, and the application.xml and application-j2ee-engine.xml deployment descriptors. Optionally, it can also contain data-source-aliases.xml, log-configuration.xml or sap.application.global.properties.

When you build the EAR file, this also automatically builds the WAR and JAR files in the referenced projects.

Procedure

Building EARs in Enterprise Application Projects

       1.      In the J2EE Explorer view, select the Enterprise Application project.

       2.      From the context menu, choose Build EAR File.

Building EARs in Enterprise Application DC Projects

...

       1.      In the J2EE DC Explorer, select the Enterprise Application DC project.

       2.      Choose Development Component ® Build.

       3.      Select the projects to be built.

       4.      Choose OK.

Result

An EAR file with the same name as the Enterprise project is created.

You can deploy the application now. For more information, see Deploying EARs.

End of Content Area