background image
<< Visual Age and WebSphere | Bank Account Sample Application >>
<< Visual Age and WebSphere | Bank Account Sample Application >>

WebLogic with Visual Cafe

Requirements for EJB Testing
37
For further information about working with Visual Cafe and WebLogic, see Classpath
Requirements for WebLogic 5.1
on page 32,
Classpath Requirements for WebLogic 6.1 on
page 33,
Adding WebLogic to the Global Classpath in Visual Café on page 37, Deploying the
Sample Application to a WebLogic Application Server
on page 45, Deploying the Sample
Application to WebLogic 6.1
on page 47, Configuring Visual Cafe to Run the Sample
Application
on page 49, Executing Test Scripts from Visual Cafe on page 69, and Starting
the EJB Session Recorder from Visual Cafe
on page 84.
Adding WebLogic to the Global Classpath in Visual Café
If you are working in a Visual Cafe/WebLogic environment, you must add WebLogic
to the classpath in Visual Cafe if it is not already present. This is required for running
the sample application, the EJB Session Recorder, and any generated test scripts in a
Visual Cafe/WebLogic environment.
To add WebLogic to the global classpath in Visual Cafe:
1
Launch Visual Café 4.x.
2
Click
Tools > Environment Options
.
3
Click the
Internal VM
tab.
You should see the classpath settings at the bottom.
4
Add the WebLogic classpath.
For WebLogic 5.1:
a
If you do not see <
WebLogic Home>\classes
in the classpath settings, click
New
.
b
Navigate to the <
WebLogic Home
>
\classes
folder.
c
Click
Open
to insert the directory into the classpath settings.
d
Click
New
.
e
Navigate to the <
WebLogic Home
>
\lib
folder.
f
Select the
weblogicaux.jar
file and click
Open
to insert the file into the classpath
settings.
For WebLogic 6.1:
a
If you do not see the
<BEA Home>
\
lib\weblogic.jar
file in the classpath settings,
click
New
.
b
Navigate to the
<BEA Home>
\
lib\weblogic.jar
file.
c
Click
Open
to insert the file into the classpath settings.