bettyallen's picture
From bettyallen rss RSS  subscribe Subscribe

310-090 Study material 

Troytec.com is a place where you can find various types of 310-090 exam certifications preparation material. Troytec’s full range of study material for the 310-090 exam helps you to be prepared for the 310-090 exam fully and enter the exam centre with full confidence.We provide you easy, simple and updated study material. After preparing from the 310-090 exam material prepared by us we guarantee you that you will be a certified professional. We guarantee that with Troytec 310-090 study material, you will pass the Certification exam.

 

 
 
Tags:  310-090 Exams  310-090 Certification  310-090 Training  310-090 Practice Exams  310-090 Tests  310-090 Exam Materials  310-090 download 
Views:  219
Published:  March 08, 2010
 
0
download

Share plick with friends Share
save to favorite
Report Abuse Report Abuse
 
Related Plicks
No related plicks found
 
More from this user
TB0-107 Study material

TB0-107 Study material

From: bettyallen
Views: 1305
Comments: 0

199-01 Study material

199-01 Study material

From: bettyallen
Views: 681
Comments: 0

9A0-062 Study material

9A0-062 Study material

From: bettyallen
Views: 470
Comments: 0

000-089Study material

000-089Study material

From: bettyallen
Views: 398
Comments: 0

310-091 Study material

310-091 Study material

From: bettyallen
Views: 563
Comments: 0

1T6-540 Study material

1T6-540 Study material

From: bettyallen
Views: 465
Comments: 0

See all 
 
 
 URL:          AddThis Social Bookmark Button
Embed Thin Player: (fits in most blogs)
Embed Full Player :
 
 

Name

Email (will NOT be shown to other users)

 

 
 
Comments: (watch)
 
 
Notes:
 
