Home

 

Java EE applications

At the highest level, the Java EE specification describes the construction of two application types that can be deployed on any Java EE compliant application server. These are Web applications represented by a Web Application Archive (WAR) file or an enterprise application represented by an Enterprise Archive (EAR) file. Both files are constructed in zip file format, with a defined directory and file structure. Web applications generally contain the Web components required to build the information presented to the end user and some lower level logic, while the enterprise application contains an entire application, including the presentation logic and logic implementing its interactions with an underlying database or other back-end system.

Also note that an EAR file can include one or more WAR files where the logic within the Web applications (WARs) usually invokes the application logic in the EAR.

ibm.com/redbooks