开发者

GWT app and Hibernate under Eclipse

开发者 https://www.devze.com 2022-12-17 12:39 出处:网络
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 proper

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号