[Free] Download Latest (March 2016) IBM C9510-819 Real Exam 21-30

Ensurepass

QUESTION 21

Which web services client type can you create in RAD 8?

 

A.

Java Proxy

B.

Service Proxy

C.

Web Proxy

D.

EJB Proxy

 

Correct Answer: A

 

 

QUESTION 22

A developer adds JSF tracing support to an application. What information about JSF life cycle is collected and presented while the developer’s browser request is being processed? (Choose two.)

 

A.

incoming request, which includes request path information, parameters, header, and cookies

B.

approximate time spent in this phase

C.

request metrics on the transaction

D.

profiler data from the JVMPI on the remote server the debug enabled

E.

sequential report on the method calls on the request going through various tiers of application

 

Correct Answer: AB

 

 

QUESTION 23

You have a JEE 5.0 project (EARProject) that will be run in WebSphere Application Server. From a EARWeb project, you want to access EJBs stored in an EAREjb project. Both projects are part of the enterprise application EARProject. How can you accomplish this so that the references are resolved at runtime?

 

A.

No configuration is needed because any jar file in an EAR project is automatically referenced by any project in the Java EE project.

B.

You update web.xml and ejb-jar.xml adding <classpath path=’../lib’>.

C.

You right-click your web project and select Properties > Java Build Path and add the EJB Project in the Projects tab.

D.

You right-click your web project and select Properties > Deployment Assembly and add a reference to the EJB project.

 

Correct Answer: D

 

 

QUESTION 24

Each server profile created with Rational Application Developer has its own what?

 

A.

libraries

B.

runtime scripts

C.

administrative console

D.

Java runtime environment

 

Correct Answer: C

 

 

QUESTION 25

To test defined JPA entities, the Entity Manager must be created. Which expression creates the Entity Manager when the project name is the same as the persistence-unit name “RAD8JPA”?

 

A.

EntityManager em = Persistence.createEntityManagerFactory.createEntityManager();

B.

EntityManager em = Persistence(“RAD8JPA”).createEntityManagerFactory().createEntityManager();

C.

EntityManager em = Persistence.createEntityManagerFactory(“RAD8JPA”).createEntityManager();

D.

EntityManager em = Persistence.createEntityManagerFactory().createEntityManager(“RAD8JPA”);

 

Correct Answer: C

 

 

QUESTION 26

What are two characteristics of static web projects? (Choose two.)

 

A.

a Web content folder called WebContent for all publishable resources

B.

a folder to store Java classes (called Java Resources)

C.

a conversion path to a dynamic Web project

D.

a deployment descriptor file created under WebContent/WEB-INF/web.xml

 

Correct Answer: AC

 

 

QUESTION 27

A developer has modified the Java perspective by adding and relocating views in the Rational Application Developer workbench. What should the developer select in order to keep the customizations?

 

A.

Window > Save Workbench As

B.

Window > Save Perspective As

C.

File > Save Views As

D.

File > Save Preferences As

 

Correct Answer: B

 

 

QUESTION 28

A web project contains servlets for handling requests. The servlets are invoked from several HTML pages, which invoke the servlets in different circumstances. It has become difficult to determine how many requests are being sent to each servlet. Therefore, the team has decided to count all requests going into the servlets and the number of times each servlet is called with a specific http parameter. Within RAD8, what is the best approach for accomplishing this?

 

A.

edit the logic for each servlet
and add logic to catch the condition and implement the counting logic there

B.

add a servlet filter that is mapped to the required servlets and implement the counting logic there

C.

implement a controller servlet that receives all the requests and process the logic through it

D.

implement a Web 2.0 Ajax Proxy on all the web pages, which will automatically register the valid clicks and forward to a handling server side widget

 

Correct Answer: B

 

 

QUESTION 29

A development team is starting a new web application project and building a set of servlets for the first time. Which two methods can be used to create an initial set of servlets for the project? (Choose two.)

 

A.

take an existing Java class and select the Refactor to servlet option and follow the wizard screens to configure the project and servlet parameters

B.

create a new class that extends java.com.servlet in a Java project and add the project to the web project as a Java utility project

C.

create a new class that extends java.com.servlet and add a “servlet” entry to the web application deployment descriptor

D.

create a new class that extends java.com.servlet and add a “servlet” annotation

 

Correct Answer: CD

 

 

 

 

QUESTION 30

Which three states are available when creating a Session Bean in RAD 8? (Choose three.)

 

A.

Stateful

B.

Stateless

C.

Singleton

D.

Complex

E.

Persistant

 

Correct Answer: ABC

 

Free VCE & PDF File for IBM C9510-819 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

This entry was posted in C9510-819 Real Exam (March 2016) and tagged , , , , , , , . Bookmark the permalink.