-
Is making the methods thread safe, allowed in EJB
Is making the methods thread safe (probably by synchonizing), allowed in Session/Entity beans by the bean developer? Or is that taken care by the Container? As a developer , is there any information needs to provide to the container through deployment descriptor? What are the attributes used in that?
Question asked by visitor Ravi
-
Junior Member
Re: Is making the methods thread safe, allowed in EJB
If you use synchronize in EJB methods then that program violates the following EJB guideline:
"An enterprise bean must not use thread synchronization primitives to synchronize execution of multiple instances."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules