Download Sun Microsystems 5.1.3 Network Card User Manual

Transcript
Chapter 7
Implementing the VSAM eWay Sample Projects
Section 7.6
Building and Deploying the prjVSAM_JCD Sample Project
ƒ VSAM External Application
ƒ Service
Any eWay added to the Connectivity Map is associated with an External System. To
establish a connection to VSAM, first select VSAM as an External System to use in your
Connectivity Map.
Steps required to select a VSAM External System:
1 Click the External Application icon on the Connectivity Map toolbar.
2 Select the external systems necessary to create your Project (for this sample, VSAM
and File). Icons representing the selected external systems are added to the
Connectivity Map toolbar.
3 Rename the following components and then save changes to the Repository:
Š File1 to FileClientIN
Š File2 to FileClientOUT
Š VSAM1 to eaVSAMOUT
4 Rename each Connectivity Map Service to match the intended operation, as for
example:
Š jcdDelete
Š jcdInsert
Š jcdPsSelect
Š jcdTableSelect
Š jcdUpdate
7.6.4
Creating the Collaboration Definitions (Java)
The next step is to create Collaborations using the Collaboration Definition Wizard
(Java). Since the sample Project includes five database operations, you must create five
separate Collaboration Definitions (Java), or JCDs. Once you create the Collaboration
Definitions, you can write the Business Rules of the Collaborations using the
Collaboration Editor.
JCDs required for the prjVSAM_JCD sample include:
ƒ jcdDelete
ƒ jcdInsert
ƒ jcdPsSelect
ƒ jcdTableSelect
ƒ jcdUpdate
VSAM eWay Adapter User’s Guide
95
Sun Microsystems, Inc.