Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Is making the methods thread safe, allowed in EJB within the Java forums, part of the Software Development category; 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 ...
|
|||||||
|
|||
|
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 |
| Sponsored Links |
|
|||
|
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." |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wondershare DemoCreator captures on-screen actions for making software tutorials, pre | JobHelper | Geeks Lounge | 0 | 06-14-2007 08:00 AM |
| Self Confidence In Decision Making | Lokesh M | Personality Development | 0 | 04-20-2007 12:25 AM |
| What Happens in Operating System- Safe Mode | norman | Windows | 1 | 04-03-2007 10:28 PM |
| Things to consider when making a career change | Lokesh M | Career Advice | 0 | 01-26-2007 06:40 AM |
| thread safe | mnj_rt | Java | 1 | 06-17-2006 07:36 AM |