<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 20/08/2010 11:28, Swapnil Sawant wrote:
<blockquote
cite="mid:CAE23E69E5D7AA4087E3C4E1AC5E997D039FE9BC02@VSHINMSMBX01.vshodc.lntinfotech.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:359479911;
        mso-list-type:hybrid;
        mso-list-template-ids:2042791748 127986848 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Using drools 5.0 APIs, I have written a
kind of framework component code using which I am able to
achieve following functionalities successfully :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;
text-indent: -0.25in;">
<!--[if !supportLists]--><span style="">-<span style="font:
7pt "Times New Roman";">
</span></span><!--[endif]-->Running rules using
changeset.xml <o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;
text-indent: -0.25in;">
<!--[if !supportLists]--><span style="">-<span style="font:
7pt "Times New Roman";">
</span></span><!--[endif]-->Executing workflow<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;"><o:p> </o:p></p>
<p class="MsoNormal">Example of framework component code can be
: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;
text-indent: -0.25in;">
<!--[if !supportLists]--><span style="">-<span style="font:
7pt "Times New Roman";">
</span></span><!--[endif]-->Creating knowledge agent<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;
text-indent: -0.25in;">
<!--[if !supportLists]--><span style="">-<span style="font:
7pt "Times New Roman";">
</span></span><!--[endif]-->Applying changeset to it<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;
text-indent: -0.25in;">
<!--[if !supportLists]--><span style="">-<span style="font:
7pt "Times New Roman";">
</span></span><!--[endif]-->Building knowledge base out of
that agent<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;
text-indent: -0.25in;">
<!--[if !supportLists]--><span style="">-<span style="font:
7pt "Times New Roman";">
</span></span><!--[endif]-->Creating stateful knowledge
session<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left: 0.75in;
text-indent: -0.25in;">
<!--[if !supportLists]--><span style="">-<span style="font:
7pt "Times New Roman";">
</span></span><!--[endif]-->Inserting fact types into this
session , fire rules and get result<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Now that 5.1 stable version has been
released, I want to know if I just replace the 5.0 jars with
5.1 jars in my framework code, would I be able to achieve same
results as they were when I was using 5.0 API ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Or there is/are some change/s in the APIs ?</p>
</div>
</blockquote>
There are no api changes. I wouldn't recommend you just stick the
jars into an already running production environment though, as in
some cases its src compatible but not binary compatible, due to
changes in generics. So just make sure you recompile against those
jars before deploying.<br>
<br>
Mark<br>
<blockquote
cite="mid:CAE23E69E5D7AA4087E3C4E1AC5E997D039FE9BC02@VSHINMSMBX01.vshodc.lntinfotech.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style=""><span style="font-size: 10pt;
font-family: "Trebuchet
MS","sans-serif"; color: blue;">Thanks &
Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 10pt;
font-family: "Trebuchet
MS","sans-serif"; color: blue;">Swapnil
Sawant<o:p></o:p></span></p>
</div>
<br>
<hr>
<font color="Black" face="Arial" size="3">This Email may contain
confidential or privileged information for the intended
recipient (s) If you are not the intended recipient, please do
not use or disseminate the information, notify the sender and
delete it from your system.<br>
</font>
<br>
______________________________________________________________________<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>