Sreejobs Logo
   For Latest Job Updates 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
SreeJob Fees   Feeds
Hot Jobs
Welcome Guest
Login | Register
Total No Of Questions: 100.
1) Which statement is true about the Timer service in an EJB 3.0 stateless session bean?

2) Given the method invocation sequence: Method 1 calls Method 2 Method 2 calls Method 3 Method 1 calls Method 4 And the transaction scope: Method 1: Transaction A Method 2: Transaction A Method 3: Transaction A Method 4: Transaction B Assuming Method 1 is invoked by a client without an existing transaction context, which set of transaction attributes will support this scope?

3) Which statement is true about the Timer service in an EJB 3.0 stateless session bean?

4) The deployment descriptor for a stateless session bean that uses the isCallerInRole method reads as follows: 3. 4. manager 5. humanresources 6. 16. 17. 18. Is allowed to view and update all employee records. 19. 20. humanresources 21. Which two roles are responsible for creating this deployment descriptor? (Choose two.)

5) A developer wants to create a portable EJB 3.0 application that includes the following class definition for the Entity Account: 11. @Entity 12. @EntityListeners(com.acme.AlertMonitor.class) 13. public class Account { 14. // more code here 15. @PrePersist 16. protected void validateCreate() {/* more code here */} 17. } Which statement is correct?

6) You have been asked to develop business methods for an enterprise bean to fulfill the following objective: If the JDBC connection is NOT available, the current state of the shopping cart session must be serialized.A serialized state must be written to a text file using a must be shared with a Web services end point.Logging information must be displayed in a javax.swing.JPanel component.Which is true?

7) A Java EE 5 application contains a session bean which uses a security role USER. A group called people is defined in an LDAP server. Which two define appropriate EJB role responsibilities? (Choose two.)

8) Given the following entity class: 11. @Entity public class Customer { 12. @Id private int id; 13. private transient String name; 14. private java.math.BigDecimal grossAmmount; 15. } Which mapping annotation can be added to the fields of this entity?

9) Which statement about message-driven beans is correct?

10) The Java Persistence entity LineItem defines a composite primary key that is defined by the two columns ORDERID and LINEITEMID in the database. Which two are true? (Choose two.)
Home | Register for Job Updates | Contact Us