J2EE Architecture
The J2EE Architecture allows the programmers to divide their work into two major categories:
-
Business Logic
-
Presentation Logic
Presentation Logic consists of all the program (JSP and Servlets), images and html files that are used to interact with the client. These files are archived into .war file. These files are installed on the web server and these interacts with the users.
Business Logic:
These are EJB applications which implements the business logic of the system and are archived into .jar file. Business logic runs on the application server.
These two types of archives are bundled into complete J2EE applications, and delivered as Enterprise Archive (EAR) file.
Let's took an example of form processing. In
this example J2EE application could have and HTML form, which prompts
the user to input the data, a servlet to receive the data from the
form and process it, and also an Enterprise Bean to store the data in
a database. In this example the HTML form and servlet are archived in
a WAR file, and the Enterprise Java Bean is archived into JAR file.
These two archive files (WAR and JAR) both are added to the EAR file,
which is finally deployed on the server.
Tutorials
- Application Servers Available in Market. Web Servers. J2EE server.
- Developing Distributed application using Enterprise Java Beans, J2EE Architecture, EJB Tutorial, WebLogic Tutorial.
- The J2EE Architecture allows the programmers to divide their work into two major categories Business Logic Presentation
- Introduction To Enterprise Java Bean(EJB). WebLogic 6.0 Tutorial.
- Introduction To Enterprise Java Bean(EJB). Developing web component.
- Downloading and Installing WebLogic server 6.0
- Application Servers Available in Market. Web Servers. J2EE server.
- Writing Calculator Stateless Session Bean
- Deploying and testing Stateless Session Bean
- Developing Distributed application using Enterprise Java Beans, J2EE Architecture, EJB Tutorial, WebLogic Tutorial.
- EJB, Enterprise java bean, EJB Intoduction- Enterprise Java Beans (EJB) - An Introduction
- The J2EE Architecture allows the programmers to divide their work into two major categories Business Logic Presentation Logic
- Introduction To Enterprise Java Bean(EJB). WebLogic 6.0 Tutorial.
- Stateful and Stateless Session Bean Life Cycle
- Writing Session bean - Session Bean Example with Source Code
- Writing Deployment Descriptor of Stateless Session Bean
- Introduction To Enterprise Java Bean(EJB). Developing web component.
- Downloading and Installing WebLogic server 6.0
- EJB, Enterprise java bean- Why EJB (Enterprise Java Beans)?