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 wants to implement a relationship between Company and Department entity classes. Every department belongs to one company, and one company has several departments. In this application it is essential to quickly determine which company a department belongs to and to also easily access all departments of a given company. Which two declarations provide a solution to these requirements? (Choose two.)


2) Which option will a developer use to obtain a MessageDrivenContext in a message-driven bean class written to the EJB 3.0 API?


3) A developer maps the abstract entity class Account with concrete entity sub-classes CreditCardAccount and SavingsAccount using the single table per class hierarchy strategy.Which two statements are true? (Choose two.)


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


5) Which statement describes a component definition that is allowed by the EJB 3.0 specification?


6) A developer writes client code that runs in a Java EE container and accesses an EJB 3.0 stateful session bean. Which three statements are correct? (Choose three.)


7) Given: 10. @Stateless 11. @RunAs("X") 12. public class SecureBean01 implements Secure01 { 13. @EJB Secure02 secure02; 23. @RolesAllowed("A") 24. public void methodA() { 25. secure02.methodB(); 26. } 10. @Stateless 11. public void SecureBean02 implements Secure02 { 23. @RolesAllowed("A") 24. public void methodB() { A user who is only in role A invokes Secure01.methodA. Assuming NO other security-related metadata, what is the expected result?


8) Which statement is true about both stateful session beans and stateless session beans?


9) Which statement is correct about the Java Persistence API support for the SQL queries?


10) Which statement is true about the Timer service in an EJB 3.0 stateless session bean?
Home | Register for Job Updates | Contact Us