I'm trying to determine the optimal configuration for a web application that uses Hibernate, in a Clustered env. on JBoss application server.
I know JBossCache can be configured as a second level cache through Hibernate, or in JBoss AS using AOP.
Is there any reason to do both or is this redundant? Which configuration makes more sense?