<html><body bgcolor="#FFFFFF"><div>That's a good idea too Stuart. Can we easily make use of something similar for EntityHome, or do you think we have something easy enough with what I posted. <br><br>Sent from my iPhone</div><div><br>On Sep 20, 2011, at 20:15, Stuart Douglas <<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
My original plan for EntityQuery was to use the ServiceHandler stuff
in solder:<br>
<br>
@EntityQuery<br>
public interface MyQuery {<br>
<br>
@Query("Select u from User u where type=:p1")<br>
public List<User> users(String type);<br>
<br>
}<br>
<br>
Stuart<br>
<br>
On 09/21/2011 06:00 AM, José 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"><<a moz-do-not-send="true" href="mailto:dan.j.allen@gmail.com"><a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a></a>></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é Rodolfo
Freitas <span dir="ltr"><<a moz-do-not-send="true" href="mailto:joserodolfo.freitas@gmail.com" target="_blank"><a href="mailto:joserodolfo.freitas@gmail.com">joserodolfo.freitas@gmail.com</a></a>></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. </blockquote>
<div><br>
</div>
</div>
<div>+1</div>
<div class="im">
<div> </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"><a href="http://gist.github.com">http://gist.github.com</a></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"><a href="http://www.google.com/profiles/dan.j.allen#about">http://www.google.com/profiles/dan.j.allen#about</a></a><br>
<a moz-do-not-send="true" href="http://mojavelinux.com" target="_blank"><a href="http://mojavelinux.com">http://mojavelinux.com</a></a><br>
<a moz-do-not-send="true" href="http://mojavelinux.com/seaminaction" target="_blank"><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a></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"><a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a></a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/seam-dev"><a href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a></a>
</pre>
</blockquote>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>seam-dev mailing list</span><br><span><a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a></span><br></div></blockquote></body></html>