Since I have been invoking with J2EE, especially JSF and WebSphere Portlet, for almost two years, I believe it is the time to record what I have learned in between, and share the experience with you. My motivation is very simple: exchange our minds to ease the work.
For the first day, I start with some simple concepts.
What is J2EE?
It is the Platform.
It is the Platform for developing client-server applications in Java.
The platform is highly available, reliable, scalable, and secure platform.
What is EAR, WAR files?
EAR: It is the enterprise archive. It represents a J2EE application that can be deployed into Application Server. An .ear file contains a deployment descriptor (application.xml), which describes the contents of the application and contains instructions for the entire application, such as security settings to be used in the runtime environment.
WAR: It contains all the components of a Web application, like HTML-, CSS-, JSP-files, Complied Java Servelt classes, images, and portlet. The .war file includes a deployment descriptor (web.xml), which describes how to deploy the various components packaged within the Web module.
That's all for today. Resources are from IBM Redbooks.