Hi! Yup, that's how I would proceed. Of course, it would be better to catch the values of a form as a bean and then push it to the server, but I haven't figure out if it's working different than that.
Right now, I'm trying to work with GWT-Ext and Spring to make the live a little bit easier, in the matter of sending values from the database as JSON Objects with a view resolver. I will post a result in the forum as soon as I got done. Dariusz On Fri, Jan 9, 2009 at 3:32 AM, Arji <[email protected]> wrote: > > Hi Dariusz, > > Thanks for the reply.. As I looked at the tutorials or forums, here is > my conclusion.. correct me if I'm wrong.. > > The Persistent Class (Java Bean) will be residing in the server > package, so in the Form, there is no need to convert the values into a > bean, i will just simply use a Map, then after the Map has been passed > to the Service, that's the time I will convert them into a Persistent > Class. Thanks! > > On Jan 8, 2:00 pm, "Dariusz Borowski" <[email protected]> wrote: > > You need to provide your module with a service. The service then takes > care > > of all your operations in the back > > > > You can take a look at the forum with tutorials and tips: > http://www.gwt-ext.com/forum/viewforum.php?f=9 > > > > Or take a look at the really nice sample in this video: > http://showmedo.com/videos/video?name=2040010;fromSeriesID=204 > > > > Or if it helps just take a look on this entry: > http://www.dariusz-borowski.com/wp/?p=20 > > > > Cheers, > > Dariusz > > > > On Thu, Jan 8, 2009 at 4:41 AM, Arji <[email protected]> wrote: > > > > > Hi All, > > > > > Can anyone shed some light regarding my problem? > > > > > In GWT, you can't access the Java classes unless they are inside the > > > client package. > > > > > For example, I have an entity class (Java Bean) "Employee" under the > > > client package, and I want it to be saved in the database. Is it a > > > "Best Practice" to access the Emlpoyee entity class under the client > > > package by the Database Class (DAO)? > > > > > I hope my question is clear. Thanks All! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" 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/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
