Previous Contents Index DocHome Next |
iPlanet Application Server Enterprise Connector for CICS Administrator's Guide |
Chapter 1 Installing the Enterprise Connector
The iPlanet Application Server Enterprise Connector for CICS enables you to build interactive web-based applications that accesses data stored in a CICS database. These web-based applications may be for electronic commerce, or for any management, financial, distribution, and manufacturing of a supply chain within an enterprise system. Specifically, iPlanet Application Server Enterprise Connector for CICS enables you to manipulate data within a CICS transaction from a servlet or EJB controlled by the iPlanet Application Server.This chapter describes concepts the administrator should be familiar with when setting up iPlanet Application Server Enterprise Connector for CICS or using the API in servlets or EJBs, and contains the following:
Overview
The Enterprise connectors fit into a three tier application model setup that supports the iPlanet Application ServeriPlanet Application Server 6.0 application web server setup.
Figure 1-1    Application Model
The three tier application model is composed of the following:
Presentation Tier
The presentation tier is where information is accessed by the user, usually a web browser. The user accesses iPlanet Application Server from his browser using HTML via HTTP and HTTPS (1).
Application Server Tier
The application server tier (2) houses the intelligence for the web server, applications, and communications to databases such as Oracle, DB2. Enterprise Java Beans (EJB) and servlets are supported by the iPlanet Application Server. In addition, iAB and iEB Tools provide ways to create EJB's and servlets, which are accessed by the UIF (Unified Integration Framework), as seen in the Data Access Tier.
Data Access Tier
The data access tier consists of the UIF which provides business logic needed to enable uniform access to different backend systems (3). The function of the UIF is to act as an interpreter to ease the transfer of information. The UIF interfaces with EJBs and servlets on one side, and product-specific Enterprise connectors on the other side. This tier also works closely with the Mining Tool, which is provided by the iPlanet Application Server Enterprise connectors and is used to convert metadata to XML, and populate the UIF Repository.The UIF is composed of two parts:
API Framework
The API framework is a collection of APIs that enables the client to talk to the backend systems. Information exchange occurs at this stage. iPlanet Application Server Enterprise Connector for CICS communicates with the backend system via an in-process, multi-threaded method.
UIF Repository
The UIF Repository stores data in XML format. The UIF is actually a consistent way to access backend data. It consists of a set of ten API calls that act as a means to communicate with the backsystem.An EJB calls for various commands/information from the backend system. This call is routed through the UIF, which serves as a translator between the backend system and the EJB. A dialog is established, an exchange of information occurs, and the dialog is concluded. See Figure 1-1 Application Model.
The Mining Tool uses a common cross-platform format, XML, to populate the repository by taking backend information such as COBOL COPYBOOKS, and converting it to XML. The XML is then stored in the UIF Repository in a specific structure that can be recalled when necessary.
Figure 1-2    Mining Tool
Enterprise Connector for CICS Architecture
Unified Integration Framework (UIF), a common Application Programming Interface (API) used to access data. For example, programmers use the UIF API to invoke different backends with one set of calls.
The following describesthe components in a typical iPlanet Application Server Enterprise Connector for CICS system:A repository that contains data that drives iPlanet Application Server Enterprise Connector for CICS. The repository is associated with the UIF to hold parameters and other information about the CICS system; for example, the kind of connection, the data that can be accessed, and the access methods.
An adapter that implements the CICS-specific data access services. The adapter provides the translation and packaging of data between the UIF and the CICS system.
Technical Overview
In this section, we will discuss the following topics:
Prerequisites
To properly run the iPlanet Application Server Enterprise Connector for CICS adapter, the following requirements must be met:
You must install iPlanet Application Server Enterprise Connector for CICS and UIF (see Installing the Enterprise Connector for CICS, Chapter 1).
Development
This is where developing the CICS servlet application is accomplished.
From the Management Console, from the Data Mining option, mine one or more of the COBOL programs defined in the backend.
Use the CICS mining tool found in the Management Console.
Write a servlet application using recently mined methods. Write an application or call the function object yourself using direct UIF API (see iPlanet Application Server Enterprise Connector for CICS Developer's Guide, Chapter 3 Using the UIF API Directory).
Deployment
This section describes how to arrange the application.To properly deploy the application, you need to:
Register the application. (To register a servlet in iPlanet Application Server 6.0 you need to create two XML files. Name the XML thoughtfully, as the name of the XML file is used as a lookup to run the servlet. For example, if you name the XML "test.XML", then you also need to create a file named "ias-test.XML". Access the servlet from an HTML page as follows: /NASApp/<xmlfilename>/<servletname>).
Obtain and decompress XML files to a directory.
Run Time
During the run time flow, the following occurs in the following:
The servlet is executed by HTML via a URL or a JSP.
The servlet Java code starts a CICS function object in the iPlanet Application ServeriPlanet Application Server through the UIF API.
The CICS adapter retains all the input definitions from the repository.
The CICS adapter executes a request against the CICS backend, sending the received input through the HTML. When a reply is received from the CICS backend, the CICS adapter returns the reply to the UIF, which then returns all the output values to the servlet Java code. This can then be sent back via HTML or JSP to the user.
Installing the Enterprise Connector for CICS
The iPlanet Application Server Enterprise Connector for CICS iPlanet Application Serveradministrator is responsible for the following:
Installation of the iPlanet Application Server iPlanet Application Server
The iPlanet Application Server must be installed first. For more information, please see the iPlanet Application Server, Version 6.0, Installation Guide.Installation of the iPlanet Application Server Enterprise Connector for CICS adapter
Installing on Windows NT
This section describes installing and uninstalling iPlanet Application Server 6.0 Enterprise Connector for CICS on Windows NT.iPlanet Application Server Enterprise Connector for CICS supports IBM CICS running on OS/390. MVS 5.22 and CICS 3.2 and above with current APARS.
iPlanet Application Server Enterprise Connector for CICS includes installation and configuration for both TCP/IP and SNA (APPC) protocols.
Installation Prerequisites
The iPlanet Application Server 6.0 Enterprise Connector for CICS installation requires that the following be resident on your system: an appropriate web server, such as iPlanet Web Server (iWS), iPlanet Application Server iPlanet Application Server6.0, and the Unified Integration Framework (UIF) module.Before beginning the installation:
Check that an appropriate web server, iWS 4.1 or later, has been installed.
Check that iPlanet Application Server 6.0 is installed on your system.
- If your system does not have an installed web server, install one before beginning the iPlanet Application Server 6.0 installation. The disk size requirements for the web server are in addition to the requirements listed in Table 1-1.
Check that UIF 6.0 is installed on your system.
- iPlanet Application Server and UIF 6.0 must be installed on your system before you start the iPlanet Application Server Enterprise Connector for CICS 6.0 installation. See the iPlanet Application Server Installation Guide for instructions on installing iPlanet Application Server 6.0.
- UIF 6.0 must be installed on your system before you start the iPlanet Application Server for CICS 6.0 installation. See the iPlanet Application Server Installation Guide for instructions on installing iPlanet Application Server 6.0.
Table 1-1 Minimum System Requirements
100 MB free for minimum installation; 150 MB is recommended.
Installation Procedure
First, unzip the iPlanet Application Server for CICS files.
Double-click on the setup.exe file.
Read the Welcome message and then click Next.
Read the License Agreement; click Yes if you agree,
Choose your installation directory, then click Next.
Select the iAS CICS Adapter 6.0 check box and then press the Next button.
- If you are only installing iPlanet Application Server for CICS, you must install iPlanet Application Server for CICS in the same directory as you installed iPlanet Application Server.
.
Choose the protocol you prefer in the Select TCP/IP or SNA protocol window as shown below, and then click Next.
Note The following procedure starting in Step 7 is used to connect to the backend using TCP/IP.
Type in your CICS Backend system definition.
- Type in the requested information in the text boxes and then click Next to continue with Step 9 that completes the installation.
Note The following procedure starting in Step 8 is used to connect to the backend using SNA.
Select the SNA radio button to display the SNA protocol dialog box.
Review the configuration summary. If it is correct, press the Install button.
Note If you have previously installed iPlanet Application Server 6.0 on your computer the following message will be displayed. Click No To All to complete the installation.
You must restart your computer after you complete the installation.
SNA/APPC Configuration
A sample configuration file for IBM Personal Communications (PCOMM) product for NT is enlisted, and supplied in: <instdir>\nas\ias610samp.acgYou can load this file into your PCOMM SNA Node Configuration as a basis for changes and adaptations to your SNA/APPC setup.
Uninstalling on Windows NT
This procedure is used to uninstall iPlanet Application Server Enterprise connector for CICS.
Uninstalling the Enterprise Connector for CICS
Choose Uninstaller from the NT start menu's programs - Netscape Application Server 6.0 entry.
Deselect all components for iAS except iAS for CICS, then click OK.
Deselecting the Enterprise Connector for CICS
Deselect items in the following order:
Deselect Netscape Server Family Core components.
Deselect Administration Services and Netscape Directory Suite.
Deselecting iPlanet Application Server
Click Change and deselect options in the following order:
Deselect Application Server 6.0 core binaries.
Deselect Web Connector Plug-in component
Deselect Administrator's component.
Deselect Deployment Manager component.
Deselect core Server component.
If you do not follow the above mentioned order of deselections, alert messages will be displayed and you may not be able to deselect the desired option.
Installing on Solaris
The following presents the installation steps for iPlanet Application Server Enterprise Connector for CICS on Solaris.To ensure that you have everything necessary to complete the installation, review this section before starting the installation.
Installation Prerequisites
The following are required before you can install iPlanet Application Server Enterprise Connector for CICS.
Pre-Installation
The first step in the pre-installation is to download and unzip the file inscics.zip to a temporary directory.Ensure that the same setup is used for installing iPlanet Application Server.
Conventions
Each step in the installation process contains:
Installation Procedure
Information to be input by person installing Solaris
In the temporary directory type >Type#./setup
Type Yes to continue.
- The following message appears:
- iPlanet Server Products Installation/Uninstallation
- Welcome to the iPlanet Server Products installation program
- This program will install iPlanet Server Products and the
- iPlanet Console on your computer.
- It is recommended that you have "root" privilege to install the
- software.
- Tips for using the installation program:
- Press "Enter" to choose the default and go to the next screen
- Type "Control-B" to go back to the previous screen
- Type "Control-C" to cancel the installation program
- You can enter multiple items using commas to separate them.
- For example: 1, 2, 3.
- Would you like to continue with installation? [Yes]:
Type Yes to continue, if you agree with the terms.
Press <Enter> to install the iPlanet Server.
- The following message appears:
- Select the items you would like to install:
- iPlanet Servers
- Installs iPlanet Servers with the integrated Netscape Console onto your computer.
- Netscape Console
- Installs Netscape Console as a stand-alone Java Application on your computer.
- To accept the default shown in brackets, press the Enter key.
- Select the component you want to install [1]:
Type the iPlanet Application Server installation directory, and then press <Enter>.
- The following message appears:
- This program will extract the server files and install them into a directory you specify. That directory is called the server root in the product documentation and contains the server programs, the Administration Server, and the server configuration files.
- To accept the default shown in the brackets, press <Enter>.
- Install location [/iPlanet/iAS6]:
Press <Enter> to install all the components.
Press <Enter> to install all the components.
After the successful installation on Solaris you may check the samples by going to the URL: http://<webserver instance name>/cicsSamples.To accept the default shown in brackets, press the <Enter> key.
To accept the default shown in brackets, press the <Enter> key.
- The following message appears:
- Choose a Unix user and group to represent the iPlanet server
- in the user directory. The iPlanet server will run as this user.
- It is recommended that this user should have no privileges
- in the computer network system. The Administration Server
- will give this group some permissions in the server root
- to perform server-specific operations.
- If you have not yet created a user and group for the iPlanet
- server, create this user and group using your native UNIX
- system utilities.
- To accept the default shown in brackets, press the Return key.
- System User [nobody]:
- System Group [nobody]:
Type in the Relay Host.
Type in the Relay Port.
Type in the LU name.
Type in the User ID and Password.
Press <Enter> to continue.
Go to your installation directory, for example:
Type ./uninstall.
A list of uninstall options appears.Select the specific product components you wish to uninstall.
Mining the CICS Application
The iPlanet Application Server Enterprise Connector for CICS does a specialized form of data mining: it looks at data and extracts functions and parameters from backend systems to enable you to utilize (call) these functions.
Entering the Console from Windows NT
Entering the Console from Solaris
Run: cicsconsole.sh
Select the CICS Management Console icon, and click the Open button in the upper right to display the CICS Management Console.
Figure 1-3    CICS Management Console window
Data Mining
Data mining is the search for relationships and global patterns that exist in large databases. These relationships represent valuable knowledge about the database and objects in the database. The elements of the Data-mining tool are shown in the following illustration.
Figure 1-4    Elements of the Data Mining
You submit search criteria to the Management Console which queries CCIS for any functions matching the criteria. You then selects the function or functions to be mined. Data is extracted from CICS, converted to XML, and then loaded into the repository.
The three data-mining operations/options are:
Displaying Data Mining Selections
Figure 1-5    Choose Data Source window
Figure 1-6    Input window
Type in the search criteria and click the OK button to display the Choose PeopleSoft Function dialog box.
Figure 1-7    The Choose CICS Function window
Loading Functions Into Repository
The Load into Repository selection is used to load a function, or functions, into the repository.
Figure 1-8    The Load window
Figure 1-9    The Choose Archive window
Click the Load button to load the selected archive. Click the Cancel button to return to the previous window with no changes made. Click the Archive Details button to display the XML file (see the Developer's Guide for more details).
Saving XML Functions
This option is used to store a selected function, or functions, as XML which can be loaded later into a repository.
Select the Save XML check box.
Select the Load into Repository check box. An XML file is created and stored in a directory with name of function.
Note The default options are stored in a directory with the name of the function that can not be changed.
Previous Contents Index DocHome Next
Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated June 09, 2000