Try OpenEdge Now
skip to main content
Java Open Clients
Connecting to an AppServer : Establishing the connection : Releasing a session-free Connection object
 

Releasing a session-free Connection object

For session-free applications, you must explicitly release the connections held by a Connection object when they are no longer needed. Use the following method on the Connection object for this purpose:
public void releaseConnection()
Note: This method is not necessary for and has no effect in session-managed applications.