This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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?