Re: GWT RPC Hibernate - again and again

2009-09-14 Thread David Durham
On Fri, Sep 11, 2009 at 6:29 AM, Ed post2edb...@hotmail.com wrote: He David, Gilead.  I just used the underlying beanlib replicators to undo the cglib or javassist stuff before serializing to client. Which beanlib replicators are you using? Believe it was called Hibernate3BeanReplicator ..

Re: GWT RPC Hibernate - again and again

2009-09-14 Thread Alexandros Papadakis
The latest I guess (depending on the version of GWT you use???). There is a forum (there was at least one for h4gwt) where the author can help you... You should be carefull though which version of the gwt-servlet.jar you use. I spend a whole day trying to figure out why an older version of this

Re: GWT RPC Hibernate - again and again

2009-09-11 Thread Ed
Thomas, Did you look at ?: http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html If not, try it out, it will give you a good understanding of how hibernate/gwt works together. --~--~-~--~~~---~--~~ You received this message because you are

Re: GWT RPC Hibernate - again and again

2009-09-11 Thread Ed
He David, Gilead.  I just used the underlying beanlib replicators to undo the cglib or javassist stuff before serializing to client. Which beanlib replicators are you using? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: GWT RPC Hibernate - again and again

2009-09-11 Thread Bruno Nandolpho
What version of gilead is the better? I´ m using 1.2.0.29..when i tryed to update to a new version, i cant serialize my objects...any help? On Sep 10, 5:50 pm, Alexandros Papadakis alpa...@gmail.com wrote: Download hibernate4gwt. It is the predecessor of Gilead. There are samples there on how

Re: GWT RPC Hibernate - again and again

2009-09-11 Thread Thomas Holmes
Damn .. you are the man hat solved my problem. I started with the StockWatcher application, and then added my Hibernate POJO's and DAO;s. However, I had the DAO's under the client directory, when I managed to move those DAO's to the /server section, then it worked. I am now able to get my data

Re: GWT RPC Hibernate - again and again

2009-09-10 Thread Kango_V
fyi: I have posted a feature request into Hibernates Jira asking for a new entity mode be added. Current Hibernate supports the current entity modes. XML POJO MAP This means that entities can be retrieved and updated again in these formats. Now, if we could just add JSON to this list. Having

Re: GWT RPC Hibernate - again and again

2009-09-10 Thread Robnauticus-
Another thing to look at is GWT-SL it has Spring, hibernate, Gilead and many other tools for integration. Rob On Sep 9, 12:29 pm, Thomas Holmes thomas.j.hol...@gmail.com wrote: Yes, absolutely 100% I do have Hibernate working with Annotations! The Hibernate DAO's and POJO's have all been

Re: GWT RPC Hibernate - again and again

2009-09-10 Thread jdwy
Hey Thomas, A little late to the conversation, but I just want to say that I don't think the ToCollege code (or structure) should require a hibernate.cfg.xml. It should be ok to annotate the models that live in your client directory. That wasn't the case with earlier GWT because the annotations

Re: GWT RPC Hibernate - again and again

2009-09-10 Thread Alexandros Papadakis
Download hibernate4gwt. It is the predecessor of Gilead. There are samples there on how to use Spring + JPA. Try the samples, understand how it works, and then move to Gilead. It is just a matter of changing a few definitions. If you cant find it, mail me and I will send you the samples. Alex

Re: GWT RPC Hibernate - again and again

2009-09-09 Thread Raphael André Bauer
On Tue, Sep 8, 2009 at 10:17 PM, Thomas Holmesthomas.j.hol...@gmail.com wrote: Would you have some sample code that I could see ... or a link to some. I'm going to continue looking through my book, and use their example that uses the Command Pattern. I am getting tons of errors because my

Re: GWT RPC Hibernate - again and again

2009-09-09 Thread Thomas Holmes
I get the idea that ouside packages need to be include in the module ... but of course I am going to include code from outside packages Hibernate and Spring jars are outside ... and there is no source code: so, here are some errors; [ERROR] Line 5: The import org.springframework.orm cannot

Re: GWT RPC Hibernate - again and again

2009-09-09 Thread Raphael André Bauer
On Wed, Sep 9, 2009 at 5:35 PM, Thomas Holmesthomas.j.hol...@gmail.com wrote: I get the idea that ouside packages need to be include in the module ... but of course I am going to include code from outside packages Hibernate and Spring jars are outside ... and there is no source code:

Re: GWT RPC Hibernate - again and again

2009-09-09 Thread Robnauticus-
Hello Thomas, Do you have Hibernate working with annotations? If you don't have an cfg.xml file set up and mapping files, Hibernate will not work. You are also attempting to call spring classes inside of GWT which will not work. I created a Domain package that serves as the in-between for

GWT RPC Hibernate - again and again

2009-09-08 Thread Thomas Holmes
I am going to keep asking and keep bugging and jumping up and down until I get an answer that can help me. I have the book Pro Web 2.0 Application Development with GWT and Chapter 6 is about saving work with Hibernate to the database ... too bad it expects a hibernate.cfg.xml file and

Re: GWT RPC Hibernate - again and again

2009-09-08 Thread David Durham
After research in this group, and on Google in general, I have found that I should look at Gilead. So, I downloaded the latest jars and the latest sample (using GWT 1.6) and sure enough, AGAIN, the sample uses hibernate.cfg.xml and Object.hbm.xml files I was able to make GWT and

Re: GWT RPC Hibernate - again and again

2009-09-08 Thread Thomas Holmes
Would you have some sample code that I could see ... or a link to some. I'm going to continue looking through my book, and use their example that uses the Command Pattern. I am getting tons of errors because my DAO's and POJO's are in another package, so I was working with GWT Modules to try