<html><body bgcolor="#FFFFFF"><span class="Apple-style-span" style="font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><span>I agree.</span><br><span>I've rethought about using @Named as EL name.</span><br><span>I think that it is not bad idea.</span><br><span></span><br><span>When we want to inject named component we write code as follows.</span><br><span></span><br><span>@Named("request")</span><br><span>HttpServletRequest request.</span><br><span></span><br><span>We can know EL name from this code.</span><br><span>In presentation logic we need to know EL name.</span><br><span></span><br><span>Takeshi Kondo</span></span><div><br>On 2009/09/05, at 15:50, Pete Muir <<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><span>We (Gavin for Red Hat) disputed that @Named should be a spec provided </span><br><span>qualifier, due to it promoting poor coding practices, however we were </span><br><span>over ruled.</span><br><span></span><br><span>Reusing it for defining the EL name does make sense semantically to </span><br><span>me. In general qualifiers are used in resolution, in the "by name" </span><br><span>case, we have a special qualifier. Whilst CDI and atinject don't </span><br><span>expose anything to JNDI, you could easily write an extension that used </span><br><span>@Named for this purpose.</span><br><span></span><br><span>On 4 Sep 2009, at 19:29, Dan Allen wrote:</span><br><span></span><br><blockquote type="cite"><span>And there lies the problem of trying to use these as common </span><br></blockquote><blockquote type="cite"><span>annotations. At this point I defer to Gavin because clearly it must </span><br></blockquote><blockquote type="cite"><span>be clarified in the spec. 299 doesn't deal with exposing a bean to </span><br></blockquote><blockquote type="cite"><span>JNDI unless I am overlooking something.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>- Dan Allen</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Sent from my Android-powered G1 phone:</span><br></blockquote><blockquote type="cite"><span>An open platform for carriers, developers</span><br></blockquote><blockquote type="cite"><span>and consumers.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>On Sep 4, 2009 2:20 PM, "Mark Struberg" <<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>> wrote:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>But in JSR-330 the @Named has nothing to do with EL! It's really a </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>qualifier like e.g. a JNDI name or a named Spring bean!</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>LieGrue, strub --- On Fri, 9/4/09, Dan Allen </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span><<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>> wrote: > From: Dan Allen <da...</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Cc: <a href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a>, "Takeshi Kondo" <<a href="mailto:takeshi.kondo@gmail.com">takeshi.kondo@gmail.com</a> </span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Date: Friday, September 4, 2009, 8:14 PM</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>My question was retorical. I don't > get how it is a qualifier. </span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>It violates the whole type-safety ...</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>webbeans-dev mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a></span><br></blockquote><blockquote type="cite"><span><a href="https://lists.jboss.org/mailman/listinfo/webbeans-dev">https://lists.jboss.org/mailman/listinfo/webbeans-dev</a></span><br></blockquote><span></span><br><span>_______________________________________________</span><br><span>webbeans-dev mailing list</span><br><span><a href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/webbeans-dev">https://lists.jboss.org/mailman/listinfo/webbeans-dev</a></span><br></div></blockquote></body></html>