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?

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.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Explain the Encapsulation principle.

What is Collection API?

What are the services provided by a J2EE container?

Interview Question: What is Local client view in EJB?

Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

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

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

Interview Question: What are the call back methods in Entity bean?

Interview Question: What is the difference between JavaBean and EJB?

Question: What is an Expression tag in JSP?

What are all the different scope values for the tag?

Name the containers which uses Border Layout as their default layout?

What are implicit Objects available to the JSP Page?

What is transient variable?

Latest Articles (in Interview)