[jboss-dev-forums] [Design of JBoss Serialization] - Re: What should I create to frequently ask it for smart clon

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Aug 28 12:50:03 EDT 2006


Yes, you're right.

What's your use case? Why you need to reuse a single DataContainer among different threads.

All the use cases we have at this point for JBossSerialization were to clone objects during call invocations, what would require a DataContainer per thread. (So we create the DataContainer each time we need a serialization clone).

It looks like you are using it to a factory's pattern. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967867#3967867

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967867



More information about the jboss-dev-forums mailing list