<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    My original plan for EntityQuery was to use the ServiceHandler stuff
    in solder:<br>
    <br>
    @EntityQuery<br>
    public interface MyQuery {<br>
    <br>
    &nbsp; @Query("Select u from User u where type=:p1")<br>
    &nbsp; public List&lt;User&gt; users(String type);<br>
    <br>
    }<br>
    <br>
    Stuart<br>
    <br>
    On 09/21/2011 06:00 AM, Jos&eacute; Rodolfo Freitas wrote:
    <blockquote
cite="mid:CAK8YEYPy7U_eZRva0+37wFpCzaxAjFmZ4AeZ2R3hZHDgHm=d0Q@mail.gmail.com"
      type="cite">Yeah, I agree that being declarative is the ideal.
      <div>let's say no to inheritance with generics! hehehe.<br>
        <br>
        <div class="gmail_quote">On Tue, Sep 20, 2011 at 4:41 PM, Dan
          Allen <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;</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;">
            <div class="im">On Tue, Sep 20, 2011 at 15:36, Jos&eacute; Rodolfo
              Freitas <span dir="ltr">&lt;<a moz-do-not-send="true"
                  href="mailto:joserodolfo.freitas@gmail.com"
                  target="_blank">joserodolfo.freitas@gmail.com</a>&gt;</span>
              wrote:<br>
            </div>
            <div class="gmail_quote">
              <div class="im">
                <blockquote class="gmail_quote" style="margin: 0pt 0pt
                  0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
                  padding-left: 1ex;">
                  What I like most in CDI and Seam3 is that it's very
                  easy to keep things simple and that's something I
                  strongly advocate.&nbsp;</blockquote>
                <div><br>
                </div>
              </div>
              <div>+1</div>
              <div class="im">
                <div>&nbsp;</div>
                <blockquote class="gmail_quote" style="margin: 0pt 0pt
                  0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
                  padding-left: 1ex;">
                  <div>Of course there're still boilerplate code, but I
                    think it's minimal (compared to the JEE generations
                    before), and that's something forge can create
                    without the need to satisfy a "framework". Yes, I
                    admitedly am afraid of that word.</div>
                </blockquote>
                <div><br>
                </div>
              </div>
              <div>That's fine, it doesn't have to be a framework. I do
                think there is room for having some common scaffolding,
                though. If we can do that by extending the programming
                model (annotations, generic beans or interfaces) so that
                it's declarative, that's probably ideal.</div>
              <div><br>
              </div>
              <div>I suggest that we brainstorm proposals using gists (<a
                  moz-do-not-send="true" href="http://gist.github.com"
                  target="_blank">http://gist.github.com</a>). That will
                get the ball rolling. We can start with the idea Jason
                posted, or feel free to take a different approach.</div>
              <div><br>
              </div>
              <font color="#888888">
                <div>-Dan</div>
                <div><br>
                </div>
              </font></div>
            <div>
              <div class="h5">-- <br>
                <div>Dan Allen</div>
                Principal Software Engineer, Red Hat | Author of Seam in
                Action<br>
                Registered Linux User #231597<br>
                <br>
                <div><a moz-do-not-send="true"
                    href="http://www.google.com/profiles/dan.j.allen#about"
                    target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><br>
                  <a moz-do-not-send="true"
                    href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>
                  <a moz-do-not-send="true"
                    href="http://mojavelinux.com/seaminaction"
                    target="_blank">http://mojavelinux.com/seaminaction</a><br>
                </div>
                <br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
seam-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>