You are on page 1of 21

http://www.TwPass.

com

000-137
IBM
Advanced Rational Application Developer v7

http://www.twpass.com/twpass.com/exam.aspx?eCode= 000-137

The 000-137 practice exam is written and formatted by Certified Senior IT Professionals working in today's prospering companies and data centers all over the world! The 000-137 Practice Test covers all the exam topics and objectives and will prepare you for success quickly and efficiently. The 000-137 exam is very challenging, but with our 000-137 questions and answers practice exam, you can feel confident in obtaining your success on the 000-137 exam on your FIRST TRY! IBM 000-137 Exam Features - Detailed questions and answers for 000-137 exam - Try a demo before buying any IBM exam - 000-137 questions and answers, updated regularly - Verified 000-137 answers by Experts and bear almost 100% accuracy - 000-137 tested and verified before publishing - 000-137 exam questions with exhibits - 000-137 same questions as real exam with multiple choice options Acquiring IBM certifications are becoming a huge task in the field of I.T. More over these exams like 000-137 exam are now continuously updating and accepting this challenge is itself a task. This 000-137 test is an important part of IBM certifications. We have the resources to prepare you for this. The 000-137 exam is essential and core part of IBM certifications and once you clear the exam you will be able to solve the real life problems yourself.Want to take advantage of the Real 000-137 Test and save time and money while developing your skills to pass your IBM 000-137 Exam? Let us help you climb that ladder of success and pass your 000-137 now!

000-137

QUESTION: 1 What is best practice when designing a data-intensive EJB application?

A. set the values of Entity EJBs by passing them a Data Transfer object containing the necessary data B. provide major Entity EJBs with a remote interface and relate other Entity EJBs to them via Container Managed Relations (CMR) C. provide all Entity EJBs with a local interface only and perform all remote access through Session EJBs D. encapsulate frequently accessed read-only data in an Entity EJB for efficient caching Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=1
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 2 The embedded Apache Derby database makes development easier. However, it has one severe limitation that prevents its use in production environments. What is this limitation?

A. Connection pooling is disallowed and results in degraded performance. B. It provides a reduced data type set without the ability to define BLOB (Binary Large Object) or CLOB (Character Large Object) columns types. C. It provides only English language support. D. It allows only one application to access the database to create a connection. E. The use of the JDBC drivers is proprietary and requires a for purchase license. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=2
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 3 During the development process, a programmer selects an EJB project containing entity beans and selects Prepare For Deployment. Which action does this operation perform?

A. updates the deployment descriptor with a reference to the EJB JAR B. generates the helper classes to map entity beans to the database C. generates the EJB JAR file and includes it in the associated enterprise application project D. guides the user through a wizard interface to determine the mapping between the fields in the entity bean and their associated database fields Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=3
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 4

A developer is building an application where the home page will have links displayed for administrators, which will not be available for regular users of the application. Otherwise, the home page is identical for administrators and regular users. A J2EE role-based security pattern is being implemented with one role for users and one role for staff. What is the BEST way to display different versions of the home page?

A. You map the two roles to different JSPs for the home page, where one includes the extra links (for administrators) and the other does not (forusers). B. It is not possible to display different versions of the same page for users who have different roles. C. You apply declarative security to the body of the JSP where the links that are only available to the administrators are declared to be accessibleonly to that role. D. You implement the links using a J2EE custom library, which contains a call to isUserInRole() on the HttpServletRequest to see if the link shouldbe displayed or not. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=4
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 5 In JSP, custom tag libraries can be used to _____.

A. enable better searching in a Web application B. package tag extensions for JSP C. package JSPs for exporting to other projects D. package tag extensions for JSF Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=5
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 6 Using the EJB Timer Service, how does an EJB container execute business logic once a timer has expired?

