000-287 Exam

test287,enterprise appl.dev.with websphere studio v5.0

  • Exam Number/Code : 000-287
  • Exam Name : test287,enterprise appl.dev.with websphere studio v5.0
  • Questions and Answers : 104 Q&As
  • Update Time: 2011-10-24
  • Testing Engine (SoftWare Version): $ 50.00
  • PDF (Printable Version) Price: $15.00

It can be downloaded after you paying for it without any delay.

Free 000-287 Demo Download

just4study offers free demo for Certified Enterprise Developer 000-287 exam (test287,enterprise appl.dev.with websphere studio v5.0). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.

Free 000-287 test engine download

 

Exam Description

It is well known that 000-287 exam test is the hot exam of IBM certification. just4study offer you all the Q&A of the 000-287 real test . It is the examination of the perfect combination and it will help you pass 000-287 exam at the first time!

Why choose just4study 000-287 braindumps

Quality and Value for the 000-287 Exam
100% Guarantee to Pass Your 000-287 Exam
Downloadable, Interactive 000-287 Testing engines
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Actual Exams
Practice Test Questions accompanied by exhibits
Our Practice Test Questions are backed by our 100% MONEY BACK GUARANTEE.

just4study 000-287 Exam Features

Quality and Value for the 000-287 Exam

just4study Practice Exams for IBM 000-287 are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development.

100% Guarantee to Pass Your 000-287 Exam

If you prepare for the exam using our just4study testing engine, we guarantee your success in the first attempt. If you do not pass the Certified Enterprise Developer 000-287 exam (test287,enterprise appl.dev.with websphere studio v5.0) on your first attempt we will give you a FULL REFUND of your purchasing fee AND send you another same value product for free.

IBM 000-287 Exams (in EXE format)

Our Exam 000-287 Preparation Material provides you everything you will need to take your 000-287 Exam. The 000-287 Exam details are researched and produced by Professional Certification Experts who are constantly using industry experience to produce precise, and logical. You may get questions from different web sites or books, but logic is the key. Our Product will help you not only pass in the first try, but also save your valuable time.

000-287 Downloadable, Interactive Testing engines

We are all well aware that a major problem in the IT industry is that there is a lack of quality study materials. Our Exam Preparation Material provides you everything you will need to take a certification examination. Like actual certification exams, our Practice Tests are in multiple-choice (MCQs) Our IBM 000-287 Exam will provide you with exam questions with verified answers that reflect the actual exam. These questions and answers provide you with the experience of taking the actual test. High quality and Value for the 000-287 Exam:100% Guarantee to Pass Your Certified Enterprise Developer exam and get your Certified Enterprise Developer Certification.
 
 
Exam : IBM 000-287
Title : Test287,enterprise appl.dev.with websphere studio v5.0


1. A developer is writing a session bean which makes use of several entity beans to perform a task. The session bean must record the invocation of the task using a LogEntry entity bean. The log entry must be made regardless of the success of the task. What supports BEST this behavior?
A. Provide two distinct operations on the session bean that would be invoked in sequence by the client code; one for creating the LogEntry and one for performing the task.
B. Use 'RequiresNew' transaction attribute on the LogEntry bean to ensure that the creation of the LogEntry occurs on a separate transaction.
C. Use 'Mandatory' transaction attribute on the LogEntry bean to ensure that the creation of the LogEntry occurs on a separate transaction.
D. Have the task session bean invoke a createLogEntry() method on another session bean to ensure that the LogEntry is created outside the task transaction.
Answer: B

2. A developer is writing a task() method, in a session bean, which makes use of several entity beans to perform a task. The session bean must record the invocation of the task using a LogEntry entity bean. The log entry must NOT be made if the task fails. Assume that the LogEntry bean is configured with 'Supports'. In order to GUARANTEE this behavior, the task() method of the session bean should be configured as:
A. bean-managed transaction and explicitly begin an UserTransaction before creating the LogEntry instance and performing the task logic. Finally, have the task() method commit or rollback the transaction based on the success/failure of the task.
B. 'Supports'. Within the task() method, create the LogEntry instance and perform the task logic. Finally, have the task method() call sessionContext.setRollBackOnly() if the task logic fails.
C. 'RequiresNew'. Within the method, create the LogEntry instance and perform the task logic. Finally, have the task() method call sessionContext.setRollBackOnly() if the task fails.
D. 'Mandatory'. Within the method, create the LogEntry instance and perform the task logic. Finally, have the task() method call sessionContext.setRollBackOnly() if the task fails.
Answer: AC

3. While developing an EJB for an EJB 2.0 compliant server, a developer runs into a problem. Whenever the method ejbContext.getUserTransaction() is called, an IllegalStateException is thrown. Which of the following are possible causes for this behavior?
A. The bean is an entity bean.
B. The bean is a session bean.
C. A transaction has not been started.
D. Container-managed transaction demarcation is being used.
Answer: AD

4. A developer discovers that an exception being thrown from a business method on an entity bean does not cause the transaction to rollback; a rollback was expected. What would correct this problem?
A. Ensure that the business method throws an instance of javax.jts.TransactionRolledbackException.
B. Ensure that the business method marks the current transaction for rollback by calling the setRollbackOnly() method on the EJBContext.
C. Call rollback() on the current UserTransaction object.
D. Call rollback() on the EJBContext.
E. call setRollbackOnly() on the UserTransaction object.
Answer: B

5. Customer and Address are BMP entity beans. The ejbCreate method for Customer is passed values for the properties of the Customer's address and it is necessary to ensure that an Address Entity is created as part of the same transaction that creates the Customer. Assuming the Address requires a reference to the Customer and there are no foreign key constraints enforced by the database, the BEST way to create the Address is to:
A. Insert the Address data into the address table in the ejbCreate method of Customer.
B. Insert the Address data into the address table in the ejbPostCreate method of Customer.
C. Invoke the create() method of AddressHome from the ejbCreate method of Customer.
D. Invoke the create() method of AddressHome from the ejbPostCreate method of Customer.
Answer: D

http://www.Just4study.com The safer.easier way to get Certified Enterprise Developer Certification.