Exam:000-255Title:DevelopingwithIBMRationalApplicationDeveloperforWebSphereSoftwareV6.0�Ver:10.04.06000-255Actualtests.com-ThePowerofKnowingQUESTION1ADynamicWebprojectiscreatedwiththenameofprojectName,thecontextrootofrootName,andtheprojectlocationofC:\workspaceName\projectName.AnindexpageiscreatedatWebContent\index.html.WhentheprojectisdeployedonthedefaultServer,whatistheURLaddressforaccessingtheindexpage?A.://localhost:9080/rootName/WebContent/index.htmlC.://localhost:9080/projectName/Index.htmlE.:AQUESTION2ADynamicWebprojecthasadependencyonathird-partyJARfile.ThisWebprojectistheonlyprojectintheEnterpriseApplicationprojectthatrequirestheseclasses.WhichofthefollowingistheBESTwaytomaketheseclassesavailabletotheWebproject?A.ImporttheJARfileintoaJavaproject.AddtheJavaprojectasaWebLibraryProjectintheWAR.B.ImporttheJARfileintoaJavaproject.AddtheJavaprojectasaProjectUtilityJARintheEARandcreateaJAVAJARDependencyintheWAR.C.ImporttheJARintotheWebContent/Web-INF/libfolderoftheDynamicWebproject.D.ImporttheJARintotheEnterpriseApplicationprojectandcreateaJavaJARDependencyintheWAR.Answer:CQUESTION3WhichofthefollowingeditorshasbeendesignedtoeditanXMLdocumentthatdefinestheActionMappingsforaStrutsapplication?A.WebDeploymentDescriptoreditorB.ApplicationDeploymentDescriptoreditorC.JavaVisualeditorD.StrutsConfigurationFileeditorAnswer:DQUESTION4AdeveloperconfiguresServlet1withaload-on-startupvalueof1andServlet2withaload-on-startupvalueof2.Whatistheeffectofthis?000-255Actualtests.com-ThePowerofKnowingA.Servlet1willload,Servlet2willload,Servlet1init(),Servlet2init()B.Servlet2willload,Servlet1willload,Servlet2init(),Servlet1init()C.Servlet1willload,Servlet1init(),Servlet2willload,Servlet2init()D.Servlet2willload,Servlet2Init(),Servlet1willload,Servlet1init()Answer:CQUESTION5AdeveloperisusingtheWebDiagrameditortocreateaStrutsenabledapplication.Aconnectionbetweenobjectsintheeditorrepresents:A.ResourceArchivefiles.B.ResourcethatinheritfromeachotherC.Aone-to-oneorone-to-manyrelationshipmappingD.Adataorlogicflow.Answer:DQUESTION6WhichofthefollowingLinkValidationoptionsisavailablethroughthepropertiesofaDynamicWebproject?A.AutomaticallyrenamelinkstofileswhichhavebeenmovedorrenamedB.StoplinkvalidationwhileofflineC.SetupProxyserverattributesD.ValidatelinksinWorkspaceonly,ignoreexternallinks.Answer:AQUESTION7HowcanadevelopercreateanewWebprojectwithStrutssupport?A.SelectWeb-StrutsProjectfromthenewProjectwizard.B.SelectWeb-DynamicWebProjectfromtheNewProjectwizard,andcheckStrutsunderWebProjectFeaturesC.SelectWeb-StaticWebProjectfromtheNewProjectwizard,andcheckStrutsunderWebProjectFeaturesD.CreateanewDynamicWebProject,initsDeploymentDescriptor,switchtotheExtensionstab,selectAddStrutsSupport.E.CreateanewStaticWebProject,initsPropertiesdialogselectAddStrutsSupportAnswer:BQUESTION8WhichofthefollowingJavaServerFacesdevelopmenttasksisNOTsupportedbyRationalApplicationDeveloper?000-255Actualtests.com-ThePowerofKnowingA.BindaJSFUIcomponenttoaJavaBeanB.CreateFacestableswithinanotherFacestableC.UseJSTLwithJSFD.AddacustomUIcomponenttothePaletteviewAnswer:DQUESTION9WithinPageDesigner,whatarethethreerepresentationsofapage?A.Page,View,andRunB.Page,View,andExecuteC.Design,Source,andExecuteD.Design,Source,andPreviewAnswer:DQUESTION10WhichTWOofthefollowingcanbeconfiguredfromtheServletsPageoftheWebDeploymentDescriptoreditor?A.LoadonStartupB.WebServletsBindingC.TagLibReferencesD.URLMappingsAnswer:A,DQUESTION11WhichTWOofthefollowingviewsareavailabletoassistcomposingWebpagesinthedefaultWebperspectiveusingPageDesigner?A.PaletteB.QuickEditC.HierarchyD.TypesAnswer:A,BQUESTION12Adatabaseaccessedbyanexistingdatabaseconnectionhaschanged.Howcanadevelopermakesurethattheconnectiondisplaysthecorrectinformation?A.Expandtheconnection,selectthetablewhichchangedandclickRefreshfromthecontextmenu.000-255Actualtests.com-ThePowerofKnowingB.SelecttheconnectionandclickRefreshfromthecontextmenu.C.Expandtheconnection,selectthedatabaseandclickRefreshfromthecontextmenu.D.Expandtheconnection,selecttheschemaandclickRefreshfromthecontextmenuAnswer:BQUESTION13WhenusingtheNewSQLStatementwizard,whichofthefollowingisNOTavalidoptionforcreatingthestatement?A.LetthewizardguideyouthroughcreatingtheSQLstatementB.UsetheSQLBuilderC.CreatetheSQLstatementfromanexistingJavaBeanD.ManuallytypeintheSQLstatementAnswer:CQUESTION14Adeveloperhasbeensamplingthecontentsofatablerepeatedlytoviewtheresultsofrunninganapplication.Toviewpreviousresults,thedevelopershould:A.ScrollupintheConsoleviewtoseethepreviousresultsB.Right-clickthetableandselectCompareWith-LocalHistoryC.SelectthepreviousexecutionintheDBOutputviewandselecttheResulttab.D.Rollbackthetransactionrepeatedlytoresetthetabletoitsearlierstate.Answer:CQUESTION15WhatstepsMUSTbeperformedtoremoveaWebprojectfromaserver?A.Right-clickontheserverandselectAddandremoveprojects.SelectanEnterpriseA