InfoCenter Home >
4: Developing applications >
4.1: Programming model and environment
4.1: Programming model and environment
IBM WebSphere Application Server supports a three-tier programming
model in which the application server and its contents -- your applications --
reside in the middle tier.
In this multi-tiered programming
model, tier 0 represents Applets which run in a Web browser; tier 1, some application resources such as JSP files
and servlets, which respond to HTTP requests; tier 2, the enterprise beans that run on the EJB server; and tier 3, the databases that store the
business data.
With version 4.0, WebSphere Application Server provides tier 0 support by
shipping a "thin" remote client. See article Java clients
for more information.
This documentation is geared towards the following layered approach
to application development:
- Determine what the application should do
- Plan the application building blocks and their interactions
- Create the Web application building blocks
- Write the Web application deployment descriptor
- Combine the Web application components and deployment descriptor into a Web module
- Create the enterprise beans
- Write the EJB deployment descriptor
- Combine the enterprise beans and the deployment descriptor into an EJB module
- Package the Web module and EJB module into a J2EE application.
A Web developer working in the J2EE environment is therefore responsible for the following tasks:
- Writing, compiling, and testing the source code
- Writing the JSP and HTML files
- Specifying the deployment descriptor
- Bundling the servlet.class, .jsp, .html and deployment
descriptor files into a Web application archive or WAR file
- Bundling the ejb.class and deployment descriptor file into a JAR file
- Assembling the EJB JAR and WAR files into a J2EE application enterprise archive resource or EAR file
|
|