|
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. |
|
|
|
|
|
|