nerdexam
Oracle

1Z0-899 · Question #96

A web component accesses a local EJB session bean with a component interface of com.example.Account with a home interface of com.example.AccountHome and a JNDI reference of ejb/Account.Which makes…

The correct answer is C. <ejb-local-ref>. See the full explanation below for the reasoning.

Question

A web component accesses a local EJB session bean with a component interface of com.example.Account with a home interface of com.example.AccountHome and a JNDI reference of ejb/Account.Which makes the local EJB component accessible to the web components in the web application deployment descriptor?

Options

  • A<env-ref>
  • B<resource-ref>
  • C<ejb-local-ref>
  • D<ejb-remote-ref>

How the community answered

(20 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    75% (15)
  • D
    15% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice