Basically, if the connection pool is configured in glassfish, you just close the connection and it gets but back into the pool. Make sure that myCon.closeCon() actually calls myCon.close() on the connection. This should be done in a finally clause of a try block to ensure it happens.
HTH,
TB
[Message sent by forum member 'travbow' (travbow)]
http://forums.java.net/jive/thread.jspa?messageID=259244