Which two package 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 package 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 package 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
EmployeeService.class
EmployeeServiceBean.class
Employee.class
Department.class

C.
Emp.ear
emp-ejb.jar
META-INF/persistence.cml
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 *