Hi Thomas, Indeed the StockWatcher tutorial includes a section on using GWT RPC which should help as an example in your case. The webAppCreator also generates a starter sample application that includes a GWT RPC component as well, so you may want to use that as a reference.
For more specific help on using RPC for your applicaiton, it might help to know a bit more about the types that you want to send over the wire. If you're using DTOs across the wire, keeping track of objects updated on the client and persisting the changes to the server could be a matter of introducing (somewhat smelly) boolean control, a client-side register, or something else. A good solution depends on the type of information you want to send across. Hope that helps, -Sumit Chandel On Sun, Sep 6, 2009 at 2:03 PM, Jim Douglas <[email protected]> wrote: > > Hi Thomas, > > The tutorials are very helpful; I worked through implementing the > StockWatcher sample to get my head around GWT concepts (including > RPC): > > http://code.google.com/webtoolkit/tutorials/1.6/index.html > > > On Sep 6, 1:50 pm, Thomas Holmes <[email protected]> wrote: > > I posted this before, and I was waiting for the moderators to put this > > online. > > I am desperate, and need a working GWT-RPC working ASAP. I've got 6 > > new books on GWT and some refer to older 1.5 versions and not the new > > versions. > > > > We have Spring 2.5.6, some MVC, using Spring Beans, and Hibernate > > POJO's with Annotations. > > There is NO hibernate.cfg.xml and there are NO Object.hbm.xml files, > > but we do have working DAO's which work great. > > > > Now ... I want to be able to take a Master/Detail (or Parent Child/ > > Record), bring it to the front-end, edit the data and push it back. > > So, I am going to need a GWT-RPC service(s) so we can do CRUD > > functionality. All the samples I have seen use hbm.xml files and > > expect a hbernate.cfg.xml which we don't have. > > > > So, if anyone can point me in the right direction with working > > examples, it will be much appreciated. > > > > thanks! > > Tom > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
