posted 21 years ago
Hi, I am reading the book "Head First EJB". I got some confusions. please help me. Thanks.
---------------------------
1. Entity bean can not use BMT?
2. if onMessage() return beforecommiting a transaction, what kind of exceptions it will throw?
3. To ensure bean portability, which transaction attributes should be used on the business methods in the compononent interface of an entity bean using CMP?
A. NotSupported
B. Required
C. Supports
D. RequiresNew
E. Mandatory
F. Never
The answer is B. D. E
what is meaning of "bean portability"? I don't know why "Mandatory" is correct. Mandatory is very dangerous.