Advanced Rational Application Developer v7

 Advanced Rational Application Developer v7
Exam Code : 000-137 Exam Name: Advanced Rational Application Developer v7QUESTION NO: 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: C Explanation: QUESTION NO: 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: D Explanation: QUESTION NO: 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: B Explanation: QUESTION NO: 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: D Explanation: QUESTION NO: 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: B Explanation: QUESTION NO: 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: A Explanation:

Write a review

Note: HTML is not translated!
    Bad           Good
Captcha
  • Vendor: IBM
  • Exam Code: C2140-137
  • Total Questions: 60
  • Update Time: 2017-10-30
  • Availability: In Stock
  • $39.00

Available Formats

Tags: advanced, rational, application, developer, c2140-137 ibm