<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="MSHTML 6.00.6000.16915" name="GENERATOR">
</head>
<body>
<div>
<div><font face="Arial" size="2"><span class="412375810-30102009">Hi,</span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009">I am trying to implement one&nbsp;<span class="572011116-30102009">drools
</span>rule flow based feature to my application.</span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009">My application consists of a struts2 application as well as a rcp desktop application as its client.
</span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009"></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009">We are using satefullKnowledgeSession which we want to keep around in the Http Session because it will be used by multiple requests during a user session.</span></span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009"></span></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009">But the StateFullKnowledgeSession is not serilaizable and hence if I keep it in my http session it will affect the session replication.</span></span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009"></span></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009">I am sure some of you have already faced this issue so was interested to know so of the approaches you took to overcome this hurdle.</span></span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009"></span></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009">One of the approaches we are thinking about is to use the
<font size="2"><font size="2">org.drools.marshalling.Marshaller to do the marshalling and get a byte array output and place it inside the session and umarshall that later.</font></font></span></span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009">Is this a valid approach?
</span></span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009"></span></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009">Thanks</span></span></font></div>
<div><font face="Arial" size="2"><span class="412375810-30102009"><span class="572011116-30102009">mahesh</span></span></font></div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This communication is the property of Qwest and may contain confidential or<br>
privileged information. Unauthorized use of this communication is strictly<br>
prohibited and may be unlawful. If you have received this communication<br>
in error, please immediately notify the sender by reply e-mail and destroy<br>
all copies of the communication and any attachments.<br>
</font>
</body>
</html>