Programming Tutorials

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

By: Ash in Interview Tutorials on 2008-08-13  

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 .

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

What is the difference between Session Bean and Entity Bean?

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

Explain the different forms of Polymorphism.

Interview Question: Is there a particularly good IDE to use with Struts ?

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

Interview Question: Do ActionForms have to be true JavaBeans?

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

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

Interview Question: Write code of any Action Class?

Interview Question: What is Struts?

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

What is difference between Java Bean and Enterprise Java Bean?

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

What is transient variable?

What is bean managed transaction?

Latest Articles (in Interview)