Ensurepass

QUESTION 31

In which servers from within RAD can you run (or preview) a static web project? (choose two.)

 

A.

WebSphere Application Server

B.

Static Web Server

C.

IBM Mashup Server

D.

Ajax Test Server

E.

WebSphere Portal Server

 

Correct Answer: BD

 

 

QUESTION 32

The Generic Service Client can invoke calls to a service that uses which transport?

 

A.

HTTP

B.

FTP

C.

RTP

D.

IMAP

 

Correct Answer: A

 

 

QUESTION 33

A web application uses a set of Java classes, which are also used by several other web applications. The application designers want to separate out this logic into its own component to allow reuse and still give the developers the ability to edit the code in those classes as the project progresses. What is the best way to achieve this?

 

A.

create a new Java project, export it as a JAR, and import it into the web project into the lib folder

B.

copy the Java source code into the web project as into the Java folder

C.

create a new Java project and add this project to the deployment assembly list

D.

encapsulate the Java logic in an EJB and invoke this from the web project

 

Correct Answer: C

 

 

QUESTION 34

Which two are Session Bean interfaces? (Choose two.)

 

A.

local interface

B.

remote interface

C.

provider interface

D.

external interface

 

Correct Answer: AB

 

 

QUESTION 35

Which statement is true about displaying perspectives in a Rational Application Developer workbench window?

 

A.

Multiple perspectives can be open, but you can interact with only one in each workbench window.

B.

Perspectives can be arranged and viewed simultaneously in the workbench.

C.

Perspectives can be tiled into a single view.

D.

A single perspective per workbench can be open.

 

Correct Answer: A

 

 

QUESTION 36

A developer needs to debug the application RAD8EJBWeb containing redbank.jsp on the server using Rational Application Developer. What can be done to accomplish this task?

 

A.

right-click redbank.jsp and select Debug As -> Debug on Server

B.

create a software analyzer configuration and run it

C.

right-click redbank.jsp and select Profile As -> Profile on Server

D.

Open the Debug perspective as it automatically starts a debug session

 

Correct Answer: A

 

 

QUESTION 37

An important part of servlet development is the mapping of a URL to the correct servlet. RAD8 provides a mechanism to do this. How can a URL be mapped to a servlet?

 

A.

under Project properties, use the Web Content tab to specify a URL pattern and then in the properties for that pattern specify the servlet.

B.

from the Web Site Navigation view, add a new web page and map all the contained links to the target servlet

C.

under Project properties, use the Deployment Assembly page to specify the URL pattern and target servlet

D.

from the deployment descriptor, edit select the New Servlet Mapping option and enter the URL pattern and target servlet

 

Correct Answer: D

 

 

QUESTION 38

How can you change the context root of a web project to run in WebSphere Application Server?

 

A.

only update the Context Root field in the Web Project settings of the Properties of the web project

B.

only update the Context Root field in the application.xml in the META-INF directory of the web project’s EAR project

C.

update the Context Root field in the Web Project Settings of the Properties of the web project AND update the Context Root field in the application.xml in the META-INF directory of the web project’s EAR project with the same context root.

D.

rename the Web Project name, right-click over the WEB project, select ename…? enter the context root you want to change

 

Correct Answer: C

 

 

QUESTION 39

What are the two transaction types available when creating EJB in RAD 8? (Choose two.)

 

A.

Bean

B.

Atomic

C.

Two Phase

D.

Commit

E.

Container

F.

Composite

 

Correct Answer: AE

 

 

QUESTION 40

What does creation of an EJB project require?

 

A.

EAR project

B.

Web project

C.

Java project

D.

Data project.

 

Correct Answer: A

 

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 …

Comments are closed.