1. Client call the method with in the transaction context, bean has rolled back the transaction, now the client gets, TransactionRolledBackException. If the user wants to continue the transaction, can he continue ( Even he may not commit the transaction at the end)
-- When the client receives it, the transaction has already been rolled back. All the client can do is retry the transaction. i.e., lookup home and re-invoke the method, for example.
3. I saw in one of the material, "ONLY message-driven beans can asynchronously receive messages." --> What it means?
-- This means that a MDB's client need not have to wait till onMessage() method returns. Clients can simply send message and proceed with the processing. You can assume as if you are spawing a
thread when you send in a message to a MDB.
[ August 17, 2004: Message edited by: Keerthi P ]