27
SUN SEEBEYOND eWAY™ ADAPTER FOR SEAGULL SCREEN ACCESS USER’S GUIDE Release 5.1.3

SUN SEEBEYOND eWAY™ ADAPTER FOR SEAGULL … · eWay™ Adapter for Seagull Screen Access 2 Sun Microsystems, Inc. ... et ce sans limitation, ces droits de propriété intellectuels

  • Upload
    hakiet

  • View
    225

  • Download
    0

Embed Size (px)

Citation preview

SUN SEEBEYOND

eWAY™ ADAPTER FOR SEAGULL SCREEN ACCESS USER’S GUIDE

Release 5.1.3

eWay™ Adapter for Seagull Screen Access 2 Sun Microsystems, Inc.

Copyright © 2007 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Use is subject to license terms. This distribution may include materials developed by third parties. Sun, Sun Microsystems, the Sun logo, Java, Sun Java Composite Application Platform Suite, SeeBeyond, eGate, eInsight, eVision, eTL, eXchange, eView, eIndex, eBAM, eWay, and JMS are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon architecture developed by Sun Microsystems, Inc. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. This product is covered and controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

Copyright © 2007 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, Etats-Unis. Tous droits réservés. Sun Microsystems, Inc. détient les droits de propriété intellectuels relatifs à la technologie incorporée dans le produit qui est décrit dans ce document. En particulier, et ce sans limitation, ces droits de propriété intellectuels peuvent inclure un ou plus des brevets américains listés à l'adresse http://www.sun.com/patents et un ou les brevets supplémentaires ou les applications de brevet en attente aux Etats - Unis et dans les autres pays. L'utilisation est soumise aux termes de la Licence. Cette distribution peut comprendre des composants développés par des tierces parties. Sun, Sun Microsystems, le logo Sun, Java, Sun Java Composite Application Platform Suite, Sun, SeeBeyond, eGate, eInsight, eVision, eTL, eXchange, eView, eIndex, eBAM et eWay sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc. aux Etats-Unis et dans d'autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun Microsystems, Inc. UNIX est une marque déposée aux Etats-Unis et dans d'autres pays et licenciée exclusivement par X/Open Company, Ltd. Ce produit est couvert à la législation américaine en matière de contrôle des exportations et peut être soumis à la règlementation en vigueur dans d'autres pays dans le domaine des exportations et importations. Les utilisations, ou utilisateurs finaux, pour des armes nucléaires, des missiles, des armes biologiques et chimiques ou du nucléaire maritime, directement ou indirectement, sont strictement interdites. Les exportations ou réexportations vers les pays sous embargo américain, ou vers des entités figurant sur les listes d'exclusion d'exportation américaines, y compris, mais de manière non exhaustive, la liste de personnes qui font objet d'un ordre de ne pas participer, d'une façon directe ou indirecte, aux exportations des produits ou des services qui sont régis par la législation américaine en matière de contrôle des exportations et la liste de ressortissants spécifiquement désignés, sont rigoureusement interdites.

Part Number: 820-0974

Version 20070417092010

Contents

Contents

Chapter 1

Introducing the Seagull Screen Access eWay 5About Seagull Software’s Transidiom 5

About the Seagull Screen Access eWay 6

What’s New in This Release 6

What’s in This Document 7Scope 7Intended Audience 7Text Conventions 8Related Documents 8

Sun Microsystems, Inc. Web Site 8

Documentation Feedback 8

Chapter 2

Installing the eWay 9Installing the Seagull Screen Access eWay 9

Installing the Seagull Screen Access eWay on an eGate supported system 9Adding the eWay to an Existing Sun Java Composite Application Platform Suite Installation10After Installation 10

Extracting the Sample Projects and Javadocs 11

ICAN 5.0 Project Migration Procedures 11

Installing eWay Enterprise Manager plug-ins 13Viewing Alert Codes 13

Chapter 3

Setting the Seagull Screen Access eWay Properties 15JAR Files Required by the eWay 15

Configuration Overview 16

Configuring the eWay 16Transidiom Files Used by the eWay 16

eWay™ Adapter for Seagull Screen Access 3 Sun Microsystems, Inc.

Contents

Deploying the Files to the Logical Host 16Deploying the Files to the Sun Java™ System Application Server, Enterprise Edition 8.1 18Modifying the server.policy File 19

Chapter 4

Using the Seagull Screen Access eWay OTD Wizard 20OTD Wizard Overview 20

Creating an OTD 21

Chapter 5

Implementing the Seagull Screen Access eWay Sample Projects23Working with the Seagull Screen Access eWay Samples 23

Using the “Seagull Screen Access 3270” Sample 24

Using the “Seagull Screen Access 3270 BPEL” Sample 26

Using the “Seagull Screen Access 5250” Sample 26

