About Question enthuware.jwpv6.2.890 :

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
alayor
Posts: 5
Joined: Sun Jan 05, 2014 6:19 pm
Contact:

About Question enthuware.jwpv6.2.890 :

Post by alayor »

Why is the first option incorrect?

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

Re: About Question enthuware.jwpv6.2.890 :

Post by admin »

Because the question says it is a "local" bean that the servlet needs to access. Option 1 uses "ejb-ref" instead or "ejb-local-ref".

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

qcoliveros
Posts: 5
Joined: Sat Oct 11, 2014 10:00 am
Contact:

Re: About Question enthuware.jwpv6.2.890 :

Post by qcoliveros »

In the explanation:
Remember:
1. env-ref is used to specify simple initialization parameter type of things. They can only be String or any other primitive.
2. ejb-ref and ejb-local-ref are used to specify referenced to a remote or local EJBs.
3. resource-ref is used to specify datasource and Topic and Queue connection factories.
4. resource-env-ref is used to specify Topics and Queues.
Item 1 should be env-entry? I cannot find the env-ref in the J2EE6 Schema.

And is service-ref not included in the exam?

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

Re: About Question enthuware.jwpv6.2.890 :

Post by admin »

Yes, it should be env-entry. thank you for your feedback.
We haven't seen anyone getting a question on service-ref.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests