On 11/10/2007, at 10:21 PM, Oilid Adsi wrote:
> how is it possible to send and receive an own generated class of
> CayenneDataObject-type over a WebService (for example Apache Axis
> 1.3)?
>
>
>
> We made the experience that axis will throw an exception because the
> CayenneDataObject is not serializable.
Have you looked at the Cayenne ROP project? (http://
cayenne.apache.org/doc/remote-object-persistence-guide.html)
This already does exactly what you need and is dead simple to set up.
It uses Hessian as the 'web service' - really just a simpler, faster,
smaller and much easier alternative to SOAP. We use both SOAP and
Hessian in our application, and if we could I'd gladly strip out the
clumsy Axis for Hessian any day.
All Cayenne objects are serialised and sent across the network
between client and server.
Ari Maniatis
-------------------------->
Aristedes Maniatis
phone +61 2 9660 9700
PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8
This archive was generated by hypermail 2.0.0 : Thu Oct 11 2007 - 09:37:31 EDT