nerdexam
Oracle

1Z0-895 · Question #10

You have been tasked to build a jar file that can be used by a Java SE client to access the remote instance of the OrderProcessingBean. Given the following design: Which classes would need to be…

The correct answer is B. A, Order. An EJB client JAR file is an optional JAR file that can contain all the class files that a client program needs to use the client view of the enterprise beans that are contained in the EJB JAR file. If all your EJBs are in the same EAR then you can use local interfaces, if not…

Server Installation and Configuration

Question

You have been tasked to build a jar file that can be used by a Java SE client to access the remote instance of the OrderProcessingBean. Given the following design: Which classes would need to be included in the client jar file?

Exhibit

1Z0-895 question #10 exhibit

Options

  • AB, Order
  • BA, Order
  • CA, B, Order
  • DA, B, Order, OrderProcessingBean

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    81% (21)
  • C
    12% (3)
  • D
    4% (1)

Explanation

*An EJB client JAR file is an optional JAR file that can contain all the class files that a client program needs to use the client view of the enterprise beans that are contained in the EJB JAR file. *If all your EJBs are in the same EAR then you can use local interfaces, if not you need remote interfaces.

Topics

#client jar#remote interface#EJB packaging#Java EE deployment

Community Discussion

No community discussion yet for this question.

Full 1Z0-895 Practice