During a technical interview one of the phrases that put the candidates in difficulties is “tell me all you know about [something]”. This is the first post in the series tell me all you know about, and I will write about EARs files.
EAR stands from enterprise application archive and it is a standard jar file having the .ear extension. It is used by java EE to package one or more modules into a single archive. The archive contains a metadata directory called META-INF which contains an XML file called deployment descriptor (which describe how to deploy the modules).
The META-INF directory contains at least one deployment descriptor called application.xml with the following entries:
- icon – specifies the location for the images that represent the application;
- display-name – identifies the application;
- description – a short description of the application.