<div dir="ltr"><div>>MS> side) is kind of a @WebAppScoped. This is really missing atm. But<br> >MS> again this must also be active in e.g. JMS invocations which form<br> >MS> kind a 'logical app'.</div><div><br></div><div>"logical app" what'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'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"><<a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">cdi-dev-request@lists.jboss.org</a>></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 'help' 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 "Re: Contents of cdi-dev digest..."<br>
<br>
<br>
Today'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 <<a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a>><br>
Subject: Re: [cdi-dev] [servlet-spec users] [jsr369-experts]<br>
[116-CDIRelatedBeansInServletSpec] PROPOSAL<br>
To: Mark Struberg <<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>>, <a href="mailto:users@servlet-spec.java.net">users@servlet-spec.java.net</a>,<br>
Cdi-dev <<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>><br>
Message-ID: <21615.18625.427842.794819@gargle.gargle.HOWL><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'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 <<a href="mailto:jsr369-users@servlet-spec.java.net">jsr369-users@servlet-spec.java.net</a>>. 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 <<a href="mailto:edward.burns@oracle.com">edward.burns@oracle.com</a>> wrote:<br>
<br>
[...]<br>
<br>
EB> section 15.5.15 "Contexts and Dependency Injection for Java EE<br>
EB> requirements".<br>
<br>
EB> The CDI spec is trying to trim itself down [...]<br>
<br>
EB> CDI Spec section 3.8 [1] places some requirements on CDI implementations<br>
EB> when running with Servlet. To better suit user desires for modularity<br>
EB> these requirements are better met by moving them to the Servlet<br>
EB> spec.<br>
<br>
[...]<br>
<br>
EB> To put these items in the Servlet spec, we may have to couch them in<br>
EB> terms similar to, "when running in an environment that also supports<br>
EB> CDI...".<br>
<br>
EB> PROPOSAL:<br>
<br>
EB> Include language in our spec section 15.5.15 which allows the CDI spec<br>
EB> to remove their language while preserving desired existing user<br>
EB> functionality.<br>
<br>
[...]<br>
<br>
>>>>> On Thu, 20 Nov 2014 13:47:19 +0000 (UTC), Mark Struberg <<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>> said:<br>
<br>
MS> I'm not quite sure that it's worth it. The @RequestScoped and<br>
MS> @SessionScoped are already in the CDI spec package. And as you know<br>
MS> we must not split packages between different specs.<br>
<br>
>>>>> On Thu, 20 Nov 2014 22:32:39 +0100, arjan tijms <<a href="mailto:arjan.tijms@gmail.com">arjan.tijms@gmail.com</a>> said:<br>
<br>
AT> I don't think it's about moving those scope annotations, but just<br>
AT> about the injection of HttpServletRequest, HttpSession and<br>
AT> 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> It would feel quite unnatural to have annotations in the CDI APIs<br>
MS> but the description in the servlet spec. [...]<br>
<br>
I'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> What we probably could add (regardless whether on CDI or Servlet<br>
MS> side) is kind of a @WebAppScoped. This is really missing atm. But<br>
MS> again this must also be active in e.g. JMS invocations which form<br>
MS> kind a 'logical app'.<br>
<br>
That's a whole new thing, again for ASD to consider. As you observe, it<br>
doesn'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>