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

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
goetz

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

Post 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?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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!

gurpreet_asrgndu
Posts: 55
Joined: Thu Jan 03, 2013 7:51 am
Contact:

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

Post 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 ?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

Yes, it should be env-entry. This has now been fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests