nerdexam
Oracle

1Z0-895 · Question #68

Assume you have been tasked with building an ejb-jar containing an EJB application. The EJB application contains local, remote, and web service and-point EJBs that provide reusable services within…

The correct answer is A. Name the jar servicelayer.jar with the following structure. Structure of an Enterprise Bean JAR: Assembly Root ejb-jar.xml glassfish-ejb-jar.xml (optional, not used hereNot D, Not C, not B)) META-INF All .class files for this module

EJB Module Packaging and Deployment

Question

Assume you have been tasked with building an ejb-jar containing an EJB application. The EJB application contains local, remote, and web service and-point EJBs that provide reusable services within an enterprise. When the application is deployed clients will access the remote session beans using the global JNDI name java/: ServiceLayer / <bean_name>. All of the EJBs are located in the com.acme.servicelayer package and are deployed as class files. The application uses a maximum of deployment descriptor and annotation configuration?

Options

  • AName the jar servicelayer.jar with the following structure:
  • BName the jar servicelayer.jar with the following structure:
  • CName the jar servicelayer.jar with the following structure:
  • DName the jar servicelayer.jar with the following structure:

How the community answered

(19 responses)
  • A
    79% (15)
  • B
    11% (2)
  • C
    5% (1)
  • D
    5% (1)

Explanation

Structure of an Enterprise Bean JAR: Assembly Root ejb-jar.xml glassfish-ejb-jar.xml (optional, not used hereNot D, Not C, not B)) META-INF All .class files for this module

Topics

#ejb-jar packaging#global JNDI name#deployment descriptor#annotation configuration

Community Discussion

No community discussion yet for this question.

Full 1Z0-895 Practice