Sun Microsystems 5.1.3 manual Building and Deploying the Project, Running the Sample

Page 112

Chapter 7

Section 7.6

Implementing the VSAM eWay Sample Projects

Building and Deploying the prjVSAM_JCD Sample Project

5Make any necessary changes to the Create Domain dialog box and click Create. The new domain is added to the Domain Manager. Select the domain and click the Start an Existing Domain button. Once your domain is started, a green check mark indicates that the domain is running.

For more information about creating and managing domains see the eGate Integrator System Administration Guide.

7.6.11Building and Deploying the Project

The Build process compiles and validates the Project’s Java files and creates the Project EAR file.

Build the Project

1From the Deployment Editor toolbar, click the Build icon.

2If there are any validation errors, a Validation Errors pane will appear at the bottom of the Deployment Editor and displays information regarding the errors. Make any necessary corrections and click Build again.

3After the Build has succeeded you are ready to deploy your Project.

Deploy the Project

1From the Deployment Editor toolbar, click the Deploy icon. Click Yes when the Deploy prompt appears.

2A message appears when the project is successfully deployed. You can now test your sample.

7.6.12Running the Sample

Additional steps are required to run the deployed sample Project.

Steps required to run the sample Project:

1Rename one of the trigger files included in the sample Project from <filename>.in.~in to <filename>.in to run the corresponding operation.

The File eWay polls the directory every five seconds for the input file name (as defined in the Inbound File eWay Properties window). The JCD then transforms the data, and the File eWay sends the output to an Output file name (as defined in the outbound File eWay Properties window).

The Where Clause defined in the business rule recognizes the trigger as a placeholder for input, allowing a set condition, such as EMPID = 100, to determine the type of output data.

You can modify the following input files to view different output.

ŠTriggerTableSelect.in

ŠTriggerDelete.in

ŠTriggerUpdate.in

Having no content in these files causes the operation to read all records.

VSAM eWay Adapter User’s Guide

112

Sun Microsystems, Inc.

