What is CPI-C for Java?
CPI-C for Java is a programming toolkit that allows developers to use the Common Programming Interface for Communications (CPI-C) API in the Java language. CPI-C is an open API for SNA LU 6.2. Refer to Common Programming Interface Communications CPI-C Reference (SC26-4399), available on the IBM Communications Server Version 6.4 CD-ROM in PDF and HTML formats, for more details on the CPI-C API.
A primary goal of the toolkit is to ease the transition from traditional C to Java™. Because of this, the toolkit calls look quite similar to those used in C. CPI-C for Java is provided as a layer above the native CPI-C API and this native code must be installed in order for CPI-C to work.
The toolkit provides programmer reference documentation for every class, method, and variable in the toolkit. The documentation is in HTML format, and provides cross-references for ease of use.
This programming toolkit also provides a set of Java classes with objects to hold CPI-C parameters as well as a CPIC class, which defines methods that map to the CPI-C functions in C. You can run the sample application (JPing.class) included in the toolkit, as well as write your own.
- New CPI-C for Java applications
- New or existing non-Java CPI-C applications
- New or existing APPC applications