<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I don't expect that the XML rules will ever be as powerful as the
    Java rules. I think that making them that powerful would actually
    make them more complicated to use than the Java rules.<br>
    <br>
    Having said that, if there are common cases that are requiring Java,
    we would like to know that. We would like as many rules as possible
    to be easy to write in the XML format.<br>
    <br>
    <div class="moz-cite-prefix">On 03/02/2015 07:57 AM, Sande Gilda
      wrote:<br>
    </div>
    <blockquote cite="mid:54F45E26.8070801@redhat.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      Ondra, isn't the intent to try to continually improve the XML
      rules so they have more and more of the functionality of the Java
      rules?<br>
      <br>
      <div class="moz-cite-prefix">On 03/02/2015 07:37 AM, Ondrej Zizka
        wrote:<br>
      </div>
      <blockquote cite="mid:54F4596F.6090007@redhat.com" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        Hi,<br>
        <br>
        I'll try to sum up, someone may add or correct.<br>
        <br>
        Groovy: That was an experiment, currently not finished AFAIK.<br>
        <br>
        XML:<br>
        Pros: Should be easy and shorter, no need for recompilation,
        picked up automatically from a known paths.<br>
        Cons: Only supports a subset of conditions and operations
        (simplier ones); does not allow direct custom graph data
        manipulation.<br>
        <br>
        Java:<br>
        Pros: Allows pretty much anything; easier debugging; IDE code
        completion for Windup API;<br>
        Cons: Needs to be an full Forge addon (if not added to Windup
        core codebase); needs more code (some of it boilerplate);<br>
                 A bit more complex - author needs to know more of
        Windup internals.<br>
                 <br>
        HTH,<br>
        Ondra<br>
        <br>
        <br>
        <br>
        <br>
        <div class="moz-cite-prefix">On 1.3.2015 12:39, Samuel Tauil
          wrote:<br>
        </div>
        <blockquote
cite="mid:2131305185.333.1425209976030.JavaMail.samueltauil@redhat-sardinha.local"
          type="cite">
          <style type="text/css">p { margin: 0; }</style>
          <div style="font-family: arial,helvetica,sans-serif;
            font-size: 10pt; color: #000000">
            <div class="edit-comment-hide">
              <div class="comment-body markdown-body markdown-format
                js-comment-body">
                <p>Hi,<br>
                </p>
                <p><br>
                </p>
                <p>Why are the advantages and disadvantages of creating
                  a XML or Groovy based rule script as opposed to
                  creating a Java Rule Add-on ?</p>
                <p>When would one approach be recommended over another ?</p>
              </div>
            </div>
            <br>
            <br>
            <div><span name="x"></span>Samuel Tauil<br>
              <font size="2">Senior Solution Architect</font><br>
              Global Partner Enablement<br>
              <a moz-do-not-send="true"
                href="http://www.redhat.com/partners/partner-enablement">http://www.redhat.com/partners/partner-enablement</a><br>
              <a moz-do-not-send="true"
                href="http://youtu.be/EdsvGcfIoJs">http://youtu.be/EdsvGcfIoJs</a><br>
              Ext. 8426191<br>
              Phone +55 11 3524-6191<span name="x"></span><br>
            </div>
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
windup-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
windup-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
windup-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Calendar Free/Busy: <a class="moz-txt-link-freetext" href="https://www.google.com/calendar/embed?src=jsightle%40redhat.com&amp;ctz=America/New_York">https://www.google.com/calendar/embed?src=jsightle%40redhat.com&amp;ctz=America/New_York</a></pre>
  </body>
</html>