How many EJB Objects are created for a Bean



Q) How many EJB Objects are created for a Bean?
A)
For a Session bean – one EJB object for one bean instance.
For entity bean – it depends , if 2 users are accessing one row at a time then one EJB object is used for both the beans other wise for each bean one EJB object.

Share with SociBook.com

Related Post

Post a Comment