|
What is the use of reentrant in Entity Beans |
|
|
Reentrant flag is used to control the concurrent execution of methods with in the entity beans.
- If reentrant is defined as true in the entity bean deployment descriptor, multiple clients can connect to the Entity bean and execute methods within the entity bean concurrently. And J2ee Container takes care of synchronization.
- If reentrant is defined as false in the entity bean deployment descriptor, and many clients tries to connect to Entity Bean concurrently to execute a method, exception is thrown.
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.