SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Jothi Shankar Kumar wrote:How come you are annotating TransactionAttributes for a POJO like BaseClass??
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Jothi Shankar Kumar wrote:But the original poster did not mention anything about it??
A transaction management type cannot be specified for EJB 3.0 entities. EJB 3.0 entities execute within
the transactional context of the caller.
Raf Szczypiorski wrote:But, there is never any interface specified, not by the implements keyword, or in the @Stateless annotation, so is this a valid bean at all? If it is not, there are no transaction attributes used anyways, as the container will not instantiate this bean... Correct me if I am wrong.
SCJP 5 (98%) - SCBCD 5 (98%)
The session bean class may have superclasses and/or superinterfaces. If the session bean has
superclasses, the business methods, lifecycle callback interceptor methods, the timeout call-
back method, the methods of the optional SessionSynchronization interface, the
Init or ejbCreate<METHOD> methods, the Remove methods, and the methods of the
SessionBean interface, may be defined in the session bean class, or in any of its super-
classes. A session bean class must not have a superclass that is itself a session bean class.
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
EJB3 in action page 78, Section 3.1.3, 4th bullet
A session bean class can subclass another session bean or any other POJO.
A session bean class must not have a superclass that is itself a session bean class.
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|