user manual

30 BES Developers Guide
Borland web container implementation
and search for the Partition managed object, partition-process sub-element
directory attribute:
<partition-process directory=
For more information about the Partition type Managed Object and its
elements and attributes, go to the BDOC Reference, Managed Object
elements and attributes, partition Managed Object type section.
Servlets and JavaServer Pages
A servlet is a Java program that extends the functionality of a web server,
generating dynamic content and interacting with web clients using a request-
response paradigm.
JavaServer Pages (JSP) are a further abstraction to the servlet model. JSPs
are an extensible web technology that uses template data, custom elements,
scripting languages, and server-side Java objects to return dynamic content to
a client. Typically the template data is HTML or XML elements, and in many
cases the client is a web browser.
Servlets and JSPs are server components that normally run within a web
server. Servlets are written as web server extensions separate from the HTML
page, while JSP embeds the Java code directly in the HTML. At runtime, the
JSP Java code is automatically converted into a servlet.
Servlets process web requests, pass them into the back-end enterprise
application systems, and dynamically render the results as HTML or XML
client interfaces. Servlets also manage the client session information, so that
users do not need to repeatedly input the same information.
Typical web application development process
In a typical development phase for a web application:
1 The web designer writes the JSP components, and the software developer
creates the servlets for handling presentation logic.
2 In conjunction, other software engineers write Java source code for servlets
and the .jsp and .html for processing client request to the server-side
components (EJB application tier, CORBA object, JDBC object).
3 The Java class files, .jsp files, and the .html files are bundled with a
deployment descriptor as a Web ARchive (WAR) file.
4 The WAR file (or web module) is deployed in the Borland web container as
a web application.
For more information about using the BES Deployment Descriptor Editor
(DDE) to create a Web ARchive (WAR) file, go to the Management Console
User’s Guide, Using the Deployment Descriptor Editor, Adding WAR
information section.