A. It calls the bean ejbTimeout() method and passes the expired timer.It calls the bean? ejbTimeout() method and passes the expired timer. B. It calls the method registered by the bean when the TimerService created the Timer. C. It calls the timer getHandle() method.It calls the timer? getHandle() method. D. It calls the timer transaction commit() method.It calls the timer transaction? commit() method. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=6
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 7 An exception happens while testing an application inside Rational Application Developer. Where can this exception be viewed?

A. in the .Metadata folder in the Workspace Directory B. in the Console tab in Rational Application Developer C. in the log files in the <profile directory>/logs/server1 D. in the .Metadata/.plugins folder in the Workspace Directory Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=7
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 8 With regard to the HTTP session listener, what are valid events?

A. initialization, destruction, creation, invalidation B. creation, invalidation, activation, timeout C. creation, destruction, timeout, invalidation D. initialization, creation, activation, timeout Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=8
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 9 You are configuring the security for a Web application in Rational Application Developer. When is it appropriate to set the Realm Name for a new authentication method?

A. when using the BASIC Authentication method to specify the security realm the username and password belongs to B. when using the FORM Authentication method to specify the location of the JAAS server, which stores user and password information C. when using the DIGEST Authentication method to specify the location of MD5 hash file containing the (encrypted) username and password D. when using the CLIENT_CERT Authentication method to specify the location of the client certificate used to identify itself Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=9
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 10 A team is developing a Web application in Application Developer using a dynamic Web project. The Web application requires the use of classes from a Java project on the same workspace. What is the easiest way to ensure that the WAR file produced from the Web project always includes the latest version of the classes from the Java project?

A. export the Java project as a JAR and copy it into ebContent/WEB-INF/lib?folder of the Web projectexport the Java project as a JAR and copy it into ?ebContent/WEBINF/lib?folder of the Web project

B. from the Properties menu of the Web project, make sure the Java project is selected as a equired project on the build path?from thefrom the Properties menu of the Web project, make sure the Java project is selected as a ?equired project on the build pathfrom theProjects tab C. from the Properties menu of the Web project, make sure the Java project is present in the J2EE Module Dependencies tab D. configure the Java project to be a J2EE application client project and include this and the Web project in the same EAR file Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=10
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 11 A developer wants to test concurrent access to a database from a new application. To accomplish this, the developer wants to simultaneously run the same enterprise application in two different WebSphere 6.0 application servers on his development machine using Rational Application Developer v7. Initially he has the default application server running from his workspace but needs another. How can this be achieved?

A. start two instances of Rational Application Developer v7 and start the application server in each and deploy the application to both B. launch the Profile Management tool from Windows -> Preferences and create a new profile, then within RAD7 create a second server from theServers view using the new server profile and deploy the test application to both servers C. within one instance of a Rational Application Developer v7, on the Servers view create a second server from the Servers view with the sameserver profile and deploy the test application to both D. create a new server profile from the Servers view and then create a second server from the servers using the new server profile and deploythe test application to both servers Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=11
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 12 You are creating EJB Web Service using JAX-RPC Web Service runtime. Which three protocols can be used to support Web Service bindings? (Choose three.)

A. RMI over IIOP B. HTTP C. COM D. JMS Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=12


-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 13

When would you choose a data access method other than a CMP Entity EJB? (Choose two.)

A. when the entity requires complex SQL calls to assemble B. when you have a large result set C. when there is a many-to-many mapping between two entities D. when accessing the data entity through a message driven bean Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=13
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 14 Why would you choose to use transactions in an EJB?

A. to guarantee the success of your set of business methods B. to guarantee that the most efficient commit and rollback mechanisms for each resource manager are used C. to specify the speed of execution of the set of business method calls D. to be compatible with the X/Open XA specification Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=14
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 15 What is the correct way to create a JAX-RPC handler?

