On 5/5/10 3:54 AM, mlounnaci wrote:
When i tried to retrive a List<Customer>  from my getCustomers() webservice
method a cycle detected exception occured because the objects have a
bidirectional relation.

What is serializing/constructing the schema for the objects in your service? IIRC I used to use "aegis", but I eventually changed to send a hand-serialized (as JSON) version, with fromJSON() and toJSON() methods added to relevant Managers. This way you can decide where to break the cycles yourself.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to