Index 27

eWay™ Adapter for Seagull Screen Access 4 Sun Microsystems, Inc.

Chapter 1

Introducing the Seagull Screen Access eWay

Welcome to the eWay™ Adapter for Seagull Screen Access User’s Guide. This document includes information about installing, configuring, and using the Sun SeeBeyond eWay Adapter for Seagull Screen Access, referred to as the Seagull Screen Access throughout this guide.

What’s in This Chapter

“About Seagull Software’s Transidiom” on page 5

“About the Seagull Screen Access eWay” on page 5

“What’s New in This Release” on page 6

“What’s in This Document” on page 7

“Sun Microsystems, Inc. Web Site” on page 8

“Documentation Feedback” on page 8

1.1 About Seagull Software’s TransidiomTransidiom, a module of LegaSuite from Seagull Software, provides a software tool to integrate legacy systems into your service-oriented architecture. LegaSuite supports a full spectrum of legacy evolution, from emulation to GUI extension, integration, legacy Web services, and XML transformation.

Transidiom uses screen-based connectors to integrate with your legacy systems. Using Transidiom’s Connector Builder, your legacy application user navigates through the business function and relevant data entry fields just as they normally would. Throughout this process, Transidiom automatically maps a connector function containing application navigation and logic, and creates a screen-based connector for communicating with the host through terminals such as 3270, 5250, and VT100.

Once the connectors are mapped, developers use Transidiom to publish XML schemas that can be used by other applications to interact with the legacy systems.

eWay™ Adapter for Seagull Screen Access 5 Sun Microsystems, Inc.

Chapter 1 Section 1.2Introducing the Seagull Screen Access eWay About the Seagull Screen Access eWay

1.2 About the Seagull Screen Access eWayWhile many of today’s applications display input and output data through a graphical user interface (GUI), yesterday’s legacy applications use a character-based display to show this same information. The Seagull Screen Access eWay enables the Sun SeeBeyond eGate™ Integrator system to access data from character-based legacy systems—for example 3270 terminals running on z/OS, 5250 terminals running on AS/400, and VT100 terminals running on UNIX—using the LegaSuite Transidiom application from Seagull Software.

Figure 1 The Seagull Screen Access eWay

Key features of the Seagull Screen Access eWay

User login logic and screen navigation are captured in the Transidiom screen-based connectors. These connectors run as a JCA in the Integration Server.

The ability to generate an OTD from the XML files generated by Transidiom via the OTD Wizard. The XML files contain the metadata for the business logic generated by Transidiom.

The ability to pass input parameters to legacy systems and receive either normal output or error codes and messages.

The ability to call Seagull CCI from a Java Collaboration.

The ability to call Seagull CCI from a BPEL business process.

1.3 What’s New in This ReleaseThe Seagull Screen Access eWay supports the following new features:

What’s New in Version 5.1.3

There are no new features in this release.

What’s New in Version 5.1.2

There are no new features in this release.

eWay™ Adapter for Seagull Screen Access 6 Sun Microsystems, Inc.

Chapter 1 Section 1.4Introducing the Seagull Screen Access eWay What’s in This Document

What’s New in Version 5.1.1

Version control: An enhanced version control system allows you to effectively manage changes to the eWay components.

Multiple Drag-and-Drop Component Mapping from the Deployment Editor: The Deployment Editor now allows you to select multiple components from the Editor's component pane, and drop them into your Environment component.

Support for Runtime LDAP Configuration: Configuration properties now support LDAP key values.

Relaunchable OTD Support: An OTD can be rebuilt and saved (under the same name) then relaunched back to the same Java Collaboration or BPEL. This allows you to change the metadata in an OTD without having to completely recreate the business logic from scratch.

Connectivity Map Generator: Generates and links your Project's Connectivity Map components using a Collaboration or Business Process.

What’s New in Version 5.1

This product was not released in 5.1

1.4 What’s in This DocumentThis document includes the following chapters:

Chapter 1 “Introducing the Seagull Screen Access eWay”: Provides an overview description of the product as well as high-level information about this document.

Chapter 2 “Installing the eWay”: Describes the system requirements and provides instructions for installing the Seagull Screen Access eWay.

Chapter 3 “Setting the Seagull Screen Access eWay Properties”: Provides instructions for configuring the eWay to communicate with your legacy systems.

Chapter 5 “Implementing the Seagull Screen Access eWay Sample Projects”: Provides instructions for installing and running the sample Projects.

1.4.1 ScopeThis document describes the process of installing, configuring, and running the Seagull Screen Access eWay in the Java Composite Applicaton Platform Suite (Java CAPS).

This document does not cover the Java methods exposed by this eWay. For information on the Java methods, download and view the Seagull Screen Access eWay Javadoc files from the Java Composite Application Platform Suite Installer.

