Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakarta.ee-spec.committee] Jakarta EE 8 compatibility

We won't support any requirement to mix the javax and jakarta
namespaces in the runtime containers. A legacy deployment would have
to be mapped into the new jakarta namespace.

Compatibility requirements can be expressed in a canonical legacy
deployment that is employed by the TCK to illustrate the expectations,
but if it gets too cumbersome, it may have to be a best effort left to
vendors.

On Wed, Apr 17, 2019 at 10:36 AM Bill Shannon <bill.shannon@xxxxxxxxxx> wrote:
>
> Following up from today's conversation about Jakarta EE 8 compatibility...
>
> I strongly support the approach of *not* requiring *how* to implement
> Jakarta EE 8 compatibility in Jakarta EE 9.  The spec should require
> that Jakarta EE 8 applications can be deployed without change.  Whether
> the implementation transforms the application at deployment time,
> transforms it at runtime, provides separate implementations of the
> Jakarta EE 8 APIs, or uses some other approach, should all be allowed.
>
> That said, I think the idea of deployment time or runtime transformation
> is most interesting, and I hope someone will build such a thing as an
> open source project (EE4J or otherwise) that many of us can reuse in our
> implementations.  It would be great if someone would create such a community
> project that we could contribute to.
>
>
> Finally, 100% compatibility is probably impossible.  We're going to need
> to decide what level is acceptable.
>
> For example, can I mix and match use of javax.mail and jakarta.mail APIs
> in the same application?  Can I pass a jakarta.mail.Message object to a
> method that expects a javax.mail.Message object?  Or must they be distinct
> types?
>
> And what about attributes that aren't part of the Java EE specs?  As others
> have mentioned, can I configure the javax.mail logger?  Can I set a breakpoint
> in javax.mail.Message?  Will my stack trace include javax.mail.* APIs?  Can I
> serialize a javax.* object and deserialize it with a jakarta.* class?
> _______________________________________________
> jakarta.ee-spec.committee mailing list
> jakarta.ee-spec.committee@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jakarta.ee-spec.committee


Back to the top