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
Options
- AB, Order
- BA, Order
- CA, B, Order
- DA, B, Order, OrderProcessingBean
How the community answered
(26 responses)- A4% (1)
- B81% (21)
- C12% (3)
- D4% (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.