1.4.2 Intended AudienceThis guide is intended for experienced computer users who have the responsibility of helping to set up and maintain a fully functioning Java CAPS system. This person must

eWay™ Adapter for Seagull Screen Access 7 Sun Microsystems, Inc.

Chapter 1 Section 1.5Introducing the Seagull Screen Access eWay Sun Microsystems, Inc. Web Site

also understand any operating systems on which Java CAPS will be installed (Windows or UNIX) and must be thoroughly familiar with Windows-style GUI operations.

1.4.3 Text ConventionsThe following conventions are observed throughout this document.

1.4.4 Related DocumentsThe following Sun documents provide additional information about the Java Composite Application Platform Suite product:

Sun SeeBeyond eGate™ Integrator User’s Guide

Composite Application Platform Suite Installation Guide

1.5 Sun Microsystems, Inc. Web SiteThe Sun Microsystems web site is your best source for up-to-the-minute product news and technical support information. The site’s URL is:

http://www.sun.com

1.6 Documentation FeedbackWe appreciate your feedback. Please send any comments or suggestions regarding this document to:

[email protected]

Table 1 Text Conventions

Text Convention Used For Examples

Bold Names of buttons, files, icons, parameters, variables, methods, menus, and objects

Click OK.On the File menu, click Exit.Select the eGate.sar file.

Monospaced Command line arguments, code samples; variables are shown in bold italic

java -jar filename.jar

Blue bold Hypertext links within document

See Text Conventions on page 7

Blue underlined Hypertext links for Web addresses (URLs) or email addresses

http://www.sun.com

eWay™ Adapter for Seagull Screen Access 8 Sun Microsystems, Inc.

Chapter 2

Installing the eWay

This chapter describes how to install the Seagull Screen Access eWay on an eGate supported system.

What’s in This Chapter

“Installing the Seagull Screen Access eWay” on page 9

“ICAN 5.0 Project Migration Procedures” on page 11

“Installing eWay Enterprise Manager plug-ins” on page 13

2.1 Installing the Seagull Screen Access eWayThe Java Composite Application Platform Suite Installer, referred to throughout this guide as the Suite Installer, is a web-based application that is used to select and upload core products, composite applications, and add-on files (eWays) during the installation process. The following section describes how to install the components required for this eWay.

Refer to the readme for the latest information on:

Supported Operating Systems

System Requirements

External System Requirements

Note: When the Repository is running on a UNIX operating system, the eWays are loaded from the Suite Installer running on a Windows platform connected to the Repository server using Internet Explorer.

2.1.1 Installing the Seagull Screen Access eWay on an eGate supported system

Follow the directions for installing the Sun Java Composite Application Platform Suite (Java CAPS).

After you have installed eGate or eInsight, do the following:

1 From the Suite Installer, click the Administration tab, and then click the link to install additional products.

eWay™ Adapter for Seagull Screen Access 9 Sun Microsystems, Inc.

Chapter 2 Section 2.1Installing the eWay Installing the Seagull Screen Access eWay

2 Select the products for your Java Composite Application Platform Suite, and include the following:

FileeWay (the File eWay is used by most sample Projects)

SeagullScreenAccesseWay

To upload the Sybase eWay User’s Guide, Help file, Javadoc, Readme, and sample Projects, select the following:

SeagullScreenAccesseWayDocs

3 Once you have selected all of your products, click Next in the top-right or bottom-right corner of the Select Sun Java Composite Application Platform Suite Products to Install box.

4 From the Selecting Files to Install box, locate and select your first product’s SAR file. Once you have selected the SAR file, click Next. Your next selected product appears. Follow this procedure for each of your selected products. The Installation Status window appears and installation begins after the last SAR file has been selected.

5 Once your product’s installation is finished, continue installing the Java Composite Application Platform Suite as instructed in the Composite Application Platform Suite Installation Guide.

Adding the eWay to an Existing Sun Java Composite Application Platform Suite Installation

It is possible to add the eWay to an existing Sun Java Composite Application Platform Suite installation.

Steps required to add an eWay to an Existing Java CAPS installation include:

1 Complete steps 1 through 4 above.

2 Once your product’s installation is finished, open the Enterprise Designer and select Update Center from the Tools menu. The Update Center Wizard appears.

3 For Step 1 of the wizard, simply click Next.

4 For Step 2 of the wizard, click the Add All button to move all installable files to the Include in Install field, then click Next.

5 For Step 3 of the wizard, wait for the modules to download, then click Next.

6 The wizard’s Step 4 window displays the installed modules. Review the installed modules and click Finish.

7 When prompted, restart the IDE (Integrated Development Environment) to complete the installation.

After Installation

