cancel
Showing results for 
Search instead for 
Did you mean: 

EAR Packaging

Former Member
0 Kudos

Hi,

I have 5 jar files which are using in Ejb project and also in Web project. I put these files in Lib folder of both projects and also set the build path.

I want to put these 5 jar files only once in EAR project and then use Ejb project and Web project from EAR at developnent time and runtime.

Please guide me how i pack the EAR file with these 5 jar files.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please have the clear steps in the OSS note

Note 696084 - EP 6.0: How to create SDA files for EPA or PAR filesThis will help you to gain knowledge on packagin tool

Note 1223957 - Usage of NetWeaver Packaging Tool

Caution

Before building an EAR file for a J2EE application, the EJB-JARs and the WARs that will be packaged in the J2EE application must be built and the XML deployment descriptor (application.xml) must be written.

Then, the EAR file (<j2ee-application>.ear) can be built using the jar command

cd <your_j2ee_application_directory>

jar cvf <j2ee-application>.ear *

regards

nag