A. right-click the WSDL file -> select Create JAX-RPC handler B. in the J2EE perspective, expand JSR-109 Web Services, right-click on Web Services and select Web Services -> Configure handlers C. go to Window -> Preferences -> Web Services -> WebSphere -> JAX-RPC Code generation -> Configure handlers D. right-click the Web Service project -> select Create JAX-RPC handler Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=15
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 16 The developer of a client application believes they are sending a valid Web Service request to a new Web Service application. However the request is rejected as an invalid message by the WebSphere application server before the application logic is reached. Using the Web Service Explorer view within Rational Application Developer v7, the developers are able to successfully test the Web Service. What is the best initial troubleshooting action to take to address this issue?

A. start the Universal Test Client tool and test the Web Service with several different combinations of message

B. start the application server in Debug mode and add break points at any sections of the code that are suspect C. activate the TCP/IP Monitor on the server port and check the contents of the Web Service request D. reconfigure the test application server with all trace options on and check the SystemOut.log or SystemErr.log for more information Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=16
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 17 What does an application developer do to profile interactions between Java classes?

A. run the test server in Profiling mode and choose the Java Profiling Agent B. run the test server in Profiling mode and choose the J2EE Request Profile C. run the test server in Debug mode and configure Preferences->Java->Debug->Step Filtering D. run the test server in Debug mode and configure Preferences->Run/Debug->Java and Mixed Language Debug->Step Filters Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=17
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 18 When developing a Web application with Rational Application Developer, a programmer wants to verify that the application restricts users from a set of resources using J2EE security roles. However, the login JSP has not yet been created. What is the easiest way to complete this verification process?

A. You create a login JSP for the application. B. You modify the authentication method to be FORM, restart the application and attempt to access the sensitive resources. C. You modify the authentication method to be BASIC, restart the application and attempt to access the sensitive resources. D. Within the Security Editor, you map all security roles to the URL ?*? restart the application and attempt to access the sensitive resources. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=18
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 19 A Java Enterprise developer has recorded a test using Rational Application Developer for a page to test database transactions in the back end. Which type of test is this?

A. unit test B. component test

C. functional verification test D. build verification test Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=19


-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 20 You are designing a dynamic content page. What should you use to view the final results?

A. the Preview pane B. the Run on Server option C. the Palette view D. the Source view Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=20
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 21 When defining the messaging system resource adapter, which interface must be declared for a JMS server?

A. javax.servlet.Servlet B. iava.jms.Message C. javax.jms.MessageListener D. javax.jms.MessageConsumer Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=21


-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 22 A developer is trying to analyze the content of request/response messages between the client and the server in one of his applications. What is the most effective way to do this?

A. run the server in Profiling mode and use the Agent Controller Profiler to monitor the Web Service classes B. run the server in Debug mode and configure a break point on the HTTP listeners to intercept the HTTP request message C. configure a TCP/IP Monitor to listen to the HTTP port the Web Service is configured on; this will run automatically when the server is started D. configure a TCP/IP Monitor to listen to the HTTP port the Web Service is configured on, and manually start this monitor after the server hasbeen started Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=22
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 23 You are writing a JSP and want to use cascading style sheets from multiple sources. What

should you consider in the event of a style conflict?

A. The first referenced style sheet overrides all other styles. B. Styles will be combined gracefully throughout the JSP. C. The last referenced style sheet overrides any conflicting styles. D. Style sheets are not cross-browser compatible and should not be used. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=23
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 24 A developer is creating a Web application where access to some resources needs to be restricted to a small group of users (managers). The developer decides to use declarative J2EE role-based security to achieve this. Which two steps are NOT necessary when building the EAR application within Rational Application Developer? (Choose two.)

A. specify the JAAS authentication method used for logging onto the application B. specify the set of URLs, which only the managers can access C. specify the JSP page used to display the login screen D. specify the HTTP-METHODs (get, post etc.) used by managers to access the resources E. specify a J2EE security role for managers and associate Web resources to this role Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=24
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 25 What is a valid transaction attribute for a message driven bean?

A. Required B. Mandatory C. RequiresNew D. Supports Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=25