Image 112
Contents EWAY Adapter for Vsam USER’S Guide Part Number Version Contents Setting Properties of the Vsam eWay Transaction Support Levels Between Different VersionsCreating an Environment Configuring the eWays Delete OperationsActivity Input and Output Prepared Statement Batch OperationsCreating the Collaboration Definitions Java Create the Collaboration Business RulesAbout Vsam What’s in This ChapterAbout the Vsam eWay What’s New in This ReleaseEWay Operation New for VersionAbout This Document Vsam eWay JavadocRelated Documents ScopeIntended Audience Text ConventionsSun Microsystems, Inc. Web Site Documentation FeedbackInstalling the Vsam eWay Installing the Vsam eWayInstalling the Vsam eWay on an eGate supported system Installing Third-Party Products After InstallationExtracting the Sample Projects and Javadocs Copying JAR files to the eDesigner LibraryIcan 5.0 Project Migration Procedures Install Java CapsSteps to extract the Sample Projects include Export the ProjectInstalling Enterprise Manager eWay Plug-Ins Deploy the ProjectTo add plug-ins from the Enterprise Manager Viewing Alert CodesTo View the eWay Alert Codes Alert Codes for the Vsam eWay Alert Code\Description Description Details User ActionsAduncommitted Creating and Configuring a Vsam eWay Configuring the eWay Connectivity Map PropertiesTo configure the eWay properties Connectivity Map with ComponentsTransaction Support Levels Between Different Versions Outbound eWay PropertiesConfiguring the eWay Environment Properties To Configure the Environment PropertiesVsam eWay Environment Configuration EWay Connectivity Map PropertiesConnectivity Map Outbound CP eWay Properties Outbound eWay-JDBC Connector SettingsConnectivity Map Outbound non-Transactional eWay Properties Inbound Vsam eWay-Parameter Settings EWay Environment PropertiesInbound Vsam eWay Properties Outbound Vsam CP eWay PropertiesVsam CP eWay-JDBC Connector Settings Jdbc Connector SettingsIs Vsam Connection Pool Datasource Method-name-1#param #param-2#.........param##method-name-2#param #param-2#........paramConnection Retry Settings Vsam CP eWay-Connection Retry SettingsVsam non-Transactional eWay-JDBC Connector Settings Outbound Vsam non-Transactional eWay PropertiesIs Vsam non-Transactional Connection Pool DatasourceMethod-name-1#param Vsam non-Transactional eWay-Connection Retry Settings Vsam non-Transactional eWay-Connection Retry Settings About the Database OTD Wizard Creating a New Vsam OTDSelect Wizard Type Connect To DatabaseRequired Database Connection Fields include Select Database ObjectsSteps Required to Select Database Objects Include Select Tables/Views/Aliases Steps Required to Select Table and Views IncludeSelect Tables/Views/Aliases Database Wizard All Schemes Selected Tables/Views/Aliases window with a table selected Add Prepared Statement Table/View ColumnsSteps Required to Add Prepared Statements Include Prepared StatementPrepared SQL Statement Specify the OTD Name Steps Required to Specify the OTD NameReview Selections Steps Required to Review Your OTD SelectionsResulting OTD Database Wizard SummarySteps to Edit an Existing Vsam OTD Steps to Edit the OTD from the Enterprise Designer IncludeVsam eWay Adapter User’s Guide Sun Microsystems, Inc Overview Using TablesUser-defined OTD Using the select Method To call a method in the Collaboration Editor JavaUpdate Operations Select OperationsInsert Operations Delete OperationsUsing Prepared Statements Using ViewsTo use a prepared statement in a Collaboration Java Vsam eWay Database Operations Bpel Activity Input and OutputVsam Operations EInsight Operation Activity Input Activity OutputVsam eWay Database Operations JCD Query Select Operation To perform a query operation on a tableInsert Operation OtdVSAM1.getCICSEMP.insertRowUpdate Operation Delete OperationPrepared Statement Batch OperationsChapter Section Using Vsam Operations Implementing the Vsam eWay Sample Projects About the Vsam eWay Sample ProjectsOperations Used in the Vsam Sample Projects Sample input files includeSample output JCD files include Sample output Bpel files includeAssigning Operations in JCD About the eInsight Engine and eGate ComponentsAssigning Operations in Bpel Running the Sample Projects Running the SQL ScriptImporting a Sample Project Building and Deploying the prjVSAMBPEL Sample ProjectCreating the OTDs Creating a ProjectSteps required to create a Vsam Database OTD include Creating the Business Process Creating the Business Process FlowSteps required to create inbound and outbound DTD OTDs Steps to create a business process flow includeBusiness Process Activities Configuring the bpInsert Modeling ElementsBusiness Process Activity BpInsert Business Process Steps required to configure the bpInsert business processBpInsert Business Rule # BpInsert Business Rule # Configuring the bpUpdate Modeling Elements BpUpdate Business Process Steps required to configure the bpUpdate business processConfiguring the bpDelete Modeling Elements Steps required to configure the bpDelete business process BpDelete Business ProcessConfiguring the bpTableSelect Modeling Elements BpTableSelect Business ProcessBpTableSelect Business Rule # BpSelectTable Business Rule # Configuring the bpPsSelect Modeling Elements Steps required to configure the bpPsSelect business processBpPsSelect Business Rule # Case 1 Scope Business Rule # Activities within Case 2 Scope Populating the Connectivity Map Creating the Connectivity MapSteps required to create the Connectivity Map Binding the eWay Components To Select a Vsam External SystemTo Select a Vsam Business Process Steps required to bind eWay components togetherCreating an Environment Steps required to create an EnvironmentConfiguring the eWays Environment Editor envVSAMProjConfiguring the eWay Properties Steps required to configure the eWay propertiesFileClientIN eWay Property Settings FileClientOUT eWay Property SettingsFile eWay Environment Properties Configuring the Environment Explorer PropertiesSection Property Name Required Values Creating the Deployment Profile Configuring the Integration ServerSteps required to create the Deployment Profile Creating and Starting the Domain Steps required to create and start the domainBuilding and Deploying the Project Running the Sample ProjectBuild the Project Steps required to run the sample ProjectBuilding and Deploying the prjVSAMJCD Sample Project Steps required to create a Vsam Database OTD Creating a Connectivity Map Steps required to create a new Connectivity MapCreating the Collaboration Definitions Java Steps required to select a Vsam External SystemJcdDelete Collaboration JcdInsert CollaborationSteps required to create the jcdDelete Collaboration Steps required to create the jcdInsert CollaborationJcdPsSelect Collaboration JcdTableSelect CollaborationSteps required to create the jcdPsSelect Collaboration Steps required to create the jcdTableSelect CollaborationJcdUpdate Collaboration Steps required to create the jcdUpdate CollaborationCreate the Collaboration Business Rules Creating the jcdDelete Business RulesCreating the jcdInsert Business Rules Sample code from the jcdInsert IncludesCreating the jcdPsSelect Business Rules JcdPsSelect Sample code from the jcdPsSelect IncludesCreating the jcdTableSelect Business Rules JcdTableSelect Sample code from the jcdTableSelect IncludesCreating the jcdUpdate Business Rules JcdUpdate Binding the eWay Components106 107 108 109 110 111 Running the Sample 113 Index 115

5.1.3 specifications

Sun Microsystems 5.1.3 represents a significant version in the evolution of Sun's software products, particularly in the area of network operating systems and development tools. Released during a time when Sun was a leading enterprise in the field of computing, 5.1.3 brought a host of new features, enhancements, and technologies that catered to the demands of users looking for robust and reliable IT infrastructure.

One of the defining characteristics of Sun Microsystems 5.1.3 was its enhanced scalability. The operating system was designed to handle large amounts of data processing and support numerous simultaneous users. This feature made it particularly attractive for businesses operating in resource-intensive environments such as finance, telecommunications, and large-scale enterprise applications.

A significant focus for 5.1.3 was its improved networking capabilities. The release integrated advanced networking protocols, allowing for better interoperability between systems. This feature enabled seamless communication across diverse hardware platforms, thus enhancing productivity and collaboration among users.

In terms of software development, Sun Microsystems 5.1.3 included an updated toolset that made application development more accessible. Its support for various programming languages, including C, C++, and Java, facilitated a versatile development environment. The included Sun C/C++ Compiler was particularly noteworthy, providing developers with optimized performance and debugging features.

Security features were also a priority in 5.1.3, addressing growing concerns over data protection and system vulnerabilities. The system implemented advanced user authentication, role-based access controls, and encrypted communications, thereby bolstering the integrity of user data and enhancing overall system security.

Additionally, Sun Microsystems 5.1.3 incorporated reliable file system technologies like the Sun File System (UFS), which offered improved performance and data integrity. This file system was particularly effective for enterprises that required high availability and data protection due to its robust recovery options.

Overall, Sun Microsystems 5.1.3 showcased a blend of advanced technologies, user-oriented features, and robust performance characteristics that positioned it as a compelling choice for enterprises seeking reliable and efficient computing solutions. It illustrated Sun's continuous commitment to innovation, ensuring users were equipped with the cutting-edge tools necessary to thrive in an increasingly digital world.