Geeks Talk

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.

Is making the methods thread safe, allowed in EJB

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 ...

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-22-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 192 Times in 154 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-26-2007
Junior Member
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 3 Times in 2 Posts
rajeshnarkhed is on a distinguished road
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."
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 01:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved