Java Call-in API

The Java Call-In API allows Java applications to call operations of Uniface components through the Uniface Universal Request Broker (URB), which maps Java method-calling conventions and data types to the calling standards and data types used by Uniface.

The Java classes that make up the Java API are located in the package com.compuware.uniface, which is located in the ujci20.jar file located in the bin subdirectory of your Uniface installation. To use these classes in a Java call-in application, they must be imported into the call-in application. For more information, see Configuration Manager and Call Handlers.

The com.compuware.uniface package also includes classes for the Configuration Manager, which manages the Uniface environment within which the Uniface component runs.

API Classes for Java Call-In
Class Description
UnifaceComponent Base class for Uniface components, from which the generated wrapper classes are derived.

Note:  It can be used to implement your own classes for activating Uniface components, but it is much easier to use the generated wrapper classes.

UnifaceEntity Used to construct entity parameters for Uniface operations. The class does the following:
  • Gets entity information, such as the number of fields and the current number of occurrences
  • Creates and removes occurrences
  • Gets data from and sets data in fields of a specific occurrence
UnifaceOccurrence Used to construct occurrence parameters for Uniface operations. This class is a wrapper class around an entity data type, class UnifaceEntity, which holds one occurrence. The methods of the wrapper class guarantee that the embedded entity is always a valid occurrence (it contains one occurrence).
UnifaceDateTime Used to construct date and time parameters for Uniface operations.



Exception classes that provide error handling for your Java applications.

Related Topics