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 )

The output of System.out.println(5<<2) in Java

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

Interview Question: Where can I get help with Struts?

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

Interview Question: What is lazy loading?

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

What are implicit Objects available to the JSP Page?

Interview Question: What is Remote client view?

What is the difference between Session Bean and Entity Bean?

Question: What is an output comment in JSP?

What do you understand by a J2EE module?

Interview Question: What is Action Class?

What do you understand by JTA and JTS?

Interview Question: What is Struts?

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

Latest Articles (in Interview)