Chapter 4. IBM Toolbox for Java 127
4.2 Enhancements
The IBM Toolbox for Java originally became available as part of OS/400 V4R2. A number of
enhancements have been made to it. These enhancements are called
modifications. This
section covers the key features of the modifications.
4.2.1 V4R3 enhancements
With OS/400 V4R3, the IBM Toolbox for Java Modification 1 (5763-JC1 V3R2M1) offers two
significant enhancements. Several new access classes are provided, as are the graphical
user interface (GUI) classes. New classes are provided to access the following iSeries
򐂰 Digital certificates
Digital certificates are digitally signed statements used for secured transactions over the
Internet. Digital certificates can be used on iSeries servers running on Version 4 Release
3 and later. To make a secure connection using the secure sockets layer (SSL), a digital
certificate is required.
򐂰 Jobs
The IBM Toolbox for Java jobs classes allow a Java program to retrieve the attributes of a
job and list the active jobs. The job classes are:
Job: Represents an iSeries job object
JobList: Represents a list of iSeries jobs
JobLog: Represents the job log of an iSeries server
򐂰 Message queues
The MessageQueue class allows a Java program to interact with an iSeries message
queue. It acts as a container for the QueuedMessage class. The getMessages() method,
in particular, returns a list of QueuedMessage objects. The MessageQueue class can
perform these tasks:
Set message queue attributes
Get information about a message queue
Receive messages from a message queue
Send messages to a message queue
Reply to messages
򐂰 Queued messages
The QueuedMessage class extends the AS400Message class. The QueuedMessage
class accesses information about a message on an iSeries message queue. With this
class, a Java program can retrieve:
Information about where a message originated, such as the program, job name, job
number, and user
The message queue
The message key
The message reply status
򐂰 Users and groups
The user and group classes allow a Java program to get lists of users and groups on the
iSeries server and information about each user. You use a UserList object to get a list of
users and groups on the system. The only property of the UserList object that must be set
is the AS400 object that represents the iSeries server from which the list of users is to be

Get Building Java Applications for the iSeries Server with VisualAge for Java 3.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.