I think chinna wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
>
> Hi All,
>
> I like to know that for setting the rules in a web application,
> is it mandatory to use the Jess script language or we can do the same thing
> with Jess api. Which is more advantgeous?
The only way to define a rule is via the Jess language
representation. Jess's public Java API doesn't allow you to create
rules. Maybe someday...
> I learnt from eariler discussions
> that script makes more flexible but reduces the performance.
>
Don't believe everything you read. The script form of a rule is
translated into a Java data structure when it is initially parsed,
then compiled into the Rete network. The time taked to add a rule to
the network is much larger than the time taken to translate the script
form of a rule into a jess.Defrule objects. In other words, even if
you could create Defrule objects yourself in Java, it would have no
performance impact whatsoever.
> When I apply Jess to deal with an application with plenty of
> rules, what should I choose to go about?
>
> Jess script or Jess api
>
>
> Please advise.
*** As I said, there's no choice here.
What the earlier poster was talking about was code on rule RHS, or
other procedural code. It is indeed faster to do computations in Java
code and call it from Jess than it is to do the same operations in
Jess's scripting language.
>
>
>
> Dr. chinnaswamy
> Software Architect
> Sttarfire.com ( Asia Pacific ) Pte Ltd.
> Singapore
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list (use your own address!) List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------