GWT app and Hibernate under Eclipse
I have a GWT app created by GWT wizard under Eclipse. I also created a separate project (called Model) in the workspace where I put Hibernate classes and mapping hbm.xml files. Now I'd like to properly reference this project from my GWT project so that Hibernate configuration can successfuul开发者_Python百科ly load classes and mapping files from GWT service. I want to use Hibernate on server side to access database. After I specified that the Model project is referenced by GWT project the classes are visible from GWT service but while running the project GWT cannot see the hbm.xml files. How to properly configure the workspace?
Regards Dominik
Usually I use the maven to build multimodule applications. To work with GWT I am using gwt-maven plugin. In eclipse I am using m2eclipse plugin. Hope it will help you.
P.S. I can't use more than one hyperlink, but you easy find these plugins by google.
精彩评论