aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Error in EJB 3.0 core specification? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error in EJB 3.0 core specification?" Watch "Error in EJB 3.0 core specification?" New topic
Author

Error in EJB 3.0 core specification?

Vahan Harput
Greenhorn

Joined: Dec 11, 2002
Posts: 4
Hi all,

I have a question regarding the allowed operations in the lifecycle callback methods of stateful session beans:

On the page 80/81 of the EJB 3.0 core specification, it is specified that the PostConstruct/PreDestroy/PrePassivate/PostActivate lifecycle callback methods run in an unspecified transaction and security context. It is also specified that in such methods it is not allowed to access resource managers and other enterprise beans.

At the same time however, in the table 1 of page 79 accessing resource managers and enterprise beans is allowed for these lifecycle callback methods.

This seems to be a contradiction. Is this an error in the specification or am I missing something?

Best regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in EJB 3.0 core specification?
 
Similar Threads
Security Methods of EJBContext
Operation Allowed in Stateless and Stateful Bean
Error in EJB 3.0 core specification?
question about dependent injection
Problem with EJB 3.0 Specs Intercptors ......