Interview Question: How many EJB Objects are created for a Bean?

By: Ash Emailed: 1785 times Printed: 2623 times    

Question:How many EJB Objects are created for a Bean?

Answer:

For a Session bean - one EJB object for one bean instance.

For entity bean - it depends , if 2 users are accessing one row at time then one EJB object is used for both the beans other wise for each bean one EJB object.

 

 

 

 

Most Viewed Articles (in Interview )

Latest Articles (in Interview)

Comment on this tutorial