Hi, you can take a look at the class called OutputMarshallers that do that for you. Using the persistence mechanism you can persist a ksession into a byte array.<br><br><div class="gmail_quote">On Mon, Jun 21, 2010 at 5:09 PM, ljnelson <span dir="ltr"><<a href="mailto:ljnelson@gmail.com">ljnelson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
StatefulKnowledgeSession does not extend Serializable.<br>
<br>
Is this an oversight, or on purpose?<br>
<br>
If it is on purpose, what is the preferred strategy for serializing a<br>
StatefulKnowledgeSession when it is being used by, e.g., a<br>
StatefulSessionBean?<br>
<br>
Thanks,<br>
Laird<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/StatefulKnowledgeSession-serializability-tp912557p912557.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/StatefulKnowledgeSession-serializability-tp912557p912557.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a> <br> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
- Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> <br> - Salatino "Salaboy" Mauricio -<br>