Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Advanced
Sep 2, 2011

Managed Classes and Object Injection in Java EE 5

This table provides a quick reference for what types of managed classes can inject what object in Java EE 5.

  Objects
Managed Classes Stateful Stateless Message-driven
Bean (MDB)
Interceptors
JDBC DataSource Yes Yes Yes Yes
EJBContext Yes Yes Yes No
Web Service Ref Yes Yes Yes Yes
EntityManagerFactory Yes Yes Yes Yes
Timer No Yes Yes No
UserTransaction Yes Yes Yes Yes
Mail Resource Yes Yes Yes Yes
JMS Yes Yes Yes Yes
Environment Entries Yes Yes Yes Yes
Anghel Leonard
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap