A connection to TP1/Web (a session) is started by calling the openConnection(String url, short flags) method. A session continues until closeConnection() is called.
A session can be started with any of the three ways described below:
- By specifying, in the TP1/Client/J environment definition, the URL of the service request destination in the dcweburl operand and Y in the dcrapautoconnect operand, calling the rpcOpen method, and then calling the rpcCall method. This causes TP1/Client/J to automatically establish a session with TP1/Web.
- By specifying the URL of the service request destination in the dcweburl operand of the TP1/Client/J environment definition, calling the rpcOpen method, and then calling the openConnection method with no parameters.
- By calling the openConnection(String url, short flags) method of the TP1/Client/J API.
All Rights Reserved. Copyright (C) 2006, 2009, Hitachi, Ltd.