Attachmate provides several APIs that you can use to access your host-based tasks from your custom applications. The API you choose depends upon several factors; including, the language your custom application is written in, whether you will be publishing your task as a Web service, and the type of application server you will be deploying your applications from.
APIs are provided for the following development environments, applications, and component technologies:
|Java||Several different Java-based APIs for running tasks are defined to access tasks generated as XML task files or Java beans.|
|Web Services||You can choose between two Web service application servers with which to integrate: Microsoft .NET, and Apache Axis.|
|.NET||NET components are generated in the designer and can be deployed to a .NET runtime environment as Web services, or as remotable .NET objects.|
|J2EE Architecture||Using the management tools in MCS, you can deploy your tasks as J2EE Session EJBs or J2EE resource adapters, which are packaged in an enterprise application. Use this option to integrate with BEA WebLogic, IBM WebSphere, Sun's SunOne, and Oracle AS.|
|BEA WebLogic||To integrate with BEA WebLogic, deploy your tasks as J2EE Session EJBs.|
|Native Win32||A COM interface is provided for developers who prefer native Win32 environments (such as ASPs, VisualBasic, or C#).|
There are currently three Java interfaces available to you:
|IConnectorAccess (ICA)||An XML-based API that is typically a bit more flexible than the other APIs.|
|ITask||A Java bean-based API that has a smaller footprint than ICA, and is typically slightly faster because no XML parsing is needed.
|Service Beans||Efficient, lightweight Java beans that include multiple tasks and work well in J2EE environments.
Web services generated from Task Builder for CICS can be used in two different development environments to expose host access tasks as Web services and then be made available as resources to other applications and application components. What Web service you decide to use is based on your application server.
|.NET||Microsoft's .NET framework provides a Web service framework for Windows environments.|
|Apache Axis||A free cross-platform application server.|
When Web services are generated they are custom-tailored for one particular project or task so the APIs will vary. However, a Web service API will always define the following in some manner:
CICSConnectorProxy Service is a Windows service that maintains a single instance of the JVM for executing stateless tasks. It exposes a simple DCOM API through which client applications can run tasks in the shared VM.
|Using Tasks in Your Applications|
|Using Java Beans|
|Using J2EE Architecture|
|Using Apache Axis Web Services|
|Using Native Win32 Technologies|