-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 26 A Java Enterprise developer has recorded a URL test using Rational Application Developer. The developer wants to automate the running of this test. What should the developer do to build a Java class to execute the test?

A. select the test recording and choose New -> Test -> Test from Recording and point to the recording URL B. select the test recording and select Run As -> Test

C. select the test recording and select Generate D. Nothing should be done, the test automatically generates a Java class for later execution. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=26
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 27 A team of developers using Rational Application Developer created an EJB project, an Application Client project and a Dynamic Web project. They want to combine these projects using a single enterprise application project, which will create one EAR file. The operations team already has a mature process for configuring application resources and the team does not want to use extended EAR functionality. When building the deployment descriptor (application.xml) for the enterprise application project, what is NOT declared in this file?

A. EJB JARs containing EJBs to be published when deploying the EAR B. Application Client JARs C. database connection details for a database used by the applications D. mapping of context roots to the WAR files Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=27
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 28 If the Web Service has been moved to a new URL, how would you modify your WebSphere JAX- RPC Web Service client to send the SOAP request to the new URL?

A. invoke the setEndpoint() method with the new URL from the generated proxy class B. invoke the setWebServiceLocation() method with the new URL from the generated proxy class C. invoke the setEndpoint() method with the new URL from the generated locator class D. invoke the setWebServiceLocation() method with the new URL from the generated locator class Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=28
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 29 A banking EJB application has been developed, which includes an enterprise bean called ccount?with a method calledcancelTransaction.?ItA banking EJB application has been developed, which includes an enterprise bean calledaccount?with a method calledccancelTransaction.?It should only be accessible when the user of the front-end application is a member of the team- leaders group. The team-leaders group is defined in an LDAP server, which is configured as the security provider for the application. Using the J2EE security features supplied with Rational Application Developer, what is the best way to restrict the users of this method?

A. When deploying the application to WebSphere application server from the administration console, you map the users who can execute theccancelTransactionmethod to the team-leaders group. B. You create a J2EE security role for the team-leaders group calledmanagers?using the Security Editor for the EJB project, then permit thisYou create a J2EE security role for the team-leaders group calledmanagers?using the Security Editor for the EJB project, then permit thisrole to execute theccancelTransaction?method on the EJBaccount.?role to execute thecancelTransaction?method on the EJBaccount. C. In the application login within the cancelTransaction, you include a call to the method oolean isCallerInRole(String roleRefName)? If this callIn the application login within the ccancelTransaction, you include a call to the method ?oolean isCallerInRole(String roleRefName)? If this call returns false, then throw an exception. D. You implement the front-end application in such a way that the feature that uses thecancelTransaction?is never exposed to users who areYou implement the front-end application in such a way that the feature that uses thecancelTransaction?is never exposed to users who are not part of the team-leaders group. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=29
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 30 Which steps are taken when visually linking an existing DB table with an existing Entity EJB? (Choose two.)

A. right-click the EJB project deployment descriptor and select EJB to RDB mapping > Generate Mapright-click the EJB project? deployment descriptor and select EJB to RDB mapping > Generate Map B. the resulting Table.ddl file to update the database schema C. drag and drop table columns onto EJB fields D. rename EJB fields to match database table column names Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=30
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 31 Developer A is running an application in WebSphere Test Environment in Debug mode. Developer B on a different machine wants to remote debug the application. What must Developer B consider?

A. The application can only be debugged locally; a remote debug is not possible. B. The application can be debugged remotely, but the source must exist on Developer A machine.The application can be debugged remotely, but the source must exist on Developer A? machine. C. The application can be debugged remotely, but the source code must exist on Developer B machine.The application can be debugged remotely, but the source code must exist on Developer B? machine.

D. The application can be debugged remotely with Agent Controller running and the location of the source code is irrelevant. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=31
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 32 When you generate EJB Web Services using SOAP over JMS protocol, which type of project will be used as the router project so that the Web Service can receive requests from a JMS queue or topic?

