1. The purpose of this program is to display messages in a server message queue. The MessageQueue object of the IBM Toolbox for Java is used for this task. When the message queue object is constructed, the parameters are the AS400 object and the message queue name. The AS400 object indicates which server contains the resource, and the message queue name identifies which message queue on the server. In this case, a constant is used, which tells the message queue object to access the queue of the signed-on user.