Page 1 of 1

About Question enthuware.jwpv6.2.890 :

Posted: Mon Jan 06, 2014 2:42 pm
by alayor
Why is the first option incorrect?

Re: About Question enthuware.jwpv6.2.890 :

Posted: Tue Jan 07, 2014 10:38 pm
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.

Re: About Question enthuware.jwpv6.2.890 :

Posted: Sat Oct 11, 2014 12:55 pm
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?

Re: About Question enthuware.jwpv6.2.890 :

Posted: Sat Oct 11, 2014 8:11 pm
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.