| While deploying hibernate as a Resource Adapter (to WebLogic), I found myself wishing that I had two separate hibernate jars-- one containing the hibernate interfaces that application components interact with, and one containing the implementation.   I believe that such a separation would allow for a cleaner deployment.  (My current deployment has all of hibernate on the application server class path.  I think an alternative would have been to deploy hibernate with each application.) 
My hope was that by having two jars, I could put the interfaces on the application server class path, and deploy everything else (including the 3rd party jars) in a single .rar.
 
 When I tried to re-package things for myself (starting the interfaces at net.sf.hibernate.Session), I quickly became hopelessly entangled by dependencies.
 
 I'm curious if anyone has any thoughts (does this seems worthwhile, is the deployment I'm suggesting valid or is there a problem with my thinking,  is repackaging easy for someone more in-the-know or extraordinarly hard)?
 
 
 |