background image
<< Importing the Required JAR Files | WebLogic Properties file >>
<< Importing the Required JAR Files | WebLogic Properties file >>

Deploying to a WebLogic Application Server

The Rational Bank Account Sample Application
45
s
<Rational Test Home>\rttssjava.jar
s
<RQA Home>\jh.jar
To import the required JAR files into VAJ:
1
Right-click the Rational Bank Account Sample project and click
Import
.
2
Make sure that the JAR file option is selected and click
Next
.
3
Under
What types of files do you want to import
, make sure that the
.class
option
and the
resource
option are checked.
4
Under
Options
, make sure that
Create new/scratch editions of versioned
projects/packages
is checked.
5
Click the
Browse
button and navigate to the installation directory for
QualityArchitect (
Rational\Rational Test\QualityArchitect
).
6
Select
rational_ct.jar
and click
Open
in the File Open dialog box.
7
Click
Finish
.
All of the class files from the JAR file are then imported into the VAJ repository.
8
Repeat these steps for
<RQA Home>\jh.jar
,
<Rational Test Home>\tsea\rttseajava.jar
,
and
<Rational Test Home>\rttssjava.jar
.
Deploying the Sample Application to a WebLogic Application Server
WebLogic provides two deployment modes:
s
A temporary, development mode in which you can stage or hot deploy EJBs for
testing purposes without shutting down the WebLogic server
s
A permanent, production mode in which you must load EJBs and configure the
server offline
This section describes how to permanently deploy the sample application to
WebLogic 5.1 and WebLogic 6.1 servers. For information about how to permanently
deploy stubs to a WebLogic application server, see Deploying Stubs to a WebLogic
Application Server
on page 59
. For information about hot deploying the sample
application, stubs, and other EJBs, see Deploying Stubs to a Running WebLogic Server
(Hot Deployment)
on page 61.
Deploying the Sample Application to WebLogic 5.1
To deploy the sample application to WebLogic 5.1:
1
Create a subdirectory within the
<WebLogic Home>\myserver
directory called
RatlBankAcct
.