Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.440 :

Posted: Mon Jan 16, 2012 12:01 am
by goetz
You can specify resources that are needed by the bean in the deployment descriptor using env-ref, ejb-ref, or resource-ref elements.
Besides those three elements, depending on the resource type, resource-env-ref, message-destination-ref, persistence-unit-ref, and persistence-context-ref may also be used to inject resources. Is that not correct?

Re: About Question enthuware.oce-ejbd.v6.2.440 :

Posted: Mon Jan 16, 2012 8:39 am
by admin
The option says, "It is possible to inject resources into a bean without using annotations. ", which is correct.
The explanation is merely trying to providing examples of how that can be done. It has now been enhanced to make that clear.

thank you for your feedback!

Re: About Question enthuware.oce-ejbd.v6.2.440 :

Posted: Tue Jul 16, 2013 3:42 pm
by gurpreet_asrgndu
the explanation of the correct answer(option 5) says that:
You can specify resources that are needed by the bean in the deployment descriptor using elements such as env-ref, ejb-ref, or resource-ref elements

i doubt there is such element as env-ref. are you talking about env-entry ?

Re: About Question enthuware.oce-ejbd.v6.2.440 :

Posted: Tue Jul 16, 2013 6:20 pm
by admin
Yes, it should be env-entry. This has now been fixed.
thank you for your feedback!