This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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?