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.

Random Posts

  • Explain Jsp Directives
  • Springs Interview Questions
  • JSP Interview Questions
  • JDBC Questions
  • Java Interview Questions

Post a Comment