A. Web project B. EJB project C. Stand-alone Java project D. Application Client project Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=32
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 33 Which pattern is used to improve the speed and efficiency of accessing EJB Home objects in an EJB Client?

A. Session Facade B. Business Delegate C. Service Locator D. Home Lookup Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=33
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 34 Which two J2EE 1.4 compliant container services can be accessed from within an EJB? (Choose two.)

A. JAF 1.0 B. SAAJ 1.2 C. Java Swing D. JavaSound 2.0 Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=34
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 35 Prior to deploying an enterprise application to an application server it is possible to configure several resources associated with the application through the WebSphere Administration

Console. Some of these can be done prior to the EAR installation phase. Which configuration can NOT be configured before deployment time?

A. the data source for the application to use B. organizational user groups to map to the J2EE roles configured C. the context roots to map the WAR applications to D. the location of JMS queues used by the application Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=35
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 36 Which two steps are required when defining a uni-directional, one-to-many CMR relationship between two EJBs? (Choose two.)

A. add abstract set and get methods for the CMR field to the remote interface of the EJB on the ne?sideadd abstract set and get methods for the CMR field to the remote interface of the EJB on theone?side B. modify the ejbPostCreate method of the EJB on the ne?side to initialize the CMR fieldmodify the ejbPostCreate method of the EJB on the ?ne?side to initialize the CMR field C. define a foreign key field and local interface for the EJB on the any?sidedefine a foreign key field and local interface for the EJB on the ?any?side D. modify the ejbCreate method of the EJB on the ne?side to initialize the CMR fieldmodify the ejbCreate method of the EJB on theone?side to initialize the CMR field Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=36
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 37 Which two steps required while invoking an EJB method via the Universal Test Client? (Choose two.)

A. restart the Test Server in Debug mode B. invoke the EJB Home create() method and then select Work with Object C. create a Data Transfer object containing the method parameters and use it to invoke the EJB D. add the UTC client and the EJB project to the server Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=37
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 38 You want to invoke Web Services from a stand-alone Java client using WebSphere v6.1 JAXRPC runtime. Which client jar do you need in addition to the IBM JRE 1.5?

A. com.ibm.ws.webservices.javaclient.jar B. ibm-jaxrpc-client.jar C. com.ibm.ws.webservices.thinclient_6.1.0.jar D. objectpool.jar Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=38


-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 39 What is a benefit of declaring a JNDI data source connection within the Enterprise Archive Project?

A. code assist for discovery of valid property values for creating valid JNDI names B. encapsulated dependency of the reference within a developer-owned Web project rather than on a WebSphere server configuration C. team-based development tooling for creating a single connection for all developers D. leverage panel-based wizard only available in Rational Application Developer Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=39
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 40 A certain Entity EJB has two finder methods: findByPrimaryKey(Integer id) and findByName(String name). When looking for the EJB Query Language clauses, what would you expect to find?

A. one EJB QL clause for findByName in the <ejb-ql> element of the deployment descriptor only B. one EJB QL clause for findByPrimaryKey and one EJB QL clause for findByName in the <ejb- ql> element of the deployment descriptor C. one EJB QL clause for findByName in the <ejb-ql> element of the deployment descriptor, and one EJB QL clause for findByPrimaryKey in the<home> element of the deployment descriptor D. one parameterized EJB QL clause for both methods in the <ejb-ql> section of the deployment descriptor Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=40
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 41 What are the three life cycle listeners in Web applications?

A. request listeners, HTTP session listeners, servlet context listeners B. response listeners, HTTP session listeners, servlet context listeners C. request listeners, HTTP context listeners, servlet session listeners D. response listeners, HTTP context listeners, server response listeners

Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=41
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 42 You are creating a dynamic content JSP site where users will configure preferences that will be remembered when they return to the site. How should you manage the session?