Once you install the eWay, it must then be incorporated into a Project before it can perform its intended functions. See the Sun SeeBeyond eGate™ Integrator User’s Guide for more information on incorporating the eWay into an eGate Project.

eWay™ Adapter for Seagull Screen Access 10 Sun Microsystems, Inc.

Chapter 2 Section 2.2Installing the eWay ICAN 5.0 Project Migration Procedures

2.1.2 Extracting the Sample Projects and JavadocsThe Seagull Screen Access eWay includes sample Projects and Javadocs. The sample Projects are designed to provide you with a basic understanding of how certain database operations are performed using the eWay, while Javadocs provide a list of classes and methods exposed in the eWay.

Steps to extract the Javadoc include:

1 Click the Documentation tab of the Suite Installer, then click the Add-ons tab.

2 Click the Adapter for Seagull Screen Access link. Documentation for the Seagull Screen Access eWay appears in the right pane.

3 Click the icon next to Javadoc and extract the ZIP file.

4 Open the index.html file to view the Javadoc.

Steps to extract the Sample Projects include:

1 Click the Documentation tab of the Suite Installer, then click the Add-ons tab.

2 Click the Adapter for Seagull Screen Access link. Documentation for the Seagull Screen Access eWay appears in the right pane.

3 Click the icon next to Sample Projects and extract the ZIP file. Note that the Seagull_Screen_Access_eWay_Sample.zip file contains two additional ZIP files for each sample Project.

Refer to Importing a Sample Project on page 64 for instructions on importing the sample Project into your repository via the Enterprise Designer.

2.2 ICAN 5.0 Project Migration ProceduresThis section describes how to transfer your current ICAN 5.0.x Projects to the Java Composite Application Platform Suite, version 5.1.3.

To migrate your ICAN 5.0.x Projects, do the following:

Export the Project

1 Before you export your Projects, save your current ICAN 5.0.x Projects to your Repository.

2 From the Project Explorer, right-click your Project and select Export from the shortcut menu. The Export Manager appears.

3 Select the Project that you want to export in the left pane of the Export Manager and move it to the Selected Projects field by clicking the Add to Select Items (arrow) button, or click All to include all of your Projects.

4 In the same manner, select the Environment that you want to export in the left pane of the Export Manager and move it to the Selected Environments field by clicking the Add to Select Items (arrow) button, or click All to include all of your Environments.

eWay™ Adapter for Seagull Screen Access 11 Sun Microsystems, Inc.

Chapter 2 Section 2.2Installing the eWay ICAN 5.0 Project Migration Procedures

5 Browse to select a destination for your Project ZIP file and enter a name for your Project in the ZIP file field.

6 Click Export to create the Project ZIP file in the selected destination.

Install Java CAPS 5.1.3

1 Install the Java CAPS 5.1.3, including all eWays, libraries, and other components used by your ICAN 5.0 Projects.

2 Start the Java CAPS 5.1.3 Enterprise Designer.

Import the Project

1 From the Java CAPS 5.1.3 Enterprise Designer’s Project Explorer tree, right-click the Repository and select Import Project from the shortcut menu. The Import Manager appears.

2 Browse to and select your exported Project file.

3 Click Import. A warning message, “Missing APIs from Target Repository,” may appear at this time. This occurs because various product APIs were installed on the ICAN 5.0 Repository when the Project was created, that are not installed on the Java CAPS 5.1.3 Repository. These APIs may or may not apply to your Projects. You can ignore this message if you have already installed all of the components that correspond to your Projects. Click Continue to resume the Project import.

4 Close the Import Manager after the Project is successfully imported.

Deploy the Project

1 A new Deployment Profile must be created for each of your imported Projects. When a Project is exported, the Project’s components are automatically “checked in” to Version Control to write-protected each component. These protected components appear in the Explorer tree with a red padlock in the bottom-left corner of each icon. Before you can deploy the imported Project, the Project’s components must first be “checked out” of Version Control from both the Project Explorer and the Environment Explorer. To “check out” all of the Project’s components, do the following:

A From the Project Explorer, right-click the Project and select Version Control > Check Out from the shortcut menu. The Version Control - Check Out dialog box appears.

B Select Recurse Project to specify all components, and click OK.

C Select the Environment Explorer tab, and from the Environment Explorer, right-click the Project’s Environment and select Version Control > Check Out from the shortcut menu.

D Select Recurse Environment to specify all components, and click OK.

2 If your imported Project includes File eWays, these must be reconfigured in your Environment prior to deploying the Project.

To reconfigure your File eWays, do the following:

A From the Environment Explorer tree, right-click the File External System, and select Properties from the shortcut menu. The Properties Editor appears.

eWay™ Adapter for Seagull Screen Access 12 Sun Microsystems, Inc.

Chapter 2 Section 2.3Installing the eWay Installing eWay Enterprise Manager plug-ins

