EJB - EAR, JAR and WAR - What is the difference between EAR, JAR and WAR file?

What is the difference between EAR, JAR and WAR file?

- Modules are packaged based on their functionality as EAR, JAR and WAR files.

1. JAR files (.jar): Modules which contain EJB class files and EJB deployment descriptor are packed as JAR files.

2. WAR Files (.war): Web modules which contain servlet class files, JSP files, supporting files, GIF and HTML files are packaged as JAR file.

3. EAR Files (.ear): ‘.jar’ & ‘.war’ files are packaged as JAR files. ‘Ear’ stands for enterprise archive. These files are deployed in the application server.
EJB lazy loading: What is lazy loading?
EJB lazy loading - Heavy weight application consume a lot of time while loading the plug-ins. In lazy loading approach..
EJB Session Bean: What is Session Bean?
EJB Session Bean - Session beans are used to shield the client from the complexity of the business logic..
EJB Stateful Session bean: What is a Stateful Session bean?
EJB Stateful Session bean - Between the client and the session bean, the state of the conversation can be maintained...
Post your comment