A. use non-persistent cookies created without an expiry date B. use session EJBs C. use a session fadeuse a session fa?de D. use persistent cookies Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=42
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 43 For a bi-directional, one-to-many CMR relationship between two Entity EJBs, what does the getter method for the CMR field on the one side of the relationship return if no associations currently exist?

A. an empty Collection/Set B. null C. a new Entity EJB D. It returns nothing; it throws a javax.ejb.CreateException. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=43
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 44 What does defining a data source within a server definition do? (Choose two.)

A. provides an application pool to reduce the performance cost of creating connections B. provides enhanced security parameters to prevent intrusion C. provides a simplified programming model by using a common connection for gaining access to resources D. removes database tuning requirements by extracting all vendor and platform specific details E. enforces organizational governance by restricting all access to defined data sources Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=44
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 45 Which types of destinations does JMS provide?

A. Server and Client B. javax.jms.Topic and javax.jms.Queue C. Serial and Parallel D. JMS Batch and SOAP immediate E. com.ibm.websphere.messages and java.sun.j2ee.messages Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=45
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 46 A developer configures a JAAS Authentication Alias in the Deployment tab of the Application Deployment Descriptor of an enterprise application in Rational Application Developer to simplify the process of creating data sources on deployment of the EAR file. What is a disadvantage of creating a data source in this way?

A. The user name and password for the database on the target environment must be known when building the EAR file. B. The deployment team needs to enter the user id and password when deploying the new application. C. The JAAS Authentication Alias will be available to other applications running in the Application Sever, resulting in a potential security risk. D. The security roles declared by the Web and EJB applications within the EAR file all need to be defined by a JAAS Authentication Alias. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=46
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 47 A team of developers is working on a project with Rational Application Developer. The team has created several Web and EJB components, which they have united into a single enterprise application project. Each Web and EJB component has its own distinct set of J2EE security roles. Some represent the same set of users. The team leader decides to consolidate these roles into a common set. What is the best way to achieve this?

A. step through each EJB and Web project referenced by the enterprise application project, and then rename all the security roles to a consistentscheme B. on the Security tab of the Application Deployment Descriptor for the enterprise application project, use the Gather button to collect all securityroles and the Replace button to replace redundant ones with the consolidated roles C. on the Security tab of the Application Deployment Descriptor for the enterprise application project, create new roles which consolidate theexisting roles from the EJB and Web components by combining similar roles D. on the Deployment tab of the Application Deployment Descriptor for the enterprise application project, define a set of JAAS login configurationsthat consolidate the EJB and Web project security roles Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=47

-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 48 Which two elements can be shown on EJB class diagrams? (Choose two.)

A. Container Service usage dependencies B. tables C. local interfaces D. security roles Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=48
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 49 What conform to the WS-I Basic Profile 1.0? (Choose two.)

A. Document/literal Web Service B. WS-Security C. RPC/literal Web Service D. RPC/Encoded Web Service Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=49
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 50 What should a developer consider when using stateful session beans?

A. managing serialization of data B. relating the right session bean to the right client C. controlling security D. managing the workflow in the bean Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=50
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 51 How do you cancel a container managed transaction when you detect a problem inside an EJB?

A. call the rollback() method on the UserTransaction interface B. throw a javax.transaction.TransactionRequiredException C. return null D. call the setRollbackOnly() method on the EJBContext object and return Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=51
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 52 When designing EJB clients, why should you use a Handle object?

A. to allow one EJB to be sent to another EJB B. to allow a reference to an EJB to be serialized C. to allow more than one client to use the EJB at the same time D. to display the EJB on a Web page Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=52
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 53 How should you map a single composite EJB field to multiple backend DB columns?

A. use a Converter Composer B. use a Composer C. use separate CMP EJB fields mapped to each DB column and write custom getter and setter methods for the composite EJB field D. use a BMP EJB Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=53
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 54 Which four profiles do the Web Services WS-I validation tools support for WS-I compliance checking? (Choose four.)

