I have done a few tutorial on integrating the two technologies with Spring also for a true web app:
Part One - http://eggsylife.blogspot.com/2007/10/well-this-tutorial-aims-at-helping.html Part Two - http://eggsylife.blogspot.com/2007/11/hibernate-spring-google-web-toolkit.html Part Three - http://eggsylife.blogspot.com/2008/02/hibernate-spring-google-web-toolkit.html Part Four - http://eggsylife.blogspot.com/2008/09/hibernate-spring-google-web-toolkit.html Part Five - http://eggsylife.blogspot.com/2008/11/hibernate-spring-and-gwt-for-gwt-15.html Eggsy On Jan 13, 12:24 am, Sumit Chandel <[email protected]> wrote: > Hi Dessorry, > > In terms of where to put your Hibernate code, you're most likely to get > useful replies and information on the Hibernate site and discussion forum: > > Hibernate homepage:http://www.hibernate.org/ > > About using your Hibernate objects in GWT - as you will discover by > searching threads in this forum about the subject, you normally can't use > Hibernate objects directly in GWT RPC because of the types used in Hibernate > that aren't supported by GWT's emulated JRE. However, you can always create > data transfer objects that mirror your Hibernate objects. These are regular > POJOs that obey the constraints of the emulated JRE. In addition to this and > other techniques you might find in a group search, you can also use the > Gilead library which is designed for the purpose of integrating Hibernate > with GWT. > > Chances are that since you're just getting started out with GWT, there are > probably more than a few terms in the preceding paragraph that might have > you scratching your head. Check out the links below for more info and feel > free to post back if you have an additional questions. > > GWT emulated > JRE:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog... > > Gilead project:http://noon.gilead.free.fr/gilead/ > > Hope that helps, > -Sumit Chandel > > On Fri, Jan 9, 2009 at 3:15 AM, Martin <[email protected]> wrote: > > > if you want to take a look at a toplink JPA based solution, check out > >http://toools.org > > > cheers > > > On Dec 3 2008, 11:13 am, Dessorry <[email protected]> > > wrote: > > > Hi, > > > I'm trying to build my first GWT application; i would read data from a > > > database and display it on a simple gwt page. > > > I create in Eclipse my Web Dynamic Project. > > > I put my POJO class in mypackage.server and the class with entrypoint > > > in mypackage.client. > > > I create a new GWT Remote Service with Eclipse. > > > Now where must i put the hibernate code to access database? > > > p.s.in mypackage.server there are hibernate.cfg.xml and pojo.hbm.xml > > > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