B Set the inbound and outbound directory values, and click OK. The File External System can now accommodate both inbound and outbound eWays.

3 Deploy your Projects.

Note: Only projects developed on ICAN 5.0.2 and above can be imported and migrated successfully into the Java Composite Application Platform Suite.

2.3 Installing eWay Enterprise Manager plug-insThe Sun SeeBeyond Enterprise Manager is a Web-based interface that allows you to monitor and manage your Java Composite Application Platform Suite applications. The Enterprise Manager requires an eWay specific “plug-in” for each different eWay you install. These plug-ins enable the Enterprise Manager to target specific alert codes for each eWay type, as well as to start and stop the inbound eWays.

The Composite Application Platform Suite Installation Guide describes how to install Enterprise Manager. The Sun SeeBeyond eGate Integrator System Administration Guide describes how to monitor servers, Services, logs, and alerts using the Enterprise Manager and the command-line client.

The eWay Enterprise Manager plug-ins are available from the List of Components to Download under the Suite Installer’s DOWNLOADS tab. The plug-in required for LDAP is listed as the Seagull Screen Access eWay Enterprise Manager Plug-in.

The following steps are required to install eWay plug-ins into the Enterprise Manager:

1 From the Enterprise Manager’s Explorer toolbar, click the Configuration icon.

2 Click the Web Applications Manager tab, go to the Auto-Install from Repository sub-tab, and connect to your Repository.

3 Select the application plug-ins you require, and click Install. The application plug-ins are installed and deployed.

Alternately, you can install eWay plug-ins using the following steps:

1 From the Suite Installer’s Download tab, select the Plug-Ins you require and save them to a temporary directory.

2 From the Enterprise Manager’s Explorer toolbar, click the Configuration icon.

3 Click the Web Applications Manager tab and go to the Manage Applications sub-tab.

4 Browse for and select the .war file for the application plug-in that you downloaded, and click Deploy. The plug-in is installed and deployed.

Viewing Alert Codes

You can view alerts using the Enterprise Manager. An alert is triggered when a specified condition occurs in a Project component. The purpose of the alert is to warn the administrator or user that a condition has occurred.

eWay™ Adapter for Seagull Screen Access 13 Sun Microsystems, Inc.

Chapter 2 Section 2.3Installing the eWay Installing eWay Enterprise Manager plug-ins

To View the eWay Alert Codes

1 Add the eWay Enterprise Manager plug-in for this eWay.

2 From the Enterprise Manager’s Explorer toolbar, click the Configuration icon.

3 Click the Web Applications Manager tab and go to the Manage Alert Codes tab. Your installed eWay alert codes display under the Results section.

For information on Managing and Monitoring alert codes and logs, as well as how to view the alert generated by the project component during runtime, see the Sun SeeBeyond eGate™ Integrator System Administration Guide.

Table 2 Alert Codes for the Seagull Screen Access eWay

Note: An alert code is a warning that an error has occurred. It is not a diagnostic. The user actions noted above are just some possible corrective measures you may take. Refer to the log files for more information. For information on Managing and Monitoring alert codes and logs, see the Sun SeeBeyond eGate Integrator System Administration Guide.

Alert Code\Description Description Details User Actions

SEAGULLEWAY-CONNECT-FAILED000001=Failed to connect to seagull server. Reason: The connection could not be allocated: [{0}]

This Alert is generated during a failed connection. It means the eWay is unable to connect to the Seagull gateway.

Confirm that the Transaction gateway is running.Confirm that the hostname and port are properly configured in the ServerControlledXXXXConnector.cfg

SEAGULLEWAY-EXECUTE-FAILED000001=Seagull execution error. Reason:[{0}]

This Alert is generated when performing operations.

Review the detailed description in the Reason.

eWay™ Adapter for Seagull Screen Access 14 Sun Microsystems, Inc.

Chapter 3

Setting the Seagull Screen Access eWay Properties

This chapter describes how to set the Seagull Screen Access eWay properties.

What’s in This Chapter

“JAR Files Required by the eWay” on page 15

“Configuration Overview” on page 15

“Configuring the eWay” on page 16

3.1 JAR Files Required by the eWayYou must copy a number of .jar files to eWay adapter in the Enterprise Designer. The following .jar files are found in your Seagull installation:

ais-3270.jar

ais-5250.jar

ais-cics.jar

ais-core.jar

ais-ims.jar

ais-testbackend.jar

gwhsc.jar

ais-ra.jar

Copy these .jar files to the following location:

<edesigner>/usrdir/modules/ext/seagulladapter

Note: There is no need to copy these files to logicalhost for runtime since they are packaged with the .ear file.

eWay™ Adapter for Seagull Screen Access 15 Sun Microsystems, Inc.

