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
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: