You can use either TreeCache if the hashmap is not too big. Or TreeCacheAop if you want fine-grained replication.
Thanks Ben, I will have a look and may contact you incase I need any help. by the way, we are using hsahtable not hashmap. So if i user treecahceaop will it care of syn