Chapter 3 Section 3.2Setting the Seagull Screen Access eWay Properties Configuration Overview

3.2 Configuration OverviewIf you have worked with other eWays in Java CAPS, you will quickly find that the configuration of the Seagull Screen Access eWay is not like other eWays. This eWay does not have any properties to configure in the Connectivity Map or the Environment. This configuration information for this eWay is contained in the configuration files that are generated by Transidiom’s Connector Builder wizard.

3.3 Configuring the eWayTo configure the Seagull Screen Access eWay, you must use the Transidiom Connector Builder wizard to create the configuration files used to manage the connection with your legacy system. Then you must deploy these files to your Logical Host so they can be used by the eWay at run time.

3.3.1 Transidiom Files Used by the eWayThe Seagull Screen Access eWay uses the following files generated by the Transidiom Connector Builder wizard:

3.3.2 Deploying the Files to the Logical HostEach of the files listed in the previous table must be copied to the appropriate directories in your Logical Host. In addition, you will also have to manually create some of the directories required for the configuration files.

Note: The following steps show how to deploy the Transidiom screen-based connector files to the Logical Host. These steps may vary slightly if your Logical Host is on a UNIX system.

Table 3 Screen-based connector files

File Name Notes

ServerControlledXXXXConnector.cfg Depends on which gateway is being used. For example, ServerControlled3270Connector.cfg is used to connect to a 3270 system.

.sfmd files These files are unique for each screen-based connector generated by the Transidiom wizard. These files contain the business logic to navigate through the fields in the legacy system.

core.cfgmanagement.cfgthread-pool.cfgServerInstallationSettings.cfg

These files are exist for every screen-based connector; their names are constant.

eWay™ Adapter for Seagull Screen Access 16 Sun Microsystems, Inc.

Chapter 3 Section 3.3Setting the Seagull Screen Access eWay Properties Configuring the eWay

To deploy the files to the Logical Host:

1 In Windows explorer, navigate to the config directory under the Logical Host; for example:

C:\JavaCAPS51\logicalhost\is\domains\domain1\config

This directory contains the files used by the Integration Server at run time.

Figure 2 config Directory

2 In the config directory, create the following new directories:

System

config

3 In the newly created config directory, create the following new directories:

connectors

core

functions

4 Copy the ServerInstallationSettings.cfg file into the System directory under:

\logicalhost\is\domains\domain1\config\System

5 Copy the ServerControlledXXXXConnector.cfg file into the connectors directory under:

\logicalhost\is\domains\domain1\config\config\connectors

6 Copy the core.cfg, management.cfg, and thread-pool.cfg files into the core directory under:

eWay™ Adapter for Seagull Screen Access 17 Sun Microsystems, Inc.

Chapter 3 Section 3.3Setting the Seagull Screen Access eWay Properties Configuring the eWay

\logicalhost\is\domains\domain1\config\config\core

7 Copy the *.sfmd file into the functions directory under:

\logicalhost\is\domains\domain1\config\config\functions

Figure 3 ServerInstallationSettings.cfg

3.3.3 Deploying the Files to the Sun Java™ System Application Server, Enterprise Edition 8.1

Copy each of the files listed in Table 3 to the appropriate directories in your Sun Java System Applicaton Server. You will also have to manually create some of the directories required for the configuration files.

To deploy the files to the Sun Java System Applicaton Server:

1 In Windows explorer, navigate to the config directory under the Sun Java System Applicaton Server; for example:

C:\Sun\AppServer\domains\domain1\config

This directory contains the files used by the Integration Server at run time.

2 In the config directory, create the following new directories:

System

config

3 In the newly created config directory, create the following new directories:

eWay™ Adapter for Seagull Screen Access 18 Sun Microsystems, Inc.

Chapter 3 Section 3.3Setting the Seagull Screen Access eWay Properties Configuring the eWay

connectors

core

functions

4 Copy the ServerInstallationSettings.cfg file into the System directory under:

\Sun\AppServer\domains\domain1\config\System

5 Copy the ServerControlledXXXXConnector.cfg file into the connectors directory under:

\Sun\AppServer\domains\domain1\config\config\connectors

6 Copy the core.cfg, management.cfg, and thread-pool.cfg files into the core directory under:

\Sun\AppServer\domains\domain1\config\config\core

7 Copy the *.sfmd file into the functions directory under:

\Sun\AppServer\domains\domain1\config\config\functions

3.3.4 Modifying the server.policy FileUse of Seagull software’s Transidion software requires updating the server.policy file. The server.policy file is a standard J2SE policy file used by the Sun ONE Application Server instance.

To modify the file:

1 Open the server.policy file, located at:

\JavaCAPS511\logicalhost\is\domains\domain1\config

or

\Sun\AppServer\domains\domain1\config

