[DISCUSSION] JAXB/JAXWS in TomEE 11

Markus Jung <[email protected]> Thu, 2 Oct 2025 08:03:06 +0200
Newsgroups gmane.comp.java.openejb.devel
Message-ID <[email protected]>
Hey all,


I've began some first steps towards TomEE 11 and updated our API shade. 
Whilst doing so I found that the EE 11 platform spec has these 
_removals_ [1]: SOAP Attachements, XML Binding, XML Web Services. 
Essentially turning them into standalone specs that aren't tied to EE 
platform anymore from my understanding.


That poses the question: What do we do with JAXB and JAXWS? The easiest 
option would probably be to just remove them and hand over the task of 
bringing implementations to the user. But I fear this will cause users a 
pretty big disruption when migrating from TomEE 10 to TomEE 11. Also I 
don't know TomEE internals too well but I do know we use JAXB quite a 
bit internally as well (e.g. with SXC), so might not be too easy to remove.

Right now my opinion would be to remove these from the jakartaee-api 
shade as they're not in EE platform anymore and depending on the 
application server to implement them is non-portable behavior but to 
still regularly support these APIs in TomEE besides jakartaee-api (like 
e.g. MP right now) and ship implementations.


WDYT?


Thanks

Markus


[1] 
https://jakarta.ee/specifications/platform/11/jakarta-platform-spec-11.0#changes-in-jakarta-ee-11