<div dir="ltr">From my POV problems are:<div><br></div><div>- EJB spec totally ignore CDI (it&#39;s CDI that does all the job of EJB integration)</div><div>- EJB spec won&#39;t be reopened except for minor MR</div><div>- I launched the proposition for a new spec based on our AnnotatedType meta model when we were discussing about config spec. I didn&#39;t have enough support from Red Hat and EG so I put it back in my drawer.</div><div><br></div><div>Antoine</div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 12 nov. 2015 à 11:17, Tomas Remes &lt;<a href="mailto:tremes@redhat.com">tremes@redhat.com</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I think nothing will happen in EJB spec so I would not really rely on some future collaboration. Another case is this classpath scanning and AnnotatedType/PAT stuff. This sounds to me like quite interesting idea at least at first glance.:) But the question is: Isn&#39;t it late to propose any new JSR for upcoming EE 8? I guess it is so this seems to me bit out of scope for CDI 2.x... maybe CDI 3?:)<br>
<br>
Tom<br>
<br>
----- Original Message -----<br>
From: &quot;Sven Linstaedt&quot; &lt;<a href="mailto:sven.linstaedt@gmail.com" target="_blank">sven.linstaedt@gmail.com</a>&gt;<br>
To: &quot;Romain Manni-Bucau&quot; &lt;<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>&gt;<br>
Cc: &quot;cdi-dev&quot; &lt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&gt;<br>
Sent: Thursday, November 12, 2015 10:45:22 AM<br>
Subject: Re: [cdi-dev] [PROPOSAL] further align CDI and EJB<br>
<br>
+1 for splitting the classpath scanning and all AnnotatedXXX / ProcessAnnotatedType type parsing/overriding from the CDI in an own spec, so other specs (not only EJB) may rely on it.<br>
<br>
2015-11-11 20:54 GMT+01:00 Romain Manni-Bucau &lt; <a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a> &gt; :<br>
<br>
<br>
<br>
Hi Mark,<br>
<br>
few points on that topic:<br>
<br>
- let the EJB container reuse AnnotatedType (ie even add @Stateless through an Extension): +1<br>
- veto an EJB as a whole and not only in CDI side - ie @Schedule is ignored on EJB side of thing: I&#39;m quite mitigated. Looks tempting but it would break the compatibility with extsing apps I fear since veto is 100% a CDI thing today.<br>
<br>
<br>
<br>
Romain Manni-Bucau<br>
@rmannibucau | Blog | Github | LinkedIn | Tomitriber<br>
<br>
2015-11-11 11:47 GMT-08:00 Mark Struberg &lt; <a href="mailto:struberg@yahoo.de" target="_blank">struberg@yahoo.de</a> &gt; :<br>
<br>
<br>
Hi!<br>
<br>
We already do a decent amount of ‚side-by-side‘ handling in EJB and CDI. But there are still many aready where we could really move together much closer.<br>
<br>
E.g. the CDI spec defines that @Vetoed on EJBs must get accounted by the EJB container. But what happens with ProcessAnnotatedType#veto(). This one is not defined that clearly I fear.<br>
<br>
What if we (of course together with the EJB spec group) define that the EJB container must create the EJBs according to the effective AnnotatedType coming out after ProcessAnnotatedType? This would define that EJBs can also get modified via CDI Extensions. Some container do that already.<br>
The benefit of explicitly writing this down would obviously be that we would allow EJB to fully utilize the power of CDI Extensions in a portable way.<br>
<br>
Any objections, any ideas, any howtos?<br>
<br>
Let the ideas roll ;)<br>
<br>
LieGrue,<br>
strub<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" rel="noreferrer" 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" rel="noreferrer" 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>
<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" rel="noreferrer" 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" rel="noreferrer" 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>
<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" rel="noreferrer" 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" rel="noreferrer" 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>
--<br>
Tomas Remes<br>
<br>
<br>
<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" rel="noreferrer" 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" rel="noreferrer" 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.</blockquote></div>