RADE |
JAVA Interactive Dashboard |
Building and Launching a CAA V5 JDialog Use CaseHow to set up the environment, compile and execute a JDialog use case |
Technical Article |
AbstractThis article explains how to build and execute a JDialog use case. In this article, you will find the steps to retrieve a use case in IBM Rational Software Development Platform, build it in IBM Rational Software Development Platform and test it in a "Websphere test server" through IRAD or through a simple Internet Explorer. Then, this article explains how to deploy the JDialog use case in a Websphere Application Server for production.
|
Before starting, install the JID product provided on the RADE CD. Make sure that IBM Rational Software Development Platform has previously been installed on the machine because the RADE installation detects it and installs the JAVA Interactive Dashboard within the IBM Rational Software Development Platform environment. If you install IBM Rational Software Development Platform after JID, launch manually the Setup tool provided with RADE. Refer to [1] for more information on the Setup tool.
Once the JAVA Interactive Dashboard has been installed for IBM Rational
Software Development Platform, you can start IBM Rational Software
Development Platform. If the CAA
Project
menu is not available in your
JAVA Perspective, customize IBM Rational Software Development Platform
to make it available, as described in [2].
[Top]
File
menu, select New->Project
.
The New Project window opens.Web
node and select Dynamic Web Project
. Click
Next
. The New Dynamic Web Project window
opens.Browse
in the Project location field to change the location if different from the
default location. 2.4
.
Click Show Advanced
.
Websphere Application Server
.Finish
. The new web project is created. Open it as a CAAV5 Workspace:
Navigator View
and select Open
CAAV5 Workspace
from the contextual menu. The Open CAAV5
Workspace dialog box opens.Mkmk
.
The Workspace directory is already valuated.Tool Level
combo box. Click OK
when done.[Top]
CAA Project
menu,
select Copy Framework...
The Copy
Framework dialog box opens.Add
to add the origin directory of
the framework containing your use case (ex: CAA_install_dir\CAADoc)....
button to select it.Module
directories copied
and Copy Data
directories
and click OK
when done.[Top]
Navigator view
, and select
Run->Run on server
from the
contextual menu. The Server Selection window opens.CAA Project
menu, select Update/Generate Source
Folders...
, and check the module containing the use case
in the Select Java module to update Eclipse project source folders. Click
OK
when done.CAA Project
menu, select Get Prerequisites...
to define you build prerequisites.
Access prerequisites from their origin location
access
mode.Add
to add the CAA
installation directory in the Origin for prerequisites frameworks
field. Click OK
when done.The java source of your use case should be
automatically built. But you can also build it using the mkmk tool. To do
so, from the CAA Project
menu, select Mkmk... |
Update makefiles (-u)
.
Click OK
when done.
CAA Project
menu, select
Create /Update Runtime View...
Do not
modify the default options, and click OK
.[Top]
If the Websphere Test Server is running, stop it, republish it and restart.
There are two ways to test the use case. You can run it inside IRAD itself, or through a simple Internet explorer browser:
Go in the Server perspective and enter the following URL in the Web Browser:
http://localhost:9080/your_webproject_name/html/xmldlg_use_case_name
where xmldlg_use_case_name is the name of the XMLDlg file associated with your JDialog use case, without extension.
Example: http://localhost:9080/MyWebProject/html/SmartDictionary1
Once your use case is running correctly in a Websphere Test Server in IRAD, you can deploy it in a WAS for production.
Prerequisites for this step are:
All mandatory steps are described in the following documentation: 3dcom Installation guide / Installing Version 5 / Integrating Modular 3d com into IBM Websphere Application Server
In short, mandatory steps are:
http://machine_name:port_number/rootURI_for_the_Application/html/xmldlg_use_case_name
where xmldlg_use_case_name is the name of the XMLDlg file associated with your JDialog use case, without typing the extension.
[Top]
[1] | Customizing the RADE Tools |
[2] | Customizing IBM Rational Software Development Platform |
[Top] |
Version: 1 [May 2003] | Document created |
Version: 1 [May 2006] | Document updated |
[Top] |
Copyright © 2006, Dassault Systèmes. All rights reserved.