Contents of J2EE EAR, WAR, and JAR files
 Technote (FAQ)
 
Problem
What is the content of J2EE EAR, WAR and JAR files?
 
Solution
An EAR file contains all the JARs and WARs belonging to an application. JAR files contain the EJB classes and WAR files contain the web components (JSPs, static pages, servlets, gifs, etc.). You may also have JAR files which contain utility classes or common classes shared between the EJB JAR files. The J2EE application client's class files are also stored in a JAR file. EARs, JARs, and WARs all contain an XML-based Deployment Descriptor.

You can have any number or WAR, EJB JAR, or utility JAR files in an EAR file.
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Deploy (for example: AAT or ANT or EAR/WAR/JAR)
Operating system(s): HP-UX
Software version: 4.0
Software edition:
Reference #: 1066338
IBM Group: Software Group
Modified date: Oct 17, 2005