Which two packaging options can the developer use when creating a deployable EAR?

A developer creates a stateless session bean, EmployeeServiceBean, and its
interface, EmployeeSeivice. The session bean uses two annotated entity classes, Employee.class
and Department.class. Which two packaging options can the developer use when creating a
deployable EAR? The proposed directory structure is listed for each option. (Choose two.)

A developer creates a stateless session bean, EmployeeServiceBean, and its
interface, EmployeeSeivice. The session bean uses two annotated entity classes, Employee.class
and Department.class. Which two packaging options can the developer use when creating a
deployable EAR? The proposed directory structure is listed for each option. (Choose two.)

A.
emp.ear
emp-ejb.jar
META-INF/persistence. Xml
EmployeeSeivice. Class
EmployeeServiceBean. Class
lib/emp-classes.jar
Employee.class
Department.class

B.
emp.ear
META-INF/orm.xml
emp-ejb.jar
EmployeeSeivice. class
EmployeeServiceBean. class Employee.class
Department.class

C.
emp.ear
emp-ejb.jar
META-INF/persistence. xml
Employee.class Department.class
EmployeeSeivice. class
EmployeeServiceBean. class

D.
emp.ear
emp-ejb.jar
persistence.xml
Employee.class
Department.class
EmployeeSeivice. class
EmployeeServiceBean. Class

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *