Hi Haresh,
you could look at the previous post I have: http://community.jboss.org/thread/165330?tstart=0 which is a JUnit class that creates, uses and destoys a cache. I have the XML configuration stored in a file called jboss-cache-configuration.xml on the classpath.
The User Guide is also pretty nifty: http://docs.jboss.org/jbosscache/3.2.1.GA/userguide_en/html_single/index.html
This forum isn't the best to be honest and replies are very hard to come by from I've found. Start with the user guide and see how you go.
!
div>