On 2010-11-23 18.39, Paul Merlin wrote:
Gang,

I would like to serialize a Composite instance using java
serialization mecanism. I found old discussions about it back to
2007. In javadoc I only found a reference to serialization in
TransientComposite saying that they cannot be serialized.

My use case is vaadin applications that are kept as http session
attribute. So they have to be serializable. If it is not possible to
use Composites I can still use simple qi4j objects but its less
exciting, nice but less exciting.

Can someone confirm that Composites are not serializables?

Yes, they are not serializable (for various reasons). Could you use the JSON serialization/deserialization as workaround?

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to