BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   Using BEA Jolt with BEA WebLogic Server   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


Preparing to Use the Servlet with JavaBean Example

To get the most out of this example, first read through the source code files to see what is happening. Start with DeploymentDescriptor.txt to find the general structure of the EJBean and which classes are used for the different objects and interfaces, and then look at Client.java to see how the application works.

The following sections provide details for using this example:

Set Up Your Environment

You need to add a Jolt connection pool that connects to the public Tuxedo Server at BEA, as described in "Step 3. Configure the Servlet in WebLogic Server," in Appendix B, Simple Servlet Example. When you're finished, the config.xml configuration file will contain the following sections:

<StartupClass
ClassName="bea.jolt.pool.servlet.weblogic.PoolManagerStartUp"
FailureIsFatal="false"
Name="MyStartup Class"
Targets="myserver"
/>
<JoltConnectionPool
ApplicationPassword="tuxedo"
MaximumPoolSize="5"
MinimumPoolSize="3"
Name="MyJolt Connection Pool"
PrimaryAddresses="//TUXSERVER:6309"
RecvTimeout="300"
SecurityContextEnabled="true"
Targets="myserver"
UserName="joltuser"
UserPassword="jolttest"
UserRole="clt"
/>|
<ShutdownClass
ClassName="bea.jolt.pool.servlet.weblogic.PoolManager
ShutDown."
/>

Build the Example

After configuring your WebLogic Server development environment, you need to build the example. BEA Jolt provides separate build scripts for Windows 2000 and UNIX, as follows:

The scripts build individual examples, such as this entry for Windows 2000:

$ build

To build under Microsoft's JDK for Java, use:

$ build -ms

The scripts will build the example and place the files in the following default WebLogic Server directories on a Windows 2000 system:

 

back to top previous page