I have a few questions about Orion and transactions:
1. How do I set the transaction isolation level (read_committed,
read_uncommitted etc.). I found that this parameter is set by Orion in
orion-ejb-jar.xml. Should I not be able to do this explicitly? What is the
default?

2. A general EJB design issue (Not specific to Orion)
I have a session bean that handles requests from a servlet. The session bean
uses a number of BMP entity beans to interact with the DB.
My entity beans will always be called from the session bean that
programmatically handles the transactions.
I store my session bean and entity beans in separate jars.
In one public method of the session bean, I will be able to:
a.  Start a transaction.
b. Add/update/delete a couple of entity beans
b. Commit the transaction if everything went fine or rollback it if
something bad happened.

My question is: What kind of transaction attribute values should I use in
in the deplayment descriptor for the session bean and the entity beans?


/Thanks in advance,
Mattias Arbin


Reply via email to