Hello
We are implementing Entity Beans with Bean Managed Persistence using the
Jonas
Web application server. I have a couple of questions:
1. Does Jonas EJB Server support connection pooling? What happens behind
the scene
when the following statement is invoked from within a Bean code:
conn.close(); // For closing a db connection.
2. How are transactions handled when I set the transaction attribute to
be
TX_REQUIRED.
For example, suppose I have a client that has the following code:
trans.begin(); // To being a transaction
Bean.UpdateData(); // To perform some updates to the bean, which in
turn updates
// the database using ejbStore()
trans.rollback(); // To rollback the transaction
In the above case, would all updates made within the UpdateData()
method be
rolledback? How would it work when I have multiple database tables
updated from
within the bean?
Thanks for any info.
Sundar
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".