This class contains data elements that represent the input and output parameters of an Oracle Tuxedo service. It provides a method to import the HTML field names and values from a javax.servlet.http.HttpServletRequest object.This class is derived from bea.jolt.pool.PoolManagerConfig and allows the caller to pass a Properties or Hashtable object to the static startup() method to create a session pool and the static getSessionPoolManager() method to get the session pool manager of bea.jolt.pool.servlet.ServletSessionPoolManager class.This class provides a session pool for use in a Java servlet. A session pool represents one or more connections (sessions) to an Oracle Tuxedo system. This class provides call methods that accept input parameters for an Oracle Tuxedo service as a javax.servlet.http.HttpServletRequest object.This class is a servlet-specific session pool manager. It manages a collection of one or more session pools of class ServletSessionPool. This class provides methods that are used to create both the ServletSessionPoolManager itself and the session pools that it contains. These methods are part of the administrative API for a session pool.Before writing and registering HTTP servlets, you must first import the packages that support Jolt servlet connectivity (jolt.jar, joltjse.jar, servlet.jar). HTTP servlets must extend javax.servlet.http.HttpServlet. After you write your HTTP servlets, you register them with a Web server that supports generic servlets. Your custom servlets are treated exactly like the standard HTTP servlets that provide the HTTP capabilities.A sample application named simpapp is included with Jolt. The simpapp application illustrates how the servlet uses Servlet Connectivity for Oracle Tuxedo. The following servlet tasks are illustrated by the SimpApp sample:This example demonstrates how a servlet can connect to Oracle Tuxedo and call upon one of its services; it should be invoked from the simpapp.html file. The servlet creates a session pool manager at initialization, which is used to obtain a session when the doPost() method is invoked. This session is used to connect to a service in Oracle Tuxedo with a name described by the posted “SVCNAME” argument. In this example the service is called "TOUPPER", which transposes the posted “STRING” argument text into uppercase, and returns the result to the client browser within some generated HTML.
1. Install the Jolt class library (jolt.jar) and Servlet Connectivity for Oracle Tuxedo class library (joltjse.jar) on the Web application server. Extract the class files if it is required by your Web application server.
2. Compile the SimpAppServlet.java. Make sure that you include the standard JDK 1.1.x classes.zip, JSDK 1.1 classes, Jolt class library, and Servlet Connectivity for Oracle Tuxedo class library in the classpath.
Note: The package name of the SimpAppServlet is examples.jolt.servlet.simpapp.
3.
4. Modify the simpapp.properties file. Change the “appaddrlist” and “failoverlist” with the proper Jolt server hosts and ports. Specify the proper Oracle Tuxedo authentication information if the SimpApp has security turned on. For example:
5.
6. To access the SimpApp initial page “simpapp.html,” type:The bankapp application illustrates how the servlet is written with PageCompiledServlet with Servlet Connectivity for Oracle Tuxedo. bankapp illustrates how to:
1. Install the Jolt class library (jolt.jar) and Servlet Connectivity for Oracle Tuxedo class library (joltjse.jar) to the Web application server. Extract the class files if it is required by your Web application server.
2. Copy all HTML, JHTML and bankapp.properties files to the public HTML directory of the Web application server (for example, $WEBLOGIC/myserver/public_html for WebLogic):
3. Modify the bankapp.properties file. Change the “appaddrlist” and “failoverlist” with the proper Jolt server hosts and ports. Specify the proper Oracle Tuxedo authentication information if the BankApp has security turned on. For example:
2. Copy all JHTML files to the public HTML directory (for example, $WEBLOGIC/myserver/public_html for WebLogic):