2 Add the following code and then save the file:

// permissions to set/get Properties for Seagull

grant {

permission java.util.PropertyPermission “*”, “read,write”;

};

eWay™ Adapter for Seagull Screen Access 19 Sun Microsystems, Inc.

Chapter 4

Using the Seagull Screen Access eWay OTD Wizard

This chapter describes how to use the Seagull Screen Access eWay Wizard to build OTDs.

What’s in This Chapter

“OTD Wizard Overview” on page 20

“Creating an OTD” on page 21

4.1 OTD Wizard OverviewThe Seagull Screen Access eWay OTD Wizard creates Object Type Definitions (OTDs) based on the .xsd and .jar files output by the Transidiom connection builder. The result is an OTD that is tailored to the business rules required by your legacy system.

Files required by the OTD Wizard

For each activity in the business rule, the Transidiom connection builder creates a pair of XML Schema Definition (.xsd) files: a request and a response. The request .xsd file is used in the OTD wizard as the input message. The reply .xsd file is used as the output message. The wizard also uses the .jar file(s) generated by the Transidiom connection builder.

Figure 4 Seagull Screen Access eWay OTD Wizard

eWay™ Adapter for Seagull Screen Access 20 Sun Microsystems, Inc.

Chapter 4 Section 4.2Using the Seagull Screen Access eWay OTD Wizard Creating an OTD

4.2 Creating an OTDUse the Seagull Screen Access eWay OTD Wizard to create the Object Type Definition files you will use in your Java CAPS Project. These files contain the data structure corresponding to your Transidiom connector business logic and ultimately to your legacy system.

To create an OTD using the Seagull Screen Access eWay OTD Wizard

1 In the Enterprise Designer Project Explorer, right-click your Project, click New and then click Object Type Definition.

The Object Type Definition Wizard appears.

Figure 5 Select Wizard Type

2 Click Seagull Screen Access Wizard, and then click Next.

3 Navigate to the location where your .xsd files are stored, select the appropriate Request .xsd file, and then click Next.

The Specify Output Message step appears.

4 Similarly select the appropriate Response .xsd file, and then click Next.

The Select Function Jar Files step appears.

5 Click Add to add the first .jar file.

6 Navigate to the location where your .jar files are stored, select the appropriate .jar file, and then click Open.

7 Click Next to continue to the next step in the wizard.

8 Type the Name for the OTD and then click Next.

eWay™ Adapter for Seagull Screen Access 21 Sun Microsystems, Inc.

Chapter 4 Section 4.2Using the Seagull Screen Access eWay OTD Wizard Creating an OTD

The Review Selections step appears.

Figure 6 Review selections

9 Review your selections for the OTD and click Finish to generate the OTD.

The new OTD appears in the OTD Editor. Take this opportunity to use the OTD Tester to test the new OTD against your sample XML input data. See the Sun SeeBeyond eGate Integrator User’s Guide for information on using the OTD Tester.

eWay™ Adapter for Seagull Screen Access 22 Sun Microsystems, Inc.

Chapter 5

Implementing the Seagull Screen Access eWay Sample Projects

This chapter provides an introduction to the Seagull Screen Access components, and information on how these components are created and implemented in a Java Composite Application Platform Suite Project.

It is assumed that the reader understands the basics of creating a Project using the Enterprise Designer. For more information on creating an Java CAPS Project, see the Sun SeeBeyond eGate™ Tutorial and the Sun SeeBeyond eGate™ Integrator User’s Guide.

What’s in This Chapter

“Working with the Seagull Screen Access eWay Samples” on page 23

“Using the “Seagull Screen Access 3270” Sample” on page 24

“Using the “Seagull Screen Access 3270 BPEL” Sample” on page 26

“Using the “Seagull Screen Access 5250” Sample” on page 26

5.1 Working with the Seagull Screen Access eWay SamplesThe Seagull Screen Access eWay includes two samples. These samples demonstrate the request/response nature of the Seagull Screen Access eWay—sending requests to the legacy systems and receiving return data or error messages in response.

These samples are provided for demonstration purposes. Because of the unique nature of your Transidiom configuration and your legacy systems, you will not be able to run these samples as shown.

Both of the sample scenarios illustrate the process of preparing a message and using the Seagull Screen Access eWay execute method to invoke the request/response process—sending the request to the legacy system and waiting for the response message or error.

The first sample demonstrates the use of a 3270 terminal to exchange data with a z/OS system; the second sample uses a 5250 terminal to communicate with an AS/400 system.

eWay™ Adapter for Seagull Screen Access 23 Sun Microsystems, Inc.

Chapter 5 Section 5.2Implementing the Seagull Screen Access eWay Sample Projects Using the “Seagull Screen Access 3270” Sample

