How do I combine transactions with database connection pooling? If I
want user interaction inside the transaction, for example some
registration process in many steps, I will most probably not get the
same connection from the pool in each step.

At first I hade some idea of storing the connection in the session, but
that was instead of a pool. Together with a pool I believe it will be
very complex (timed out session should rollback and then return the
connection to the pool).

Should I temporarily store the first steps in some Java object in the
session?

Is this where I would want to use EJBs?

  Mattias Jiderhamn
  Expert Systems
  [EMAIL PROTECTED]
�

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to