EJB Quiz - EJB Online Test - EJB certifcation test

Online EJB quiz with 20 questions for EJB enthusiasts with some sample questions. This online test helps you prepare for upcoming interviews, certification tests and other entrance exams. The score displayed at the end of EJB test helps you assess your level of preparation.
Online Practice Test > E JB quiz
Click here to start EJB quiz/test
Here are few sample EJB test/quiz questions

Which of the following is not a life-cycle method for a Stateful Session Bean?

Post Construction
Pre Destruction
Post Activation
Pre Construction


Which of the following regarding business methods in a bean class is incorrect?

Both session bean and entity bean business business methods are always same
For Java RMI API, the argument and return types must always be legal types
The throws clause may include any exceptions defined by your application.
None of the above

Choose the incorrect statement from the following about Home methods in a bean class for CMP (Container Managed Persistence).

The throws clause of the method may include the java.rmi.RemoteException.
Relationships must not be accessed by the method
The persistence state of the bean must not be accessed by the method
The static declaration can not be done for the method. 

Click here to start EJB quiz/test  

More Links

What is Message Driven Bean?

Latest answer: A Message Driven Bean is a message consumer. Message-driven beans receive JMS messages and process them. It listens to message destination or endpoint and gets activated when a message arrives............. 

What is Deployment descriptor?

Latest answer: The deployment descriptor directs a deployment tool to deploy a module or application with specific container options.............. 



Write your comment - Share Knowledge and Experience

Discussion Board
EJB Quiz, EJB Online Test, EJB certifcation test

Which statement about session beans is true?

In both stateless and statefull session classes, the bean provider must write the method public void remove()
The method << remove >> in the component interface can be accessed only by the remote clients
The bean’s handle must be provided by the client, in order to ask the EJBHome for removing a session bean
None of the above


EJB Quiz, EJB Online Test 05-10-2012 06:26 AM

EJB Quiz, EJB Online Test, EJB certifcation test

Which of the following is true about EJB transactions?

Nested transactions are supported by EJB 2.0
Isolation levels specification is supported by EJB 2.0
Bean-managed transaction demarcation must not be used in Message-driven beans
Bean-managed transaction demarcation must not be used in Entity beans


EJB Quiz, EJB Online Test 05-10-2012 06:25 AM

EJB Quiz, EJB Online Test, EJB certifcation test

Which of the following regarding business methods in a bean class is incorrect?

Both session bean and entity bean business business methods are always same
For Java RMI API, the argument and return types must always be legal types
The throws clause may include any exceptions defined by your application.
None of the above


EJB Quiz, EJB Online Test 05-10-2012 06:25 AM

EJB Quiz, EJB Online Test, EJB certifcation test

Which of the following is not a life-cycle method for a Stateful Session Bean?

Post Construction
Pre Destruction
Post Activation
Pre Construction


EJB Quiz, EJB Online Test 05-10-2012 06:25 AM

More online test

Software Engineering Test
PHP Online Test
DHTML Online Test
CSS Quiz
MySQL Online Test
VLSI Online Test
XML Quiz
UML Online Test
HTML Practice Test
Oracle DBA Test
Oracle Replication Online Test
Oracle Architecture Online


Career 12-20-2011 03:04 AM

 


Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring