<div dir="ltr"><div>That you&#39;d have to ask the Servlet Spec Leads: <a href="https://jcp.org/en/jsr/detail?id=369">https://jcp.org/en/jsr/detail?id=369</a></div><div>As of now, it seems Tomitribe has no EG Member there, but I&#39;m sure you could discuss anything with them if you feel it is a burden or makes no sense;-)</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri">Werner</span></p><p style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri"></span><br></p></div></div></div></div></div></div></div></div></div><div class="gmail_quote">On Tue, Feb 3, 2015 at 11:24 AM, Romain Manni-Bucau <span dir="ltr">&lt;<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</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">point is while serialization itself is not specified you have no more<br>
guarantee with Serializable. ATM you can serialize your bean<br>
passivationId and keep your bean instance in memory (in a map). You<br>
didnt serialize anything excepted a string!<br>
<br>
So why forcing such a constraint if it is an implementation detail?<br>
Serialization process is not explicit so then constraint doesnt<br>
guarantee any portability<br>
<span class="im HOEnZb"><br>
<br>
Romain Manni-Bucau<br>
@rmannibucau<br>
<a href="http://www.tomitribe.com" target="_blank">http://www.tomitribe.com</a><br>
<a href="http://rmannibucau.wordpress.com" target="_blank">http://rmannibucau.wordpress.com</a><br>
<a href="https://github.com/rmannibucau" target="_blank">https://github.com/rmannibucau</a><br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">2015-02-03 11:22 GMT+01:00 Werner Keil &lt;<a href="mailto:werner.keil@gmail.com">werner.keil@gmail.com</a>&gt;:<br>
&gt; Guess Jozef pretty much hit the point, I don&#39;t care about the sticker or<br>
&gt; label you may put on your laptop or product, but a compatible behavior<br>
&gt; allowing users to deploy against as many available containers as possible<br>
&gt; with minimal or no changes at all;-)<br>
&gt;<br>
&gt; On Tue, Feb 3, 2015 at 11:17 AM, Jozef Hartinger &lt;<a href="mailto:jharting@redhat.com">jharting@redhat.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; If we want applications to be portable across different implementations<br>
&gt;&gt; then the spec should require the least common multiple - that is beans that<br>
&gt;&gt; belong to passivating scopes being serializable. TomEE/OWB is free to have a<br>
&gt;&gt; mode in which passivation requirements are not checked if the server runs in<br>
&gt;&gt; non-passivating mode.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 02/03/2015 11:03 AM, Romain Manni-Bucau wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; servlet spec requirement is only for distributed systems AFAIK == not<br>
&gt;&gt;&gt; required in most of instances.<br>
&gt;&gt;&gt; tomee supports both and is aligned on tomcat for all tomee flavors and<br>
&gt;&gt;&gt; is serialization-less in openejb flavors<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That said this is not a certification question but a usage question<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Romain Manni-Bucau<br>
&gt;&gt;&gt; @rmannibucau<br>
&gt;&gt;&gt; <a href="http://www.tomitribe.com" target="_blank">http://www.tomitribe.com</a><br>
&gt;&gt;&gt; <a href="http://rmannibucau.wordpress.com" target="_blank">http://rmannibucau.wordpress.com</a><br>
&gt;&gt;&gt; <a href="https://github.com/rmannibucau" target="_blank">https://github.com/rmannibucau</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2015-02-03 10:59 GMT+01:00 Werner Keil &lt;<a href="mailto:werner.keil@gmail.com">werner.keil@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; What about TomEE?<br>
&gt;&gt;&gt;&gt; After all it&#39;s Java EE 6 certified:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html" target="_blank">http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; So as Mark mentioned briefly, there is a requirement by the Servlet<br>
&gt;&gt;&gt;&gt; spec, so<br>
&gt;&gt;&gt;&gt; I assume it is either always on or at least on by default (otherwise a<br>
&gt;&gt;&gt;&gt; TomEE<br>
&gt;&gt;&gt;&gt; &quot;tweaked&quot; like that would no longer be Java EE compliant;-)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Tomcat itself was never certified.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Werner<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Tue, Feb 3, 2015 at 9:39 AM, &lt;<a href="mailto:cdi-dev-request@lists.jboss.org">cdi-dev-request@lists.jboss.org</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Send cdi-dev mailing list submissions to<br>
&gt;&gt;&gt;&gt;&gt;          <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;&gt;&gt;&gt;&gt;          <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;&gt;&gt;&gt;&gt;          <a href="mailto:cdi-dev-request@lists.jboss.org">cdi-dev-request@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; You can reach the person managing the list at<br>
&gt;&gt;&gt;&gt;&gt;          <a href="mailto:cdi-dev-owner@lists.jboss.org">cdi-dev-owner@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; When replying, please edit your Subject line so it is more specific<br>
&gt;&gt;&gt;&gt;&gt; than &quot;Re: Contents of cdi-dev digest...&quot;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Today&#39;s Topics:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;     1. Re: Clarify scopes and serialization (Mark Struberg)<br>
&gt;&gt;&gt;&gt;&gt;     2. Re: Clarify scopes and serialization (Romain Manni-Bucau)<br>
&gt;&gt;&gt;&gt;&gt;     3. Re: Clarify scopes and serialization (Mark Struberg)<br>
&gt;&gt;&gt;&gt;&gt;     4. Re: Clarify scopes and serialization (Romain Manni-Bucau)<br>
&gt;&gt;&gt;&gt;&gt;     5. Re: Async events. We need ideas to improve CDI-499<br>
&gt;&gt;&gt;&gt;&gt;        (Jozef Hartinger)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ----------------------------------------------------------------------<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Message: 4<br>
&gt;&gt;&gt;&gt;&gt; Date: Mon, 2 Feb 2015 16:50:44 +0100<br>
&gt;&gt;&gt;&gt;&gt; From: Romain Manni-Bucau &lt;<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt; Subject: Re: [cdi-dev] Clarify scopes and serialization<br>
&gt;&gt;&gt;&gt;&gt; To: Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt; Cc: cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt; Message-ID:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &lt;CACLE=<a href="mailto:7MUGeq_bgdx0W_hPT-15-9ae_XdD3kab0P3vE4YHftKRg@mail.gmail.com">7MUGeq_bgdx0W_hPT-15-9ae_XdD3kab0P3vE4YHftKRg@mail.gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt; Content-Type: text/plain; charset=UTF-8<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; in a standard tomcat yes but not in most of embedded ones...and that&#39;s<br>
&gt;&gt;&gt;&gt;&gt; not the point anyway<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Romain Manni-Bucau<br>
&gt;&gt;&gt;&gt;&gt; @rmannibucau<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://www.tomitribe.com" target="_blank">http://www.tomitribe.com</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://rmannibucau.wordpress.com" target="_blank">http://rmannibucau.wordpress.com</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="https://github.com/rmannibucau" target="_blank">https://github.com/rmannibucau</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 2015-02-02 16:50 GMT+01:00 Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt;:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; but you HAVE to manually switch it off. By _default_ the serialization<br>
&gt;&gt;&gt;&gt;&gt;&gt; is on...<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; LieGrue,<br>
&gt;&gt;&gt;&gt;&gt;&gt; strub<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Monday, 2 February 2015, 16:42, Romain Manni-Bucau<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; @Mark: that&#39;s not true. 1) you can switch it off + I mainly spoke of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; embedded case where it is true in 80% of cases<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Romain Manni-Bucau<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; @rmannibucau<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.tomitribe.com" target="_blank">http://www.tomitribe.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://rmannibucau.wordpress.com" target="_blank">http://rmannibucau.wordpress.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://github.com/rmannibucau" target="_blank">https://github.com/rmannibucau</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2015-02-02 16:38 GMT+01:00 Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt;:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   Romain, that&#39;s not true. Tomcat by default ALWAYS serializes the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; session at shutdown! Even if you don&#39;t have a cluster set up. This is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; also<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; required by the Servlets spec...<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   LieGrue,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   strub<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses the<br>
&gt;&gt;&gt;&gt;&gt; code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt; (<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<br>
&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other<br>
&gt;&gt;&gt;&gt;&gt; intellectual<br>
&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; End of cdi-dev Digest, Vol 51, Issue 4<br>
&gt;&gt;&gt;&gt;&gt; **************************************<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses the<br>
&gt;&gt;&gt;&gt; code<br>
&gt;&gt;&gt;&gt; under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt; (<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<br>
&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other<br>
&gt;&gt;&gt;&gt; intellectual<br>
&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses the<br>
&gt;&gt;&gt; code under the Apache License, Version 2<br>
&gt;&gt;&gt; (<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<br>
&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div>