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

By: Ash Viewed: 153220 times  Printer Friendly Format    


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