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 )

Explain the different forms of Polymorphism.

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

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

What is the difference between Session Bean and Entity Bean?

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

Explain the new Features of JDBC 2.0 Core API?

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

Interview Question: Can I invoke Runtime.gc() in an EJB?

What are Access Specifiers available in Java?

Interview Question: Do ActionForms have to be true JavaBeans?

Interview Question: What is ActionServlet?

What are all the different scope values for the tag?

Interview Question: Where can I get help with Struts?

What is JSP Output Comments?

Interview Question: Write code of any Action Class?

Latest Articles (in Interview)