Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread safety

 
Cecilia Anderson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
In the Sun requirements it is stated that both the server and the suncertify.db classes must be threadsafe.
The methods in my Data class are synchronized.
The only thing the server does is "Naming.rebind(..), createRegistry(..)". How can I make that threadsafe??
//Cecilia
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cecilia:

The only thing the server does is "Naming.rebind(..), createRegistry(..)". How can I make that threadsafe??

Why do you want to make them thread safe?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic