I am using Hashtable for Lock management. I am using connections as a pool. As I am going the the posts out here, most of the guys employing HashMap. I know methods of HashTable are synchronized & it doesnt let you have null as a value for a key. Whats the main reason, so HashMap is preferred inspite of HashTable ? waiting for your replies...
Peter den Haan
posted 15 years ago
Check out this thread. What applies to Vector is equally true for Hashtable. - Peter