5.2 Using the “Seagull Screen Access 3270” SampleThe Seagull Screen Access 3270 sample demonstrates the process of preparing a simple message and using the execute method to invoke the request/response process.

Figure 7 The Seagull 3270 Sample

The sample uses a File eWay as a trigger. Then the jcolSeagullScreenAccess_3270 Java Collaboration prepares the outbound message. The execute method invokes the request/response process by sending the request to an external CICS application. The Collaboration then tests the response. If the status of the response shows that the transaction was successful and that the response contains output data, then the results are compiled into a response message. These results are then written to a file by the outbound File eWay.

To import the Seagull Screen Access 3270 Sample

1 From the Documentation page of the Java Composite Application Platform Suite Installer, click the link for the Sun SeeBeyond eWay™ Adapter for Seagull Screen Access.

The Seagull Screen Access eWay documentation page appears.

2 Click the Sample Projects icon.

3 When you are prompted to open or save the file, click Open.

The sample .zip file opens in WinZip.

4 Use WinZip to extract the Seagull_Screen_Access_eWay_Sample.zip files to a location on your local file system, such as C:\JavaCAPS511_Samples\Seagull. Make a note of where you extracted the files.

To import the sample in the Enterprise Designer

1 In the Enterprise Designer, right-click your Repository and click Import.

2 Click Yes to save any changes to your Repository.

The Import Manager appears.

3 Click Browse and navigate to the location where you downloaded the sample files in step 4 of the previous procedure. Select the SeagullScreenAccess_3270_Sample.zip and click Open.

eWay™ Adapter for Seagull Screen Access 24 Sun Microsystems, Inc.

Chapter 5 Section 5.2Implementing the Seagull Screen Access eWay Sample Projects Using the “Seagull Screen Access 3270” Sample

Figure 8 Import Manager

4 In the Import Manager, click Import.

5 If you do not have eInsight installed, a warning will appear. This warning is not serious for this sample. Click Continue.

Figure 9 Missing API Warning

6 An import status message appears when the import completes successfully. Click OK to continue.

7 Click Close to close the Import Manager and refresh the repository.

eWay™ Adapter for Seagull Screen Access 25 Sun Microsystems, Inc.

Chapter 5 Section 5.3Implementing the Seagull Screen Access eWay Sample Projects Using the “Seagull Screen Access 3270 BPEL” Sample

8 The SeagullScreenAccess_3270_Sample.zip Project appears in the Enterprise Explorer pane of the Enterprise Designer.

After importing the sample

After importing the 3270 sample, you should open the Java Collaboration (jcdSeagullScreenAccess_3270) and view the business rules to see how the sample Collaboration sends the request to the legacy CICS system and how it processes the response.

5.3 Using the “Seagull Screen Access 3270 BPEL” SampleThe 3270 BPEL sample is very similar 3270 sample, except that it uses an eInsight Business Process rather than a Java Collaboration. You can import this sample the same way you imported the 3270 sample. After importing the sample, open the Business Process to view the logic.

Note: To import the 3270 BPEL sample, you must have eInsight installed in your Java CAPS Repository.

5.4 Using the “Seagull Screen Access 5250” SampleThe 5250 sample is very similar to the other samples. You can import this sample the same way you imported the previous samples. After importing the sample, open the Java Collaboration (Collab_NavigateWhy) to view the business rules for this Collaboration. Notice how the Collaboration uses the execute method to send the request to the legacy system and how it processes the response.

Note: For more information on the execute() method, download and view the Javadoc for the Seagull Screen Access eWay from the Documentation page of the Enterprise Manager.

eWay™ Adapter for Seagull Screen Access 26 Sun Microsystems, Inc.

Index

eWay™ Adapter for Seagull Screen Access 27 Sun Microsystems, Inc.

Index

Cconfiguration 16–19Connectivity Map Generator 7conventions, text 8core.cfg 16creating OTDs 21

Ddocument

intended audience 7scope 7

EeGate Integrator User’s Guide 22execute method 23, 24, 26

Iinstallation 9–14Installing

migration procedures 11Repository on UNIX 9sample Projects and Javadocs 11Sybase 9

intended audience 7

JJavadoc 26Javadocs, installing 11

LLDAP Configuration 7

Mmanagement.cfg 16migration procedures 11Multiple Drag-and-Drop 7

Oobject type definitions 20–22OTDs

creating 21overview 20

Rrelated documents

eGate Integrator User’s Guide 22Relaunchable OTD Support 7

Ssample projects 23–26sample projects, installing 11scope 7Seagull Screen Access eWay, about 6Seagull Transidiom, about 5ServerControlled3270Connector.cfg 16ServerInstallationSettings.cfg 16sfmd files 16

Ttext conventions 8thread-pool.cfg 16Transidiom, about 5

VVersion control 7