Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
What does happen with database conn when ejb is passivated?
Actually, you should probably be obtaining and releasing connections as needed, not holding onto them. These operations are quite fast as the connections come from the server’s connection pool, so closing a connection simply returns it to the pool.
In advanced cases, a session object’s conversational state may contain open resources, such as open
sockets and open database cursors. A container cannot retain such open resources when a session bean
instance is passivated. A developer of such a session bean must close and open the resources in the
ejbPassivate and ejbActivate notifications.