<p class="p1"><b>1.2.6. Relationship to JSF</b></p>
<p class="p2"><b><i>JavaServer Faces is a web-tier presentation framework that provides a component model for graphical user interface components and an event-driven interaction model that binds user interface components to objects accessible via Unified EL.</i></b></p>

<p class="p2"><b><i>This specification allows any bean to be assigned a Unified EL name. Thus, a JSF application may take advantage of the sophisticated context and dependency injection model defined by this specification.</i></b></p>
<br><div class="gmail_quote"><br></div><div class="gmail_quote">Could this section really be called relationship to Servlets and JSP?</div><div class="gmail_quote">Unified EL is not really part of JSF or JSP. </div><div class="gmail_quote">
<br></div><div class="gmail_quote">My recollection is that you can use CDI managed beans from Universal EL from JSPs.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><a href="http://stackoverflow.com/questions/7385723/cdi-injection-in-a-jsp">http://stackoverflow.com/questions/7385723/cdi-injection-in-a-jsp</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Thus, you could use it with any framework. Why is there no section on relationship with JSP and Servlets....</div><div class="gmail_quote"><br></div><div class="gmail_quote">
What we are really talking about is relationship with Unified EL. </div><div class="gmail_quote"><br></div><div class="gmail_quote">Anyway... I find the CDI doc implies strong coupling with EJB and JSF that just does not exist in any version of CDI for the most part and certainly much less so with CDI 1.1.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">I would reword as follows.... (flawed but closer)</div><div class="gmail_quote"><br></div><div class="gmail_quote"><p class="p1"><b>1.2.6. Relationship to JSF, Servlets and JSP</b></p>
<p class="p2"><b><i>If you use a framework like JavaServer Faces that uses the Unified EL, then it will work with this specification.</i></b></p><p class="p2"><b><i>This specification allows any bean to be assigned a Unified EL name. Thus, any technology that uses Unified EL, JSP, in a supported container can use beans managed by CDI.</i></b></p>
</div><div class="gmail_quote"><br></div><div class="gmail_quote">It is rough and perhaps not 100% accurate, but closer to what we have now.</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Thu, Oct 13, 2011 at 4:55 PM, Rick Hightower <span dir="ltr">&lt;<a href="mailto:richardhightower@gmail.com">richardhightower@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Word on the JavaOne street....<div><br></div><div><br></div><div>Section 1.2.3</div><div><br></div><div>







<p><b><i>The Managed Beans specification defines the basic programming model for application components managed by the Java EE container.</i></b></p>
<p><b><i>As defined by this specification, most Java classes, including all JavaBeans, are managed beans. This specification defines contextual lifecycle management and dependency injection as generic services applicable to all....</i></b></p>

<p><br></p><p>My understanding is that these are going away, and it is just CDI for Java EE 7 for JSF managed beans.</p><p>Pretty sure I heard Arun Gupta say something like that in the tweetersphere during JavaOne.....</p>

<p><br></p><p>If this is true, we should reword or delete this. Not sure exactly.. But it seems like something needs to be here to say that JSF Managed Beans are deprecated for CDI going forward (if that is in fact true).</p>

<p><br></p><p><br></p><p><br></p><br><div class="gmail_quote"><div class="im">On Wed, Oct 5, 2011 at 5:21 PM, Pete Muir <span dir="ltr">&lt;<a href="mailto:pmuir@redhat.com" target="_blank">pmuir@redhat.com</a>&gt;</span> wrote:<br>

</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="http://in.relation.to/Bloggers/ContextsAndDependencyInjection11EarlyDraftSubmitted" target="_blank">http://in.relation.to/Bloggers/ContextsAndDependencyInjection11EarlyDraftSubmitted</a><br>


_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
</blockquote></div></div></div><br><br clear="all"><div class="im"><div><br></div>-- <br><b>Rick Hightower</b><br><a href="tel:%28415%29%20968-9037" value="+14159689037" target="_blank">(415) 968-9037</a> <br><a href="http://www.google.com/profiles/RichardHightower" target="_blank">Profile</a> <br>
<br>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><b>Rick Hightower</b><br>(415) 968-9037 <br><a href="http://www.google.com/profiles/RichardHightower" target="_blank">Profile</a> <br><br>