Nedd to fix transaction control in ehcache. Possible: switch to fulll JEE compatible server like glassfish.
TODO:
Configure DS in the JBoss AS.
Configure TxManager in hibernate  + ehcache.xml

Prepare model tier to integrate with Spring
Just a mess. Hard deployment.
Eventually JNDI ds works under enterpriseDS jndi name. Use Apache T0mcat.

TO FIX: memory leaks in C3P0, ThreadPool doesn;t destroy properly when web-app is deployed/undeployed