You might want to look into the 'Dynamic Proxy' or 'Stateful Server'
configurations of Gilead. These modes do not impose any technical
inheritance or interface implementation requirements on your POJOs.
Regarding remote services, you'll want to look into GWT-SL - it allows
exporting regular POJOs as GWT-RPC services through Spring, and supports
Gilead.

Good luck.

On Fri, Jan 30, 2009 at 7:50 PM, Karthik Karuppannan <
[email protected]> wrote:

>  GWT is not able to serialize the PersistentSet in Hibernate POJO objects
> and throwing below errors.
>
>
>
> Caused by: *com.google.gwt.user.client.rpc.SerializationException*: Type
> 'org.hibernate.collection.PersistentSet' was not assignable to
> 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom
> field serializer.  For security purposes, this type will not be serialized.
>
>       at
> com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateSerialize(
> *LegacySerializationPolicy.java:140*)…..
>
>
>
> I googled around for options but I could not find any solution other than
> the hibernate4gwt (now Gilead). I am not comfortable using it as per steps
> described at
> http://hibernate4gwt.sourceforge.net/getting_started_stateless.html (I am
> not sure if there is any updated version to this).  I need to modify my
> domain classes, remote services, spring context configurations, etc.
>
>
>
> Is there any other alternate solution?  I joined just now and this is my
> first post. So, I am sorry if I am asking a repeated question for a known
> solution.
>
>
>
> ~ regards,
>
> Karthik Karuppannan
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to