Folks, I have two webapp contexts under tomcat, and I want them to use a common dao.
So I want to split out our hibernate classes and the hbms into their own jar file... like their own eclipse project... DAO. Then make my two webapps dependent on this DAO project.
Is this possible, or do I need to have the *.hbm.xml files physically exist in each web app?
That is to say, each webapp would have a dao.jar with the DAO classes and hbms in there.. will this work? Is there anything special I have to do for this.. reference the hbm files differently?
|