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

A developer creates a stateless session bean, EmployeeServiceBean, and its interface,
EmployeeService. 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,
EmployeeService. 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
EmployeeService.class
EmployeeServiceBean.class
lib/emp-classes.jar
Employee.class
Department.class

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

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

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



Leave a Reply 0

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