Which two elements of the Java Enterprise Application Archive are required?

Which two elements of the Java Enterprise Application Archive are required?

Which two elements of the Java Enterprise Application Archive are required?

A.
EJB Archive

B.
Deployment Descriptor

C.
META-INF sub directory

D.
Resource Adapter archive

E.
Java library

Explanation:
A: In WebLogic Server 12c, you can make use of the shared Java EE library feature
in WebLogic Server which provides an easy way to share one or more different types of
modules among multiple enterprise applications. A shared library is a single module
or collection of modules that is registered with the Java EE application container
upon deployment. A shared library could be:
• Standalone EJB module
• Standalone web application module
• Multiple EJB modules packaged in an enterprise application
• Multiple web application modules packaged in an enterprise application
• Single plain JAR file
B:
* A WAR file deployed to WebLogic Server always includes the following files:
One servlet or Java Server Page (JSP), along with any helper classes.
An optional web.xml deployment descriptor, which is a Java EE standard XML document that

describes the contents of a WAR file.
A weblogic.xml deployment descriptor, which is an XML document containing WebLogic Serverspecific elements for Web applications.
A WAR file can also include HTML or XML pages and supporting files such as image and
multimedia files.



Leave a Reply 3

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


Mariusz

Mariusz

In my opinion correct answer is B and C. Regarding A, ejb module can be packed inside ear, but this is not required.

john Meresey

john Meresey

I tend to agree as well. B and C are correct in my view.

Chris

Chris

B and C are the correct.