Thi EJB
Thi EJB
Cau 9: Different flavors of java are differentiated based on the ___ provided for the
development of various kinds of applications.
a) Languages
b) Platforms
c) Packages
d) Libraries
Cau 10: The <class> element in the persistence.xml file represents which files that
operate upon the persistence unit.
a) Archive files
b) Class files
c) Mapping-file
d) Transaction-type
Cau 11: The parameters of the method injection must all be valid____beans.
a) CDI
b) JSF
c) Java
d) POJO
Cau 12: The <mapping-file> element in the persistence.xml file is used to specify the ___
for the entity classes.
a) Object-relational mapping
b) Transaction-type
c) Provider
d) Classfiles
Cau 13: The deployment descriptor for the EJB modules is ___and for Web modules it is
___
a) Ejb-jar.xml and web.xml
b) Ejb.xml and web-jar.xml
c) Jar-ejb.xml and xml-web
d) Ejb-deploy.xml and web-deploy.xml
Cau 14: Constructor injection occurs when a bean constructor is annotated with the
@Inject annotation and one or more parameters. The container will ____all parameters.
a) Ignore
b) Resolve
c) Instantiate
d) call
Cau 15: After migrating from Oracle to the Eclipse Foundation, Jakarta Enterprise
Edition EE 9 (Jakarta EE) now makes use of package namespace___rather than javax.
a) Java
b) Org.*
c) Jakarta.*
d) Ee.*
Cau 16; In jakarta EE platform, the declarative style of programming is made possible by
___ that includes both programmatic and declarative security concepts
a) Annotations
b) Programmatic API
c) Deployment descriptor
d) beans