Hi Daniele,
You could give JPA (via Hibernate) and GWT 2.1.1 Request Factory a try.
With those, you dont need to have serializable Java classes like with
GWT-RPC before.
Request Factory uses Interfaces instead, for a) Entity/Value Proxies and
b) Service Facades (Request Context) and works seamlessly together with
annotated JPA classes.
That means your domain classes dont have to extend LightEntity.
The other option would be to find a way to marshal the LightEntities via
Axis2.
23/01/2011 11:56:00 DEBUG StAXOMBuilder:333 - START_ELEMENT:
23/01/2011 11:56:00 DEBUG StAXOMBuilder:334 - QName:
{http://gwt.pojo.gilead.sf.net/xsd}debugString
23/01/2011 11:56:15 DEBUG StAXOMBuilder:350 - END_ELEMENT:
23/01/2011 11:56:15 DEBUG StAXOMBuilder:351 - QName:
{http://gwt.pojo.gilead.sf.net/xsd}debugString
23/01/2011 11:56:28 DEBUG StAXOMBuilder:333 - START_ELEMENT:
23/01/2011 11:56:28 DEBUG StAXOMBuilder:334 - QName:
{http://gwt.pojo.gilead.sf.net/xsd}underlyingValue
...
Looks like LightEntities contain properties which you dont want to send
to the client (debugString, underlyingValue). Maybe there is even a
circular reference inside where the timeout comes from.
Regards,
Stefan
Am 24.01.2011 13:00, schrieb bond:
Hi Stefan,
I need Gilead because my application is a GWT application and ALSO
expose some webservice to another java standalone application.
So my application internally uses GWT+Gilead+Hibernate, instead my
application<->external application communicate with webservices Axis2.
So to avoid rewriting my domain I'd like to return a domain object but
in this case every domain object extends LightEntity.
Thanks!!
Daniele
On 24 Gen, 12:53, Stefan Ollinger<stefan.ollin...@gmx.de> wrote:
Why do you need Gilead?
Regards,
Stefan
Am 24.01.2011 09:15, schrieb bond:
Hi Y2i,
I think so. This is a problem infact. The only solution I think is
creare a pojo class with the same fields of the object I want return
but that doesn't extends LightEntity.
Any other idea?
Thanks
On 23 Gen, 18:57, Y2i<yur...@gmail.com> wrote:
May be the problem is related to the fact that
LightEntity<http://noon.gilead.free.fr/javadoc/index.html> is
not translatable?
--
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-toolkit@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.