Using Resource Adapters with Contexts and Dependency Injection for Java EE (CDI) (original) (raw)

Do not specify the following classes in the resource adapter as CDI managed beans (that is, do not inject them), because the behavior of these classes as CDI managed beans has not been portably defined.

Other types of classes in the resource adapter can be CDI managed beans and will behave in a portable manner.