Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Will synchronized (lock) work in clustered EJB environment?  RSS feed

 
Ken Chen
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm migrating one stand alone servlet application to WebLogic EJB platform. The servlet uses synchronized (lock) wraps one RMI applicaiton call to ensure the RMI call synchronized(because the RMI applicaiton can not handle concurrency). Now I have been told there might be potential issue with the usage of 'synchronized (lock)' in EJB clustered environment. Can any one provide any insight on this? Thanks,
Ken
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using synochronized is not allowed in EJB.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!