Slide 1: 310-090 Sun Certified Business Component Developer for J2EE 1.3 Exam: 310-090 Demo Edition © 2007- 2008 Test Killer, LTD All Rights Reserved http://www.testkiller.com http://www.troytec.com 1
Slide 2: 310-090 QUESTION: 1 Which method can be called by the container to transition an entity bean instance from the ready state to the pooled state? A. B. C. D. ejbRemove ejbCreate ejbActivate unsetEntityContext Answer: A QUESTION: 2 Which statement is true about the implementation of ejbSelect methods? A. B. C. D. The container calls the appropriate ejbFind methods in the bean class. The deployment descriptor's EJB QL guides the container's implementation. The EJBObject contains wrapper methods which call the ejbSelect methods. The Bean Provider supplies the implementation of the ejbSelect methods. Answer: B QUESTION: 3 Click the Task button. Place the CMP Entity Bean method name on its purpose or usage. (The point of view is from the Bean Provider.) 2 http://www.testkiller.com http://www.troytec.com
Slide 3: 310-090 Answer: 3 http://www.testkiller.com http://www.troytec.com
Slide 4: 310-090 QUESTION: 4 Which role is responsible for implementing the home business methods for a CMP 2.0 entity bean? A. B. C. D. Deployer Bean Provider Container Provider Application Assembler Answer: B QUESTION: 5 Click the Task button. Place the lifecycle events of an entity bean in the proper sequence. 4 http://www.testkiller.com http://www.troytec.com
Slide 5: 310-090 Answer: QUESTION: 6 Given: 10 void setEntityContext(EntityContext context) { 11 // insert code 12 } 5 http://www.testkiller.com http://www.troytec.com
Slide 6: 310-090 Which two are valid if inserted at line 11? (Choose two.) A. context.getEJBHome(); B. this.id = (String) context.getPrimaryKey(); C. this.principal = context.getCallerPrincipal(); D. Context ctx = new InitialContext(); this.minBalance = (Double) ctx.lookup("java:comp/env/minBalance"); Answer: A, D QUESTION: 7 Which method from javax.ejb.EJBContext returns an object that allows a Bean Provider to demarcate transactions? A. B. C. D. E. begin() getAutoCommit() getTransaction() beginTransaction() getUserTransaction() Answer: E QUESTION: 8 Which is a responsibility of the EJB 2.0 container, with respect to session beans? A. B. C. D. invoking the setSessionContext method invoking the home interface create method implementing a class that implements javax.ejb.SessionBean implementing an afterBegin method, if declared in the bean's remote interface Answer: A QUESTION: 9 Which statement is true about BOTH stateful session beans and stateless session beans? 6 http://www.testkiller.com http://www.troytec.com
Slide 7: 310-090 A. Bean instances are not required to survive container crashes. B. The container passivates them using the ejbPassivate / ejbActivate methods. C. Any bean instance must be able to handle concurrent invocations from different threads. D. A bean with bean-managed transactions must commit or roll back any transaction before returning from a business method. Answer: A QUESTION: 10 Which two are requirements for a session bean's local component interface? (Choose two.) A. B. C. D. E. The interface must extend the javax.ejb.EJBObject interface. Method arguments and return types must follow the rules for RMI/IIOP. The Bean Provider must define one or more create<METHOD> methods. Each business method must have a matching method in the session bean's class. All methods' throws clauses must not include the java.rmi.RemoteException. Answer: D, E QUESTION: 11 Which statement is true about the container's responsibilities regarding passivation/activation of stateful session bean instances? A. The container is required to call ejbPassivate before removing a bean instance. B. The container is required to reset the value of the instance's transient fields during activation. C. The container is required to use Java Serialization to save the instance state during passivation. D. If the instance contains an object reference to the java:comp/env JNDI context or its subcontext, the container must be able to save and restore it during passivation/activation. Answer: D QUESTION: 12 Given this session bean code: 4 public void ejbActivate() { 5 // method is empty 6} Which two are guaranteed to be true? (Choose two.) 7 http://www.testkiller.com http://www.troytec.com
Slide 8: 310-090 A. B. C. D. E. A client cannot invoke this method. This is not a stateful session bean. This method is contained in a final class. All of the instance variables in this class are serializable. There is no requirement that the bean expose a local client view. Answer: A, E QUESTION: 13 A client receives a javax.ejb.EJBException when invoking a business method. Which two statements are true? (Choose two.) A. B. C. D. The client is a local client. The client is a remote client. The container could not find the instance. The client should not assume that the method failed to complete. Answer: A, D QUESTION: 14 Click the Task button. Place each exception on its corresponding primary exception handler. 8 http://www.testkiller.com http://www.troytec.com
Slide 9: 310-090 Answer: 9 http://www.testkiller.com http://www.troytec.com
Slide 10: 310-090 QUESTION: 15 Which activity is the responsibility of the Container Provider for a remotely called business method of an entity bean? A. discard the bean instance, if the bean throws a system exception B. log the exception or error, if the bean throws an application exception C. throw java.rmi.RemoteException, if the bean throws an application exception D. call SessionSynchronization.beforeCompletion on the bean, if the bean throws a system exception Answer: A QUESTION: 16 Which two statements describe characteristics of an application exception? (Choose two.) A. It can be thrown as an unchecked exception. B. It may subclass java.rmi.RemoteException. C. It represents an exception intended for the EJB client. D. When thrown to the container, it does not cause the bean instance to be automatically discarded. Answer: C, D QUESTION: 17 Which exception can be thrown by the findByPrimaryKey method of a remotely called entity bean using container-managed persistence? A. B. C. D. javax.ejb.EJBException javax.ejb.DuplicateKeyException javax.ejb.NoSuchEntityException javax.ejb.ObjectNotFoundException Answer: D 10 http://www.testkiller.com http://www.troytec.com
Slide 11: 310-090 QUESTION: 18 Given: public void setSessionContext (javax.ejb.SessionContext ctx) { context=ctx; } Assuming a stateless session bean, with container-managed transaction demarcation, which method can be performed in the setSessionContext method? A. B. C. D. context.getEJBHome(); context.getEJBObject(); context.setRollbackOnly(); context.lookup("java:comp/env/jdbc/orders"); Answer: A QUESTION: 19 Given: A stateful session bean allocates resources in the ejbCreate method and releases the resources in the ejbRemove method. When will this resource release strategy fail? A. B. C. D. after a transaction rollback after normal completion of a transaction after a timeout of client inactivity while the instance is in the active state after a system exception is thrown from the instance's method to the container Answer: D QUESTION: 20 You have a stateless session bean with container-managed transaction demarcation. Which two methods can be invoked only after execution of the setSessionContext and ejbCreate methods completes? (Choose two.) A. B. C. D. context.getEJBHome() context.getRollbackOnly() context.getEJBLocalHome() context.getUserTransaction() 11 http://www.testkiller.com http://www.troytec.com
Slide 12: 310-090 E. context.getCallerPrincipal() Answer: B, E 12 http://www.testkiller.com http://www.troytec.com

   
Time on Slide Time on Plick
Slides per Visit Slide Views Views by Location