Programming Tutorials

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

By: Ash in Interview Tutorials on 2008-08-13  

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


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.





Add Comment

* Required information


No comments yet. Be the first!

Most Viewed Articles (in Interview )

Interview Question: Is there a particularly good IDE to use with Struts ?

Explain the different forms of Polymorphism.

What are Access Specifiers available in Java?

Interview Question: Where can I get help with Struts?

What are all the different scope values for the tag?

Interview Question: What is ActionServlet?

Interview Question: If the framework doesn't do what I want, can I request that a feature be added?

Interview Question: Do ActionForms have to be true JavaBeans?

Interview Question: What are the optional clauses in EJB QL?

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

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Explain the new Features of JDBC 2.0 Core API?

Interview Question: What is Deployment descriptor?

Interview Question: Can I invoke Runtime.gc() in an EJB?

Interview Question: How is the MVC design pattern used in Struts framework?

Latest Articles (in Interview)