In MultiThreading....I'm using Hashmap ....Is there any deadlock occurs?
HashMap has synchronization issues in multithreading. Simultaneous access to hash map must be handled by the programmer as methods are not synchronized. This can lead to data inconsistency in many cases. Under worse scenarios, you may even get a deadlock. (If programmed too bad)
Instead replace HashMap with HashTable. Its nicely suited for multi-threaded apps if you wanna get going fast.