<div dir="ltr"><div>&gt;MS&gt; side) is kind of a @WebAppScoped. This is really missing atm. But<br> &gt;MS&gt; again this must also be active in e.g. JMS invocations which form<br> &gt;MS&gt; kind a &#39;logical app&#39;.</div><div><br></div><div>&quot;logical app&quot; what&#39;s wrong with @ApplicationScoped especially for JMS?</div><div>We got e.g. a very distributed Java EE app here at the current client where JMS is a vital part, but it&#39;s not just used in the Web tier. </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><span style="font-family:arial,sans-serif">
<p style="margin:0px;font-size:13px;border-collapse:collapse"><span style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate;font-size-adjust:none;font-stretch:normal"><span style="font-family:Helvetica"><span style="font-family:Calibri;font-size:12px"></span></span></span></p>
<div><font face="Arial"><span style="font-family:arial,sans-serif">
<p style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri">Werner </span></p></span><p style="margin:0px;font-size:13px;border-collapse:collapse"><br></p></font><p style="margin:0px;font-size:13px;border-collapse:collapse"><br></p></div></span></div></div></div><br><div class="gmail_quote">On Fri, Nov 21, 2014 at 3:14 PM,  <span dir="ltr">&lt;<a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">cdi-dev-request@lists.jboss.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Send cdi-dev mailing list submissions to<br>
        <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cdi-dev-request@lists.jboss.org">cdi-dev-request@lists.jboss.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cdi-dev-owner@lists.jboss.org">cdi-dev-owner@lists.jboss.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of cdi-dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Getting injection point from Bean#create (Romain Manni-Bucau)<br>
   2. Re: Getting injection point from Bean#create (Romain Manni-Bucau)<br>
   3. Re: Getting injection point from Bean#create (arjan tijms)<br>
   4. Re: Getting injection point from Bean#create (Jozef Hartinger)<br>
   5. Re: [servlet-spec users] [jsr369-experts]<br>
      [116-CDIRelatedBeansInServletSpec] PROPOSAL (Edward Burns)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>


<br>
Message: 5<br>
Date: Fri, 21 Nov 2014 06:14:25 -0800<br>
From: Edward Burns &lt;<a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a>&gt;<br>
Subject: Re: [cdi-dev] [servlet-spec users] [jsr369-experts]<br>
        [116-CDIRelatedBeansInServletSpec] PROPOSAL<br>
To: Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt;, <a href="mailto:users@servlet-spec.java.net">users@servlet-spec.java.net</a>,<br>
        Cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
Message-ID: &lt;21615.18625.427842.794819@gargle.gargle.HOWL&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Mark added cdi-dev to the recipients list, but I am not subscribed to<br>
that (please don&#39;t add me, I rely on JJ to keep me up to date!), so this<br>
may bounce there.<br>
<br>
Also, Mark, there is no &lt;<a href="mailto:jsr369-users@servlet-spec.java.net">jsr369-users@servlet-spec.java.net</a>&gt;.  The users<br>
lists are re-used from JSR to JSR for each technology.  Thus, I have put<br>
<a href="mailto:users@servlet-spec.java.net">users@servlet-spec.java.net</a> in place of the non-existent list.<br>
<br>
On Wednesday, 19 November 2014, 19:40, Edward Burns &lt;<a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a>&gt; wrote:<br>
<br>
[...]<br>
<br>
EB&gt; section 15.5.15 &quot;Contexts and Dependency Injection for Java EE<br>
EB&gt; requirements&quot;.<br>
<br>
EB&gt; The CDI spec is trying to trim itself down [...]<br>
<br>
EB&gt; CDI Spec section 3.8 [1] places some requirements on CDI implementations<br>
EB&gt; when running with Servlet. To better suit user desires for modularity<br>
EB&gt; these requirements are better met by moving them to the Servlet<br>
EB&gt; spec.<br>
<br>
[...]<br>
<br>
EB&gt; To put these items in the Servlet spec, we may have to couch them in<br>
EB&gt; terms similar to, &quot;when running in an environment that also supports<br>
EB&gt; CDI...&quot;.<br>
<br>
EB&gt; PROPOSAL:<br>
<br>
EB&gt; Include language in our spec section 15.5.15 which allows the CDI spec<br>
EB&gt; to remove their language while preserving desired existing user<br>
EB&gt; functionality.<br>
<br>
[...]<br>
<br>
&gt;&gt;&gt;&gt;&gt; On Thu, 20 Nov 2014 13:47:19 +0000 (UTC), Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt; said:<br>
<br>
MS&gt; I&#39;m not quite sure that it&#39;s worth it. The @RequestScoped and<br>
MS&gt; @SessionScoped are already in the CDI spec package. And as you know<br>
MS&gt; we must not split packages between different specs.<br>
<br>
&gt;&gt;&gt;&gt;&gt; On Thu, 20 Nov 2014 22:32:39 +0100, arjan tijms &lt;<a href="mailto:arjan.tijms@gmail.com">arjan.tijms@gmail.com</a>&gt; said:<br>
<br>
AT&gt; I don&#39;t think it&#39;s about moving those scope annotations, but just<br>
AT&gt; about the injection of HttpServletRequest, HttpSession and<br>
AT&gt; ServletContext.<br>
<br>
Granted.  The proposal does not touch those.  Mark was just questioning<br>
if it was worth it.  I am skeptical myself, but am responsive to<br>
community input.<br>
<br>
MS&gt; It would feel quite unnatural to have annotations in the CDI APIs<br>
MS&gt; but the description in the servlet spec. [...]<br>
<br>
I&#39;ll trust that Antoine Sabot-Durand (ASD) will take your reservations<br>
into account when deciding to press on with CDI-492-FobStuffToServlet or<br>
not.<br>
<br>
MS&gt; What we probably could add (regardless whether on CDI or Servlet<br>
MS&gt; side) is kind of a @WebAppScoped. This is really missing atm. But<br>
MS&gt; again this must also be active in e.g. JMS invocations which form<br>
MS&gt; kind a &#39;logical app&#39;.<br>
<br>
That&#39;s a whole new thing, again for ASD to consider.  As you observe, it<br>
doesn&#39;t belong in Servlet because JMS can also use it.<br>
<br>
Ed<br>
<br>
--<br>
| <a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a> | office: <a href="tel:%2B1%20407%20458%200017" value="+14074580017">+1 407 458 0017</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">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>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>).  For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
<br>
End of cdi-dev Digest, Vol 48, Issue 16<br>
***************************************<br>
</blockquote></div><br></div></div>