Which two elements of the Java Enterprise Application Archive are required?()
第1题:
package com.company.application; public class MainClass { public static void main(String[] args) { } } And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to “.“ (current directory). Which two java commands entered at the command line will run MainClass?()
第2题:
Which the two about WAR files are true?()
第3题:
Which three web application deployment descriptor elements allow web components to gain references toresources or EJB components?()
第4题:
You deployed a Java EE Shared Library and want to use it from an application that is also deployed on the same cluster. Which two manifest attributes must be specified at a minimum with corresponding values in the deployment descriptor of the application that requires?()
第5题:
What are the two proper locations of deployment descriptors files inside of archives deployed to WebLogic?()
第6题:
A customer has a development environment that uses the auto-deployment feature. The customer claims the application is not redeployed even if the new version is copied to an application subdirectory. Which two parameters of the configuration should you check?()
第7题:
WAR files must be located in the web application library directory.
WAR files must contain the web application deployment descriptor.
WAR files must be created by using archive tools to designed specifically for that purpose.
The web container must serve the content of any META-INF directory located in a WAR file.
The web container must allow access to resources in JARs in the web application library directory
第8题:
the web application deployment descriptor
the /META-INF/dependencies.xml file
the /META-INF/MANIFEST.MF manifest file
the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath
第9题:
EJB Archive
Deployment Descriptor
META-INF sub directory
Resource Adapter archive
Java library
第10题:
<realm-name>
<auth-method>
<security-role>
<transport-guarantee>
<web-resource-collection>
第11题:
Check if archive file in the compressed version has a new REDEPLOY file.
If server was started in the Development Mode. Auto-deployment is not supported in production mode.
If the application includes an EJB 3 module. Auto-deployment is not supported for EJBs.
You change JVM from HotSpot to JRockit. Auto-deployment is not supported in HotSpot auto deployment.
If the domain is a single-server domain. Auto-deployment is not supported in multiserver domains.
第12题:
Keep environmental data in the global settings of domain and the application can read it from the domain where it runs.
Keep environmental data in Deployment Plan XML files. It allows you to change parameters in the deployment descriptor without opening the archive file.
Keep environmental data in the database because it is the most effective way of parametrizing the environment.
Keep archive in exploded format so the customer does not have to open the archive files.
Eliminate all environmental settings from the application. There should not to be any environmental settings in the application.
第13题:
You need to store elements in a collection that guarantees that no duplicates are stored. Which two interfaces provide that capability?()
第14题:
In which two locations can library dependencies be defined for a web application? ()
第15题:
You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()
第16题:
Which statement is FALSE regarding WebLogic Server 12c?()
第17题:
A customer stores environmental settings in the deployment descriptors of an application. Whenever they promote the application version from testing to the production environment, they need to open the archive and modify the deployment descriptor. This process is against their security policy. What approach should you recommend to leverage WebLogic features such that they do not have to modify the application archive for different environments?()
第18题:
A web application is bound to the context named "/webapp" and the client uses the browser and makes a request to the resource http://server:port/webapp/ctxl/resource. Where do you place this resource inside the web application structure?()
第19题:
<realm-name>
<url-pattern>
<description>
<web-resource-name>
<transport-guarantee>
第20题:
Implementation-Version
Specification-Version
Extension-Name
Specification-Vendor
Implementation-Vendor
第21题:
application.xml
weblogic.xml
web.xml
weblogic-application.xml
config.xml
第22题:
in the subdirectory /WEB-INF/ctxl
in the subdirectory /META-INF/ctxl
in the subdirectory /ctxl in the root of the archive
in the subdirectory /ctxl/resource in the root of the archive
in the root of the archive
第23题:
Placing it in the /secure directory
Placing it in the /WEB-INF directory
Placing it in the /META-INF/secure directory
Creating a element within the deployment descriptor