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

By: Ash Printer Friendly Format    

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

Answer:

If we define the entity bean as being reentrant, multiple clients can connect to the Entity bean & execute methods within the entity bean concurrently. Container takes care of synchronization. If we define the entity bean as non-reentrant and many clients connect to it concurrently to execute a method, exception is thrown .

 

 

 

 



Most Viewed Articles (in Interview )

Question: What is a Hidden Comment in JSP?

What is Collection API?

Interview Question: Where can I get a copy of Struts?

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

Interview Question: Why do we need Struts?

Interview Question: What is ActionServlet?

Question: Difference between forward and sendRedirect in JSP?

What is the difference between Session Bean and Entity Bean?

What is expression in JSP?

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

Interview Question: How does Struts work?

Interview Question: Why are some of the class and element names counter-intuitive?

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

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

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

Latest Articles (in Interview)

Comment on this tutorial