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 garbage collection?

Getting started with Interview

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

Interview Question: Can i map more than one table in a CMP?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: How do I install Struts?

What is the difference between JTS and JTA?

What is difference between Java Bean and Enterprise Java Bean?

What is the difference between Session Bean and Entity Bean?

Interview Question: What is the difference between EAR, JAR and WAR file?

What do you understand by a container in J2EE?

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 Message Driven Bean?

Latest Articles (in Interview)