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 )

Interview Question: What is Struts Validator Framework?

Interview Question: What is ActionForm?

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

What is the difference between Session Bean and Entity Bean?

What are the services provided by a container?

What is Deployment Descriptor?

What is difference between Java Bean and Enterprise Java Bean?

What is the difference between jsp:forward and response.sendRedirect(url),?.

Interview Question: What is Struts?

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

Interview Question: Who makes the Struts?

Interview Question: Why it is called Struts?

Interview Question: What is Action Class?

Interview Question: Write code of any Action Class?

Interview Question: Why do we need Struts?

Latest Articles (in Interview)

Comment on this tutorial