1.1 What is Java Service Manager?
The Java Service Manager:
-
Allows integration of Java programs with existing LANSA or RPG applications.
-
Provides a standardized interface for calling Java classes using Java service programs. When a service is loaded into the JSM, it manages the interface to the services, handles the threading and provides tracing.
-
Greatly simplifies the development of server applications requiring the integration of Java Services with LANSA or RPG applications.
For example, when a customer order is created, an application may want to send a customer an email with the order details as an attachment. This type of application can be achieved by using Java Mail classes with your LANSA order entry functions. Without the Java Service Manager, this type of application can present a significant technological challenge for traditional business systems developers.
The Java Service Manager can be used by:
-
LANSA functions - using LANSA Built-In Functions (BIFs).
-
RPG programs - by calling the Java Service Manager APIs (similar to BIFs).
Some of the services shipped with the Java Service Manager are:
-
FTPService
-
ExcelService
-
HTTPService
-
SMTPMailService
The JSM includes Java classes for standard requirements such as exception handling, message handling, data conversion, etc.
To understand more about the Java Service Manager, it is recommended that you review: