Udaya,
First step - since this seems like a new application that you're writing I'd suggest that you don't use JBoss Cache :) . JBC hasn't had any development going on it for at least a year or so now. All the new development is on Infinispan now. There is tonnes of documentation out there for you to go and read up on how to write up the application that you require using Infinispan.
Just out of interest, what's the reason that you decided to use JBoss Cache as opposed to Infinispan in the first place? Was it that you just haven't heard of it?