This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
It depends on what database resources the user will access and how they are mapped. In the simple case, with one database, one Session is what you need, and how to open and close it is decided in the web or business tier of the application.
Joined: Nov 08, 2006
is the httpsession automatically attached to a hibernate session? So if I invalidate a httpsession, so does the hibernate session?