Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

question on synchronization inside server  RSS feed

 
Bill william
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for cross posting, there is not much traffic in the synchronization forum.
http://www.coderanch.com/t/231920/threads/java/synchronize-class-JSP-client
thanks
 
Bill william
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone pls?
 
Rajeev Gupta
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your problem seems to be one were you need table / record level synchronization. You could use store procs along with transactions to check and insert a user in your database table. This would work with multiple JVMs as well as would scale much better.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!