adspace


What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

Answer Posted / Mahendra Prasad

Re-entrancy refers to a method being called recursively from within itself. In Java EE, Session Beans can be designed to be re-entrant as they support container managed transactions. However, Entity Beans cannot be explicitly specified as re-entrant. By default, Container Managed Persistence (CMP) Entity Beans are not re-entrant due to potential issues with concurrent access. But, Bean Managed Persistence (BMP) Entity Beans can be made re-entrant by using proper locking mechanisms.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category