A. WS-I Basic Profile 1.1 B. WS-I Basic Profile 1.2 C. WS-I Attachments Profile 1.0 (WS-I AP) D. WS-I Basic Security Profile 1.0 (WS-I BSP) E. WS-I Simple SOAP Binding Profile 1.0 (WS-I SSBP) Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=54
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 55 A developer is debugging a J2EE application using the debug perspective of Rational Application Developer. The developer wants to skip stepping into a specific servlet. How can this be accomplished?

A. through Preferences -> Java->Debug-> Step Filtering B. through Preferences->Run/Debug -> Java and Mixed Language Debug -> Step Filters C. from a Debug perspective through Run -> Add Class Breakpoint ?from a Debug perspective through Run -> Add Class Breakpoint

D. from a Debug perspective through Run -> Debug ?-> Java and Mixed Language Application -> New ?from a Debug perspective through Run -> Debug ?-> Java and Mixed Language Application -> New Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=55
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 56 A J2EE Application has been deployed on the WebSphere test environment with the automatic publishing setting set at the default, which is a 5 seconds interval. What happens when you make and save updates to a JSP inside this application?

A. The server will restart at the update interval time to reflect the JSP changes. B. The J2EE application will start at the interval time to reflect the JSP changes. C. Only the WEB module will restart at the interval time to reflect the JSP changes. D. Rational Application Developer will use WebSphere fine-grained update to destroy the JSP compiled code and force a recompile at the nextrequest. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=56
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 57 Which statement is true about testing an EJB client application?

A. To test an EJB client application, you deploy the EJB application to the server and start it, then run the EJB client from the Project Explorer. B. To test an EJB client application, you run the EJB client from the Project Explorer. Local EJB instances will be used for all calls. C. To test an EJB client application, you deploy the EJB application and client to the server and start it. The client will start automatically. D. To test an EJB client application, you deploy the EJB application to the server and start it, use the UTC to create and populate the EJB objecttree and then start the EJB client. Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=57
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 58 Which Profiler Analysis type does a developer use to identify the Java object or method that is causing the application server to consume excessive system memory resources?

A. Execution Time Analysis B. Method Code Coverage C. Basic Memory Analysis D. Probe Insertion Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=58

-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 59 Your customer needs content to be delivered via rich user interface components beyond what is available in the default set. What is the most efficient way to accomplish this?

A. import a custom tag library into the JSP B. use the API to write a custom tag from scratch C. write a session EJB D. import a custom tag library into the JSF Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=59
-------------------------------------------------------------------------------------------------------------------------------------

QUESTION: 60 Struts encourages the implementation of which architectural pattern?

A. Model View Controller B. Service FadeService Fa?de C. Anti Pattern D. Abstract Factory Answer: http://www.twpass.com/twpass.com/exam.aspx?ecode=000-137&qno=60
-------------------------------------------------------------------------------------------------------------------------------------

TwPass Certification Exam Features;


TwPass offers over 2500 Certification exams for professionals. More than 98,800 Satisfied Customers Worldwide. Average 99.8% Success Rate. Over 120 Global Certification Vendors Covered. Services of Professional & Certified Experts available via support. Free 90 days updates to match real exam scenarios. Instant Download Access! No Setup required. Price as low as $19, which is 80% more cost effective than others. Verified answers researched by industry experts. Study Material updated on regular basis. Questions / Answers are downloadable in PDF format. Mobile Device Supported (Android, iPhone, iPod, iPad) No authorization code required to open exam. Portable anywhere. Guaranteed Success. Fast, helpful support 24x7.

View list of All Exams (AE);


http://www.twpass.com/twpass.com/vendors.aspx

Download Any Certication Exam DEMO.


http://www.twpass.com/twpass.com/vendors.aspx

To purchase Full version of exam click below; http://www.TwPass.com/

You might also like