Sreejobs Logo
   For Latest Job Updates  
sreenutech.com Online Exams
Home Govt Jobs IT Fresher Jobs IT Exp Jobs IT Walk-Ins MBA Jobs BPO Jobs Register FAQ’s Post Job Contact Us
Search:
SreeJob Fees   Feeds
Hot Jobs
Welcome Guest
Login | Register
Total No Of Questions: 100.
1) A developer has obtained a container-managed entity manager with transaction scoped persistence context. Assume there is no persistence context associated with the entity manager. When does a new persistence context begins?


2) The Java Persistence API defines the Query interface. Which two statements about the Query.executeUpdate method are true? (Choose two.)


3) The Java Persistence API defines the Query interface. Which two statements about the Query.executeUpdate method are true? (Choose two.)


4) A developer writes a stateless session bean with one local business interface and with container-managed transactions. All business methods have transaction attribute REQUIRED. The bean has an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a business method of the bean? (Choose two.)


5) Given this Java EE application that uses a JTA application-managed entity manager: 20. UserTransaction utx = ...; 21. utx.begin(); 22. // insert code here 23. utx.commit(); Which two code fragments can be used on Line 22 to persist an order instance assuming that all references are properly initialized? (Choose two.)


6) A developer is implementing an EJB 3.0 JMS message-driven bean with bean-managed transactions. Which two statements are true? (Choose two.)


7) Which Java Persistence query uses the aggregate function correctly,assuming that chairs field is of type int?


8) Given: 5. public interface MrB1 { 6. public interface MrB2 { A java class is defined as: 11. @Stateless 12. public class MrBean implements MrB1,MrB2 { Which two statements are correct for making this code work as a stateless session bean, considering that this session bean is NOT defined in a deployment descriptor and the interfaces do NOT have annotations? (Choose two.)


9) Which statement is true about the EJB 3.0 stateful session bean?


10) Which statement about message-driven beans is correct?
Page 1 of 10
Home | Register for Job Updates | Contact Us