Wow, I didn't recognize this feature. It's great, but it would only work, if
Hibernate is used as a JPA provider.

More on this:
http://code.google.com/intl/de/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes
Look at the 'Serializing Enhanced Classes' section.

Regards
Jan Ehrhardt

On Wed, Jan 27, 2010 at 5:55 PM, Matt Moriarity <matt.moriar...@gmail.com>wrote:

> I read that GWT 2.0 supports serializing enhanced objects from JDO or
> JPA. So if they are hibernate objects, wouldn't the JPA support cover
> that?
>
> On Jan 27, 1:30 am, Jan Ehrhardt <jan.ehrha...@googlemail.com> wrote:
> > The problem is the GWT RPC's serialization, which can't work with objects
> > created by hibernate. You can use the DTO Grails plugin (
> http://www.grails.org/plugin/dto) or you can use JSON / REST for
> > communication.
> >
> > In the case of a Grails app, which comes with great support for REST /
> JSON,
> > I would prefer the second way.
> >
> > Regards
> > Jan Ehrhardt
> >
> > On Wed, Jan 27, 2010 at 4:37 AM, Don Ruby, R&amp;D <
> >
> >
> >
> > donald.r...@mindspring.com> wrote:
> > > GWT is the obvious choice for UI. But if you want to use Grails/Groovy
> > > for server side, you have to either code messy DTOs or client side
> > > POJOs.  It would be nice if GWT would support using the Grails/Groovy
> > > domain objects directly on the client.  Any chance of that happening?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs
> cr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to