Calling Procedural COBOL from Java |
This book explains how to access components running under different object models. COBOL provides to components written using the following technologies:
There are two ways of using COBOL and Java together: the procedural model (see chapter Calling Procedural COBOL from Java), and the Object COBOL Java domain (see chapters Calling Java from COBOL and Calling Object COBOL from Java). Java itself provides access to other technologies, such as Remote Method Invocation (RMI) and Java Naming and Directory Interface (JNDI) which enable you to distribute objects across different machines.
The Object COBOL OLE domain enables you to write ActiveX servers and clients in COBOL (see chapter OLE Automation and DCOM). This also gives you access to the Distributed Common Object Model (DCOM), which enables you to distribute objects across different machines.
The Object COBOL domains technology enables you to create a COBOL component as a Windows .dll file which can be accessed as either a Java class or as an ActiveX server at run-time, without code changes or rebuilding. The mode the component operates in is determined by whether it is called from Java or through OLE automation (see the chapter Combination ActiveX/Java Classes).
COBOL also enables you to use the following distributed transaction processing technologies:
An EJB is a component for deployment in an application server. An application server provides a number of services including transaction monitor and security for the components deployed on it. You can write EJBs using Object COBOL (see the section COBOL Enterprise JavaBeans in chapter Calling Object COBOL from Java).
Transaction Server exploits ActiveX messaging technology to provide component-based transaction services (see the chapter Interfacing with Microsoft Transaction Server).
WebSphere is an application server which supports COBOL programs (see the chapter Interfacing with IBM WebSphere).
Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
Calling Procedural COBOL from Java |