You are on page 1of 42

Jan.

26
IBM Rational Application Developer
IBM® Rational® Application Developer for WebSphere® Software V8.0 provides optimized d
evelopment for IBM middleware..
Helps Java™ developers rapidly design, develop, assemble, test, profile and deploy
high quality Java/Java EE ™, Portal, Web/Web 2.0, OSGi, Web services and SOA appl
ications.
Govind Sidhu

Optimized for IBM WebSphere® Application Server and IBM WebSphere Portal Server pr
oducts and includes test environments for these products. Introducing Rational A
pplication Developer Standard Edition! – The core tools for WebSphere Application
Server Java EE 6 with JPA 2.0 and EJB 3.1 support for simpler development of ent
erprise applications Build dynamic, easily manageable, modular applications with
support for OSG Accelerated Web 2.0 development capabilities to build Rich Inte
rnet Applications with Ajax, dojo and REST services Add communications capabilit
ies (e.g. Click to Call, Call Notification…) to your application with easy to add
widgets and SIP 1.1 (JSR 289) Build robust, scalable, and reusable Service Orien
ted Architectures with support for Service Component Architecture. Extends the E
clipse 3.6 environment. Increase team productivity with integrations to Rational
Team Concert to improve collaborations no matter where your team is located. Im
prove application quality with developer test and analysis tools to find and fix
problems early. Features a flexible installation process designed to provide de
velopers with only the functions they need. Applies visual portal development te
chniques to speed development. Operating systems supported: Linux, Windows
For more Documents http://www.scribd.com/GOVIND_SIDHU
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
RAD (Rational Application Developer for Java) IBM certification details:
Test duration in minutes: 90 Approximate number of questions: 55 Passing score:
67
Check your knowledge for RAD Certification. This Sample paper will give you the
basic idea of RAD Certification Exam. (000-255) <<<<<< =========================
======================================== >>>>>> Q. 1: A company stores JAR files
under different subdirectories in a shared directory. A
developer needs many of the JAR files to compile an application, but the develop
er does not want to navigate to the share directory every time. Which of the fol
lowing options in the Java Build Path settings should the developer use?
a. Add JARS b. Add Class Folder c. Add Variable d. Import
Q. 2: Which TWO of the following pieces of information about an error are displa
yed in the
Problems view?
a. The location of the error b. A list of resources affected by the error c. Sug
gestions on how to fix the error d. The severity of the error e. A detailed erro
r description
Q. 3: A developer would like to set up standard template comments for a project
for classes
and methods that are created. Which of the following options should a developer
use?
a. Window -> Preferences -> Java -> Code Style -> Code Templates
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. Window -> Preferences -> Java -> Appearance -> Code Templates c. Window -> Pr
eferences -> Code Templates d. Window -> Preferences -> Code Style -> Code Templ
ates
Q. 4: In the Java editor "folding" refers to the editor's ability to:
a. Hide the lines in a method. b. Break up lines which exceed a certain characte
r length. c. Use a split screen to show two parts of the file simultaneously. d.
Only work with the source of the selected method in the Outline view.
Q. 5: A developer is doing a search in the Help window. The developer is interes
ted only in
topics related to Developing Web applications. How can the developer limit the s
earch to display ONLY results from that section?
a. Click Advanced Search, select Developing Web applications in the List of Topi
cs. b. Append the phrase "Developing Web applications" to the Search field. c. C
lick the Filter icon in the Help window toolbar, and create a filter that displa
ys only topics from Developing Web applications. d. Click Search scope, create a
scope that contains only the topic Developing Web applications, and select that
scope for the search.
Q. 6: Code Templates for the Java Editor can be used to customize:
a. The text in the comments and code inserted by the code generator.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. The maximum line width and tab indentation values for Java code. c. The forma
tting rules for Java code. d. The colors and fonts used in the Java editor.
Q. 7: If a developer is using the New Java Class wizard to create a new class, b
ut does
not
enter a superclass when creating the new class, what will happen?
a. The java.lang.Object class will be the superclass by default. b. . The Finish
button will be disabled until a superclass is selected. c. The last-selected cl
ass in the project will be populated in the dialog by default. d. The class will
be created, but will have a compile error upon save.
Q. 8: Java editor templates are used to:
a. Provide a consistent editor look and feel b. Provide a quick way to enter com
monly used blocks of code. c. Set the maximum line width and tab indentation val
ues d. Configure code formatting rules.
Q. 9: To maintain history files on a local system for two weeks and then have th
em
automatically deleted after the two weeks passes, how would a developer set the
Workbench Preferences?
a. Java files archive value to 14 b. "Days to keep files" Local History value to
14 c. Server files archive value to 14
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. "File Associations" Local History value to 14
In a Java Scrapbook page, a developer has highlighted the line System.out.printl
n("hello world"). Which of the following describes what happens when the develop
er selects Execute from the context menu?
Q. 10:
a. "(No explicit return value)" is displayed in the Scrapbook. b. "hello world"
is displayed in a popup window. c. "hello world" is displayed in the Scrapbook.
d. "hello world" is displayed in the Console view.
Q. 11: While editing a servlet, a developer decides to override the init(Servlet
Config) method.
What is the MOST efficient way to begin this process?
a. Select the Source -> Override/Implement Methods context menu from within the
Java editor. b. Use the Source -> Override/Implement Methods context menu item f
rom the Outline view. c. From within the Java editor, type the new init method.
d. Launch the New -> Method wizard and enter the signature for the init method.
Q. 12: A developer wants to import a zip file into a project without expanding t
he contents of
the file. The Developer should use which of the following File -> Import feature
s?
a. Resource file b. Zip file c. J2EE Jar file
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. File System
To quickly see differences in a resource that exists in two different projects,
a developer should:
Q. 13:
a. Use the Local History option for the version currently in test to see the cha
nges that have been applied. b. Use the Comparison from Recent History feature o
f the workbench. c. Open both resources in the Java editor and scan both for dif
ferences. d. Select both versions of the resource and use the Compare With -> Ea
ch Other option from the context menu.
Q. 14: Java editor templates are used to:
a. Provide a consistent editor look and feel b. Set the maximum line width and t
ab indentation values. c. Configure code formatting rules. d. Provide a quick wa
y to enter commonly used blocks of code.
Q. 15: A developer needs to locate the implementation of a method in a class tha
t is known to
be in one of three projects. The workspace contains a total of 20 projects. What
is the MOST efficient way to find the method using the Java Search feature?
a. Select the three projects, and select Search from their context menu. Select
Method Implementation from the Search Type drop-down. b. Select Search -> Java f
rom the menu. Create a Working Set that contains the three projects. Select the
Method and Declarations radio buttons. c. Select Search -> Java from the menu. S
elect Workspace as the Scope. Select the Method and Declarations radio buttons.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. Select the three projects, and select Search from their context menu. Create
a Working Set that contains the three projects. Select the Method and Implemento
rs radio buttons.
Q. 16: Which TWO of the following can be set in the Properties Dialog of
a Dynamic Web
Project?
a. The containing enterprise application b. Validation preferences when building
a project c. Default server d. Refresh interval of Web contents
Q. 17: Which TWO of the following are valid customizations that can be applied t
o a
perspective?
a. Menu items and toolbar buttons b. Position of the tabs used to switch views c
. Keyboard shortcuts d. Colors and fonts e. Size and position of views
Q. 18: A developer is currently working in workspace "A" and wants to work in an
other
previously created workspace "B". What is the MOST efficient way to accomplish t
his?
a. Use the Switch Workspace feature. b. Attach workspace "B" to the current work
bench session. c. Exit Rational Application Developer and open workspace "B".
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. Open a second Rational Application Developer workbench session on workspace "
B".
Q. 19: A developer wants to find out which classes override a method inherited f
rom a
specific superclass. The developer should:
a. Open the Hierarchy view on any of the subclasses and select the Show Override
n Members in Hierarchy toolbar button. b. Open the Hierarchy view on the method
in one of the child classes, and then focus on the method of the superclass. c.
Open the Hierarchy view on the method in the superclass and select the method. d
. Open the Hierarchy view on the superclass, select the method, and select the L
ock View and Show Members in Hierarchy toolbar button.
Which of the following settings allows a developer to conform to best practices
prescribed by a technical team?
Q. 20:
a. Window -> Preferences -> Java -> Code Review b. Window -> Preferences -> Java
-> Best Practices -> Code Review c. Window -> Preferences -> Project -> Design
Rules d. Window -> Preferences -> Java -> Design Rules
Q. 21: What can a developer do to allow quick access to a
particular Help page?
a. In the Help window, browse to the desired page, and click the Bookmark Docume
nt icon in the toolbar. b. In the main menu, click Favorites -> Manage Favorites
, and select the desired page from the list of Help topics. c. In the Help windo
w, browse to the desired page, and click Favorites -> Add to Favorites from the
menu.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. In the main menu, click Help -> Bookmark to bring up a list of Help topics, b
rowse to the desired page, and click Add
Q. 22: A Java class contains references to two utility classes: java.util.Vector
and
java.util.Stack, where the Stack class extends Vector. Assume the workspace uses
the default import preferences. After the Organize Imports command is executed,
what would the import statements look like?
a. import java.util.Stack; import java.util.Vector; b. import java.util.Vector;
c. import java.util.Stack, java.util.Vector; d. import java.util.*;
Q. 23: A developer wants to share an application and
maintain the configuration of the projects. Which TWO of the following mechanism
s will accomplish this?
a. Export File System and Import File System b. Export EAR File and Import EAR F
ile c. Project Interchange d. SCM repository
Q. 24: Which of the following BEST describes perspectives within Rational Applic
ation
Developer?
a. Perspectives can contain other perspectives. b. A perspective is a collection
of views that facilitate a particular development role. c. Perspectives are ope
ned as a result of launching external applications
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. A perspective can be customized with different editors, depending on the need
s of the developer
.Q. 25: While customizing the Java perspective, a developer manages to unintenti
onally
remove some of the views. How can the developer return the perspective to its de
fault state?
a. Close and restart the Rational Application Developer program. b. Select Reset
Perspective from the Window menu. c. Close and reopen the Java perspective. d.
Use the Ctrl-Z keystroke combination until the perspective is returned to its de
fault state.
Q. 26: Which of the following statements are TRUE about the refactoring capabili
ties
supported by Rational Application Developer?
a. The scope of refactoring is restricted to one Java Project at a time. b. Refa
ctoring code ensures that compilation problems are resolved. c. The resultant ch
anges of a refactoring cannot all be undone after the refactoring is done. d. Th
e resultant changes of a refactoring can be previewed before the refactoring is
done.
Q. 27: A developer wants to provide command-line arguments to a standalone Java
application. The developer should specify the arguments:
a. In the Project Properties dialog of the Java project. b. In the Arguments tab
of the Run dialog in a Launch Configuration. c. Using the Run As option. d. Usi
ng the Run with Arguments option.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
Q. 28: A developer is currently working in workspace "A" and wants to work in an
other
previously created workspace "B". What is the MOST efficient way to accomplish t
his?
a. Rational Application Developer and open workspace "B". b. Attach workspace "B
" to the current workbench session. c. Use the Switch Workspace feature d. Open
a second Rational Application Developer workbench session on workspace "B".
Q. 29: A developer customizes the Java perspective and wants to save the changes
as the
default perspective that is opened in the workspace. Which of the following acti
ons would be BEST for the developer to perform?
a. Choose Window -> Save Perspective; Choose Window -> Preferences -> Workbench
-> Perspectives, select Java and click Make Default b. Choose Window -> Preferen
ces -> Workbench -> Perspectives, select Java and click Make Default. c. Choose
Window -> Perspective -> Save Current As Default. d. Choose Window -> Save Persp
ective As and name the new perspective MyJava; Choose Window -> Preferences -> W
orkbench -> Perspectives, select MyJava and click Make Default.
Q. 30: Assuming default settings, a developer can add an entry in the Tasks view
using which
TWO of the following options?
a. Add a comment of the form "// TODO" in a Java source file. b. From the main m
enu, select Window -> Tasks -> Add Task. c. Highlight a piece of text in the sou
rce editor, select Source -> Add Task from the context menu. d. Right click anyw
here on the Tasks view, select Add Task from the context menu.
Q. 31: How can a developer create a new Web project with Struts support?
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. Select Web -> Static Web Project from the New Project wizard, and check Strut
s under Web Project Features. b. Select Web -> Struts Project from the New Proje
ct wizard. c. Create a new Static Web Project, in its Properties dialog, select
Add Struts Support. d. Create a new Dynamic Web Project, in its Deployment Descr
iptor, switch to the Extensions tab, select Add Struts Support. e. Select Web ->
Dynamic Web Project from the New Project wizard, and check Struts under Web Pro
ject Features
Q. 32: Which of the following is NOT supported by Page Designer?
a. JavaScript b. ASP c. HTML d. JSP
Q. 33: A Struts-enabled Web application is created with default options. Which T
WO of the
following resources can be found in the WebContent\WEB-INF directory?
a. web.xml b. struts-config.xml c. ApplicationResources.properties d. index.html
Q. 34: A developer configures Servlet1 with a load-on-startup value of 1 and Ser
vlet2 with a
load-on-startup value of 2. What is the effect of this?
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. Servlet1 will load, Servlet2 will load, Servlet1.init(), Servlet2.init() b. S
ervlet1 will load, Servlet1.init(), Servlet2 will load, Servlet2.init() c. Servl
et2 will load, Servlet1 will load, Servlet2.init(), Servlet1.init() d. Servlet2
will load, Servlet2.init(), Servlet1 will load, Servlet1.init()
Q. 35: When using the New SQL Statement wizard, which of the following is NOT a
type of
statement that can be created?
a. INSERT b. SELECT c. SELECT DISTINCT d. CREATE TABLE
Q. 36: Which of the following Link Validation options is available through the p
roperties of a
Dynamic Web project?
a. Validate links in Workspace only, ignore external links. b. Set up Proxy serv
er attributes. c. Stop link validation while offline. d. Automatically rename li
nks to files which have been moved or renamed.
Q. 37: Which TWO of the following views allow a developer to see Struts resource
s organized
by their Struts-specific types?
a. Struts Explorer b. Struts Gallery
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
c. Modules d. Project Explorer e. Java Browsing
Q. 38: A developer is creating a Struts enabled application using the Web Diagra
m editor. The
resources in the editor that are gray and do not have bold label text are:
a. External b. Unrealized c. Private d. Interfaces
Q. 39: An Enterprise Application project contains multiple Dynamic Web projects.
All of the
Web projects use a set of common classes defined in a Java project. The common c
lasses are still under development and are changing daily. What is the BEST way
to make the common classes available to the Web projects at runtime?
a. Add the Java project as a Web Library Project in each of the WARs b. Add the
Java project as a Project Utility JAR in the EAR and create a Java JAR Dependenc
y in each of the Dynamic Web projects. c. Export the classes of the Java project
and import the individual class files into the WebContent/WEB-INF/classes folde
r of each of the Dynamic Web projects. d. Export the Java project as a JAR file
and import it into the WebContent/WEB-INF/lib folder of each of the Dynamic Web
projects.
Q. 40: A database accessed by an existing database connection has changed. How c
an a
developer make sure that the connection displays the correct information?
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. Expand the connection, select the schema and click Refresh from the context m
enu. b. Expand the connection, select the table which changed and click Refresh
from the context menu. c. Select the connection and click Refresh from the conte
xt menu. d. Expand the connection, select the database and click Refresh from th
e context menu.
Q. 41: What steps MUST be performed to add a Web project to a server?
a. Right-click on an Enterprise Application project that contains the Web applic
ation and select Add to Server Configuration. Select the desired server. b. Righ
t-click on the server in the Servers view and select Add and remove projects. Se
lect an Enterprise Application project that contains the Web application from th
e Available projects list and click Add. c. Right-click on the server in the Ser
vers view and select Add and remove projects. Select the Web project from the Av
ailable projects list and click Add. d. Right-click on the Web project and selec
t Add to Server Configuration. Select the desired server.
Q. 42: A Dynamic Web project is created with the name of projectName, the contex
t root of
rootName, and the project location of C:\workspaceName\projectName. An index pag
e is created at WebContent\index.html. When the project is deployed on the defau
lt Server, what is the URL address for accessing the index page?
a. http://localhost:9080/WebContent/index.html b. E. http://localhost:9080/works
pacename/projectName/WebContent/index.html c. http://localhost:9080/projectName/
index.html d. http://localhost:9080/rootName/WebContent/index.html e. http://loc
alhost:9080/rootName/index.html
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
Q. 43: A developer uses the New Project Wizard to create a new Dynamic Web proje
ct,
accepting all the defaults during the process. Where will the source and class f
iles be located for the project?
a. They are located according to the options chosen by the administrator at prod
uct installation time. b. Together, under the WEB-INF directory. c. Separately,
with the source under the JavaSource directory and the class under the WebConten
t\WEB-INF\classes directory. d. Separately, with the source under the JavaSource
directory and the class files under the bin directory.
Q. 44: Which of the following operations CANNOT be performed via the Insert Cust
om Tag
dialog when editing a JSP in Page Designer?
a. Add a tag to the JSP. b. Import a tag library into the Web project. c. Add a
custom JSP tag to the JSP. d. Add a taglib descriptor to the JSP.
Q. 45: A Dynamic Web project has a dependency on a third-party JAR file. This We
b project is
the only project in the Enterprise Application project that requires these class
es. Which of the following is the BEST way to make these classes available to th
e Web project?
a. Import the JAR file into a Java project. Add the Java project as a Project Ut
ility JAR in the EAR and create a Java JAR Dependency in the WAR. b. Import the
JAR file into a Java project. Add the Java project as a Web Library Project in t
he WAR. c. Import the JAR into the WebContent/WEB-INF/lib folder of the Dynamic
Web project.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. Import the JAR into the Enterprise Application project and create a Java JAR
Dependency in the WAR.
Resources defined using the Deployment tab on the Application Deployment Descrip
tor editor will work on which of the following?
Q. 46:
a. Only while running the application in the Rational Application Developer test
environment. b. Only on IBM WebSphere Application Server version 6 and above. c
. On any compliant J2EE application server. d. Only on IBM WebSphere Application
Servers version 5 and above.
Q. 47: A company is designing a Web application. Which TWO of the following tech
nologies
provide a model-view-controller framework?
a. Servlets b. SDO c. JSF d. Struts e. JSTL
Q. 48: A developer wants to create a Web project that will contain servlets and
JSPs for an
application. Starting from a new workspace, the most efficient steps to follow w
ould be to:
a. Select the File -> New -> Enterprise Application Project option from the main
menu bar, then create a Web Project using the File -> New -> Web Project option
. b. Select the File -> New -> Dynamic Web Project option from the J2EE Perspect
ive main menu bar, and create a new Enterprise Application Project through the w
izard's options. c. Select the Project -> New -> Web Project option from the mai
n menu in any perspective.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. Select the Project -> Dynamic Web option from the Web Perspective main menu b
ar.
Q. 49: A developer wishes to create a project that contains a mix of HTML files,
JSP files,
servlets, and Java classes. Which option should the developer choose in the New
Project wizard?
a. Java Project b. Static Web Project c. Server Project d. Dynamic Web Project
Q. 50: When using the New SQL Statement wizard, which of the following is NOT a
valid
option for creating the statement?
a. Create the SQL statement from an existing JavaBean. b. Manually type in the S
QL statement. c. Use the SQL Builder. d. Let the wizard guide you through creati
ng the SQL statement.
Q. 51: In which TWO of the following locations can the
context root of a Dynamic Web project
be changed?
a. The Modules page of the Application Deployment Descriptor editor b. The sourc
e of the web.xml file c. From the J2EE dialog of the Properties of the Dynamic W
eb project d. The XML source of the application.xml file
Q. 52: Within Page Designer, what are the three representations of a page?
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. Page, View, and Execute b. Design, Source, and Preview c. Design, Source, and
Execute d. Page, View, and Run
Q. 53: A developer can view the results of sampling the contents of a Cloudscape
database
table by:
a. Looking in the Results tab of the DB Output view. b. Opening the results.sql
file in the Cloudscape database folder c. Looking in the Console view. d. Select
ing the table and looking in the Outline view
Q. 54: A developer has a partially complete Web application at the C:\root\webAp
plication
directory. In order to continue development in Rational Application Developer, w
hat could the developer do?
a. Open a new workspace at C:\root, and create a new Web project called webAppli
cation. b. From any workspace, create a new Web project, and selectively import
the files from C:\root\webApplication c. Open a new workspace at C:\root\webAppl
ication d. From any workspace, create a new Web project, setting the context roo
t to C:\root\webApplication.
Q. 55: Which TWO of the following actions will the Server Selection dialog box a
llow a
developer to perform?
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. Set server as workspace default. b. Switch Server to Debug mode. c. Manually
define a server. d. Add and remove projects from the server.
Q. 56: Which of the following JavaServer
Faces development tasks is NOT supported by
Rational Application Developer?
a. Use JSTL with JSF b. Bind a JSF UI component to a JavaBean c. Add a custom UI
component to the Palette view d. Create Faces tables within another Faces table
Q. 57: A developer is using the Web Diagram editor to create a Struts enabled ap
plication. A
connection between objects in the editor represents:
a. A one-to-one or one-to-many relationship mapping. b. A data or logic flow. c.
Resource Archive files. d. Resources that inherit from each other.
Q. 58: A developer has been sampling the contents of a table repeatedly to view
the results of
running an application. To view previous results, the developer should:
a. Scroll up in the Console view to see the previous results.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. Select the previous execution in the DB Output view and select the Results ta
b. c. Rollback the transaction repeatedly to reset the table to its earlier stat
e. d. Right-click the table and select Compare With -> Local History.
Q. 59: Which of the following editors has been designed to edit an XML document
that
defines the Action Mappings for a Struts application?
a. Application Deployment Descriptor editor b. Java Visual editor c. Struts Conf
iguration File editor d. Web Deployment Descriptor editor
Q. 60: Which TWO of the following views are available to
assist composing Web pages in the
default Web perspective using Page Designer?
a. Hierarchy b. Types c. Quick Edit d. Palette
Q. 61:
Which of the following ways may a developer use to set a breakpoint in Java sour
ce
code?
a. Highlight the line of code and click on the breakpoint icon in the toolbar. b
. Highlight the line of code and create a Breakpoint Task from the Tasks View. c
. Select Source -> Set Breakpoint from Debug Perspective's main menu bar after h
ighlighting the
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
line. d. Double-click on the marker bar next to the source code line in the Java
Editor.
Q. 62: Which TWO of the following statements about project creation using
Rational
Application Developer are TRUE?
a. A Dynamic Web project may be created without an associated Enterprise Applica
tion project. b. A Dynamic Web project must be associated to an Enterprise Appli
cation project when it is created. c. An Application Client project may be creat
ed without an associated Enterprise Application project. d. A Static Web project
may be created without an associated Enterprise Application project.
Q. 63: A test on a Web application running in the WebSphere Test Environment fai
led with an
application exception. What is the easiest way to view the source of the method
that threw the exception?
a. In the Console View, click on the method in the exception stack trace. b. In
the Console View, right-click on the error message and select Analyze. c. In the
Console View, right-click on the method in exception stack trace and select Go
To. d. In the Console View, right-click on the exception and select Analyze.
Q. 64: Which TWO of the following options are available in the EAR Export wizard
?
a. Export source files. b. Select the J2EE modules in the EAR you want to export
. c. Modify Dynamic Web module context roots.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
d. Include project build paths and meta-data files.
Q. 65: How can a developer add a JUnit Test Case into a JUnit Test Suite?
a. In the Test Navigator view, drag the Test Case onto the Test Suite. b. Right-
click on the JUnit Test Suite in the Package Explorer view, select Import from t
he context menu, and choose JUnit Test Case from the Import wizard. c. Open the
Test Descriptor, switch to the Test Suites tab, select the JUnit Test Suite, and
add the desired Test Case to its list. d. Add code to call the Test Case in the
JUnit Test Suite's suite() method.
Q. 66: A developer is using default filters during step-by-step debugging. Which
of the
following will trigger a user prompt when accessed in this situation?
a. A Struts custom tag b. A JSP page c. A HTML page d. The Deployment Descriptor
Q. 67: A developer has created a JSP page and wants to uncover any compilation e
rrors. The
developer can right click on the JSP and select:
a. Profile b. Run Validation c. Compile for Debugging d. Show Errors
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
Data sources created in the Application Deployment Descriptor editor can be acce
ssed
Q. 68:
by:
a. Applications in the current workspace. b. J2EE Application client modules acc
essing the server. c. Modules contained in the EAR file where the definition is
made. d. Applications running on the server
Q. 69: A developer is debugging an application. The program is currently halted
on a method
call that returns an object. The developer wants to see the value of one of the
fields of the returned object before actually stepping over the line of code in
the debugger. The developer should:
a. Highlight the method call, right-click and select Display b. Hold the cursor
over the method call and view the result as tool text. c. Highlight the method c
all, right-click and select Inspect d. Highlight the method call, right-click an
d select Execute.
Q. 70: Under what conditions should a developer enable step-by-step debugging?
a. When the developer wants to have a step-by-step tutorial on how to use the de
bugger. b. When the developer wants to set a breakpoint at each line in a Java p
roject. c. When the developer wants to see a slide show of how the variable valu
es change during the course of the application d. When the developer wants to be
prompted each time a Web object is accessed.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
Q. 71: A developer has imported a new EAR file into a workspace. What is the res
ult of
selecting the Enterprise Application and choosing Run -> Run on Server from its
context menu?
a. The Enterprise Application runs on the workspace default server. b. The "Add
and remove projects" dialog is activated. c. The Server Selection dialog box is
activated. d. The Server Creation wizard is activated.
Q. 72: A developer wants to generate a random number via the "Math.random()" com
mand.
How can the developer achieve this task without building a complete Java class?
a. Open a Java Scrapbook, type "Math.random()", highlight the command, and selec
t Display from the context menu. b. Create a new JUnit Test Case, type "Math.ran
dom()", and click Run As -> JUnit Test from the tool bar. c. Open a Java Scrapbo
ok, type "Math.random();", highlight the command, and select Execute from the co
ntext menu. d. Create a new JUnit Test Case, type "System.out.println(Math.rando
m());", and click Run from the tool bar
Q. 73: When evaluating an expression in the Display view of the debugger, which
of the
following context-menu commands will show the expression result?
a. Show b. Display c. Execute d. Inspect
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
Q. 74: While debugging a Java application, the developer has stepped into a meth
od, and has
passed the code that needs to be inspected. To back up the application to the de
sired location, the developer should:
a. Select the stack frame of the desired method in the Debug view and click the
Drop to Frame button. b. Create a Step Filter in the Preferences dialog to filte
r out the current method and return to the previous method c. Place the cursor o
n the desired line of code in the editor, right-click and select Run to Line. d.
Place the cursor on the desired line of code in the editor, right-click and sel
ect Rewind to Cursor.
Q. 75: Which TWO of the following methods are BEST suited for working with Dynam
ic Web
project Deployment Descriptors?
a. Use the pages of the Dynamic Web project Deployment Descriptor editor (except
the Source page). b. Expand the Deployment Descriptor entry in Project Explorer
view and work directly with the entries c. Edit the web.xml file directly. d. U
se the Source page of the Dynamic Web project Deployment Descriptor editor.
Q. 76: A standalone Java application creates a log file without specifying a pat
h name. The log
file will be created in:
a. The package folder in which the main Java class is located. b. The root direc
tory of the project. c. The bin subdirectory under the product installation dire
ctory. d. The product installation directory.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
Q. 77: Which of the following can be changed using the Enterprise Application Im
port wizard
options?
a. The context roots of Dynamic Web modules contained in the EAR. b. The include
d dependent JAR files in the EAR. c. The EAR project name. d. The Security Roles
defined in the EAR.
Q. 78: Data sources defined in the Application Deployment Descriptor editor can:
a. Only be used in the WebSphere Test Environment. b. Be used by all application
s running on the server. c. Be altered in the WebSphere Application Server admin
istrative console. d. Be associated with a JAAS alias for authentication purpose
s.
Q. 79: A developer may temporarily suspend the effects of a breakpoint by:
a. Selecting Disable from the breakpoint's context menu in the editor area marke
r bar. b. Double-clicking on the breakpoint in the editor area marker bar. c. Se
lecting Disable from the breakpoint's context menu in the Breakpoints view. d. F
olding the code that contains the breakpoint in the Java editor.
Q. 80: A developer plans to add a method to a Java class later in the developmen
t cycle.
Under the default preferences, how can the developer keep a reminder for this ta
sk?
a. In the Java source file, write a comment that starts with the keyword "TODO".
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. In the Package Explorer view, from the Java source file's context menu, selec
t Code Review -> New Location. c. From the main menu, select Project -> Reminder
, and add the comment in the Add Reminder wizard. d. Double click on the marker
bar on the left of the source editor to add a breakpoint.
A Java method is called periodically from other code. Which of the following is
the MOST EFFICIENT way for a developer to check a variable value in the method a
fter the method is called 12 times?
Q. 81
a. Run the code in debug mode, enabling a breakpoint in the method, and set the
Hit Count to 12 in the breakpoint's properties. b. Step through the code in debu
g mode until the method is called 12 times. c. Select a line of code in the meth
od, and select Run to Line 12 times from the Java editor. d. Invoke the method 1
2 times in Display mode.
Q. 82: A developer is debugging an application and steps into a method in a Java
class for
which there is no source code in the workspace. However, the developer has sourc
e code for the class in a JAR file in the local operating system. To continue de
bugging this method, the developer should:
a. Right-click in the editor and select Switch View -> Show Disassembly. b. Clic
k the Attach Source button in the editor and specify the location of the source
JAR. c. Use the Step Debug button to treat the method as compiled code. d. Drag
the JAR file from the operating system and drop it on the current stack frame.
Q. 83: A developer is debugging a Java application. The developer encounters the
following
line of code while stepping through a method: account.postTransaction(new Deposi
t(500.0)); How can the developer step into the postTransaction method?
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. Highlight the Deposit constructor invocation, select Run to Line and Step Ret
urn. b. Highlight only the postTransaction method in the line of code and click
the Step Into button. c. Set a breakpoint in the postTransaction method and step
over the line of code. d. Right-click the postTransaction method in the Outline
view and select Run to Method.
Q. 84: Which of the following CANNOT be set using the Dynamic Web project Deploy
ment
Descriptor editor?
a. The included dependent JAR files in the EAR. b. The Welcome pages for the Web
module c. The port number used by the Web container d. The reload interval for
servlets
Q. 85: Which TWO of the following can be configured from the Servlets page of th
e Web
Deployment Descriptor?
a. Invoker Attributes b. URL Mappings c. Filters d. Initialization parameters In
itialization parameters
Q. 86: A developer is using the Web Diagram editor to create a Struts enabled ap
plication. A
connection between objects in the editor represents:
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. Resources that inherit from each other. b. Resource Archive files. c. A data
or logic flow. d. A one-to-one or one-to-many relationship mapping.
Q. 87: A developer configures Servlet1 with a load-on-startup value of 1 and Ser
vlet2 with a
load-on-startup value of 2. What is the effect of this?
a. Servlet1 will load, Servlet1.init(), Servlet2 will load, Servlet2.init() b. S
ervlet1 will load, Servlet2 will load, Servlet1.init(), Servlet2.init() c. Servl
et2 will load, Servlet2.init(), Servlet1 will load, Servlet1.init() d. Servlet2
will load, Servlet1 will load, Servlet2.init(), Servlet1.init()
Q. 88: Which of the following Link Validation options is available through the p
roperties of a
Dynamic Web project?
a. Automatically rename links to files which have been moved or renamed. b. Set
up Proxy server attributes. c. Validate links in Workspace only, ignore external
links. d. Stop link validation while offline.
Q. 89: A developer wants to create a Web project that will contain servlets and
JSPs for an
application. Starting from a new workspace, the most efficient steps to follow w
ould be to:
a. Select the Project -> Dynamic Web option from the Web Perspective main menu b
ar. b. Select the Project -> New -> Web Project option from the main menu in any
perspective.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
c. Select the File -> New -> Dynamic Web Project option from the J2EE Perspectiv
e main menu bar, and create a new Enterprise Application Project through the wiz
ard's options. d. Select the File -> New -> Enterprise Application Project optio
n from the main menu bar, then create a Web Project using the File -> New -> Web
Project option.
Q. 90: Which of the following JavaServer Faces development tasks is NOT supporte
d by
Rational Application Developer?
a. Add a custom UI component to the Palette view b. Bind a JSF UI component to a
JavaBean c. Use JSTL with JSF d. Create Faces tables within another Faces table
Q. 91: A developer has a partially complete Web application at the C:\root\webAp
plication
directory. In order to continue development in Rational Application Developer, w
hat could the developer do?
a. Open a new workspace at C:\root, and create a new Web project called webAppli
cation. b. From any workspace, create a new Web project, setting the context roo
t to C:\root\webApplication. c. Open a new workspace at C:\root\webApplication d
. From any workspace, create a new Web project, and selectively import the files
from C:\root\webApplication
Q. 92: Which of the following editors has been designed to edit an XML document
that
defines the Action Mappings for a Struts application?
a. Application Deployment Descriptor editor b. Java Visual editor
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
c. Web Deployment Descriptor editor d. Struts Configuration File editor
Q. 93: An Enterprise Application project contains multiple Dynamic Web projects.
All of the
Web projects use a set of common classes defined in a Java project. The common c
lasses are still under development and are changing daily. What is the BEST way
to make the common classes available to the Web projects at runtime?
a. Add the Java project as a Web Library Project in each of the WARs b. Export t
he classes of the Java project and import the individual class files into the We
bContent/WEB-INF/classes folder of each of the Dynamic Web projects. c. Export t
he Java project as a JAR file and import it into the WebContent/WEB-INF/lib fold
er of each of the Dynamic Web projects. d. Add the Java project as a Project Uti
lity JAR in the EAR and create a Java JAR Dependency in each of the Dynamic Web
projects.
Q. 94: A Dynamic Web project has a dependency on a third-party JAR file. This We
b project is
the only project in the Enterprise Application project that requires these class
es. Which of the following is the BEST way to make these classes available to th
e Web project?
a. Import the JAR into the Enterprise Application project and create a Java JAR
Dependency in the WAR. b. Import the JAR into the WebContent/WEB-INF/lib folder
of the Dynamic Web project. c. Import the JAR file into a Java project. Add the
Java project as a Web Library Project in the WAR. d. Import the JAR file into a
Java project. Add the Java project as a Project Utility JAR in the EAR and creat
e a Java JAR Dependency in the WAR.
Q. 95: When a developer creates a servlet using the Servlet wizard, what is the
purpose of the
servlet name?
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
a. It is used to create an interface to the servlet. b. It is used in the defaul
t URL mapping. c. It is required to be used as the servlet class name. d. It is
used for filter mapping.
A developer can view the results of sampling the contents of a Cloudscape databa
se table by:
Q. 96:
a. Looking in the Results tab of the DB Output view. b. Looking in the Console v
iew. c. Opening the results.sql file in the Cloudscape database folder d. Select
ing the table and looking in the Outline view
Q. 97:
What steps MUST be performed to add a Web project to a server?
a. Right-click on the server in the Servers view and select Add and remove proje
cts. Select an Enterprise Application project that contains the Web application
from the Available projects list and click Add. b. Right-click on the server in
the Servers view and select Add and remove projects. Select the Web project from
the Available projects list and click Add. c. Right-click on an Enterprise Appl
ication project that contains the Web application and select Add to Server Confi
guration. Select the desired server. d. Right-click on the Web project and selec
t Add to Server Configuration. Select the desired server.
Q. 98: How can a developer create a new Web project with Struts support?
a. Select Web -> Dynamic Web Project from the New Project wizard, and check Stru
ts under Web Project Features
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. Select Web -> Static Web Project from the New Project wizard, and check Strut
s under Web Project Features. c. Create a new Static Web Project, in its Propert
ies dialog, select Add Struts Support. d. Select Web -> Struts Project from the
New Project wizard. e. Create a new Dynamic Web Project, in its Deployment Descr
iptor, switch to the Extensions tab, select Add Struts Support.
Q. 99: A developer is creating a Struts enabled application using the Web Diagra
m editor. The
resources in the editor that are gray and do not have bold label text are:
a. External b. Interfaces c. Private d. Unrealized
Q. 100: A developer has been sampling the contents of a table repeatedly to view
the results
of running an application. To view previous results, the developer should:
a. Rollback the transaction repeatedly to reset the table to its earlier state.
b. Select the previous execution in the DB Output view and select the Results ta
b. c. Scroll up in the Console view to see the previous results. d. Right-click
the table and select Compare With -> Local History.
Q. 101: Within Page Designer, what are the three representations of a page?
a. Page, View, and Run
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. Design, Source, and Preview c. Design, Source, and Execute d. Page, View, and
Execute
Q. 102: Which TWO of the following views allow a developer to see Struts resourc
es organized
by their Struts-specific types?
a. Struts Gallery b. Modules c. Project Explorer d. Struts Explorer e. Java Brow
sing
Q. 103: When using the New SQL Statement wizard, which of the following is NOT a
type of
statement that can be created?
a. INSERT b. CREATE TABLE c. SELECT DISTINCT d. SELECT
A developer uses the New Project Wizard to create a new Dynamic Web project, acc
epting all the defaults during the process. Where will the source and class file
s be located for the project?
Q. 104:
a. Separately, with the source under the Java Source directory and the class fil
es under the bin directory.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. They are located according to the options chosen by the administrator at prod
uct installation time. c. Separately, with the source under the Java Source dire
ctory and the class under the Web Content\WEB-INF\classes directory. d. Together
, under the WEB-INF directory.
Q. 105: In which TWO of the following locations can the context root of a Dynami
c Web
project be changed?
a. The XML source of the application.xml file b. The Modules page of the Applica
tion Deployment Descriptor editor c. The source of the web.xml file d. From the
J2EE dialog of the Properties of the Dynamic Web project
Q. 106: A database accessed by an existing database connection has changed. How
can a
developer make sure that the connection displays the correct information?
a. Select the connection and click Refresh from the context menu. b. Expand the
connection, select the database and click Refresh from the context menu. c. Expa
nd the connection, select the schema and click Refresh from the context menu. d.
Expand the connection, select the table which changed and click Refresh from th
e context menu.
Q. 107: Which TWO of the following views are available to assist composing Web p
ages in the
default Web perspective using Page Designer?
a. Types
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. Palette c. Hierarchy d. Quick Edit
Q. 108: Which of the following is NOT supported by Page Designer?
a. JavaScript b. JSP c. ASP d. HTML
Q. 109: A company is designing a Web application. Which TWO of the following tec
hnologies
provide a model-view-controller framework?
a. JSF b. JSTL c. SDO d. Servlets e. Struts
Q. 110: A developer has added an Enterprise Application to the WebSphere Applica
tion Server
v6.0 test server. The developer then makes changes to the Enterprise Application
project's URL mappings. If the Web deployment descriptor editor Extensions page
has reloading enabled, what action, if any, is REQUIRED for the changes to be p
ublished to the server?
a. The server must be restarted.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
b. No action is required on the server c. Restart the project from the server co
ntext menu. d. The project must be removed and then added to the server from the
server context menu.
Q. 111: When creating a database connection, a developer is not interested in se
eing the
database tables with a schema name starting with SYS. How can a developer preven
t these tables from being cataloged under the connection?
a. Add a Schema Filter with criteria "Schema NOT LIKE SYS%". b. Include the "whe
re schema <> SYS" in the SQL statement to select the tables. c. Add an Object Fi
lter with the criteria "Schema NOT LIKE SYS". d. List the acceptable schema name
s in the SQL Schema entry field of the Specify Connection Parameters dialog
Q. 112: Which of the following operations CANNOT be performed via the Insert Cus
tom Tag
dialog when editing a JSP in Page Designer?
a. Add a taglib descriptor to the JSP. b. Add a tag to the JSP. c. Import a tag
library into the Web project. d. Add a custom JSP tag to the JSP.
Q. 113: Which TWO of the following actions will the Server Selection dialog box
allow a
developer to perform?
a. Add and remove projects from the server. b. Switch Server to Debug mode.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
c. Manually define a server. d. Set server as workspace default.
Q. 114: A developer wishes to create a project that contains a mix of HTML files
, JSP files,
servlets, and Java classes. Which option should the developer choose in the New
Project wizard?
a. Server Project b. Static Web Project c. Dynamic Web Project d. Java Project
Q. 115: What steps MUST be performed to remove a Web project from a server?
a. Right-click on the server and select Add and remove projects. Select the Web
project from the Configured projects list and click Remove. b. Right-click on th
e server and select Add and remove projects. Select an Enterprise Application pr
oject that contains the Web application from the Configured projects list and cl
ick Remove. c. Right-click on an Enterprise Application project that contains th
e Web application and select Remove from Server Configuration. Select the desire
d server. d. Right-click on the Web project and select Remove from Server Config
uration. Select the desired server.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer
Assessment Test
To assess your current skill level and readiness for Test 000-255 - Developing w
ith IBM Rational Application Developer for WebSphere Software V6, you can take a
Web-based assessment test. Passing this assessment test does not result in achi
eving a credential. It is designed to provide diagnostic feedback on the Examina
tion Score Report, correlating back to the test objectives, showing how you scor
ed on each section of the test. For this assessment test, the passing score is 6
6% and the time provided to take the test is 105 minutes. A 10 test fee applies
worldwide to each time a test is taken, even if the same test is retaken. VISA,
Master Card and American Express credit cards are accepted.
To take the assessment test:

Access the Web-based test delivery tool Prime (link resides outside of ibm.com)
If you already have an account on Prime, select Secure Sign-In and continue to T
ake Test. Otherwise select First Time Registration and follow the 2 steps below:
o Step 1: If you already have a Prometric ID number enter it into Step 1. If yo
u do not have one, proceed to Step 2. o Step 2: Select the Rational Assessment/S
ample Tests section. Enter your demographic data and 'Submit'. o Note: Choose yo
ur username and password that you will use every time you take a test via Prime.
Record them for future reference, along with your ID number that Prime generate
s. Select Take Test (first option). Under Public Test (first rectangle), select
the Rational Assessment/Sample Tests section, and 'Submit'.
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com
Jan. 26
IBM Rational Application Developer

Select Sample Test 255, Dev w IBM Rtnl App Dev WbSp SW V6, and proceed with on s
creen instructions.
Thank You
Note: Your help can be key of success for other people. You may also join Tech H
elp Network at Linkedin.com
<<<<<< ===============================END================================ >>>>>>
Email: Sidhu.govind@gmail.com Contact No:+91-9887954812
http://www.pointerclasses.webs.com

You might also like