I am moving an application from standalone Tomcat 5.5.x to JBOSS. In Tomcat, I declare my cached classes[ & collections] in the hibernate.cfg.xml file. for example:
<class-cache class="com.elasticpath.commons.datatransfer.AddressDTO" usage="read-only"/>
<class lazy="false" name="com.elasticpath.commons.datatransfer.AddressDTO" table="TADDRESS"> <cache usage ="read-only"/>