I'd actually say that each request is often a single transaction. I mean, a client wants data, and you need to send them the data they want, or they want to update data, and they want to know it was all updated properly. Each is a request, and each should be a single transaction. So, most of the time, it's a single transaction per request, which also implies a single session per request.
_________________ Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?" http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials
|