JDK-8195073 : Release Note: JEP 320 Remove the Java EE and CORBA Modules
  • Type: Sub-task
  • Component: other-libs
  • Affected Version: 11
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2018-01-12
  • Updated: 2019-04-09
  • Resolved: 2018-06-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11Resolved
Description
Remove the Java EE and CORBA modules from the Java SE Platform and the JDK. These modules were deprecated in Java SE 9 with the declared intent to remove them in a future release ([JEP 320](http://openjdk.java.net/jeps/320)).

The following modules have been removed from Java SE 11 and JDK 11:

- `java.xml.ws` (JAX-WS, plus the related technologies SAAJ and Web Services Metadata)
- `java.xml.bind` (JAXB)
- `java.activation` (JAF)
- `java.xml.ws.annotation` (Common Annotations)
- `java.corba` (CORBA)
- `java.transaction` (JTA)
- `java.se.ee` (Aggregator module for the six modules above)
- `jdk.xml.ws` (Tools for JAX-WS)
- `jdk.xml.bind` (Tools for JAXB)

The following JAX-WS tools, from the `jdk.xml.ws` module, are removed:
- `wsgen`
- `wsimport`

The following JAXB tools, from the `jdk.xml.bind` module, are removed:
- `schemagen`
- `xjc`

The following CORBA tools, from the `java.corba` module, are removed:
- `idlj`
- `orbd`
- `servertool`
- `tnamesrv`

The `rmic` compiler was updated to remove the `-idl` and `-iiop` options.
Consequently, the RMI compiler will no longer be able to generate IDL or IIOP stubs and tie classes.

In addition, the following system properties are no longer applicable due to the the removal of the Java EE and CORBA modules:

- `com.sun.xml.internal.ws.client.ContentNegotiation`
- `com.sun.xml.internal.ws.legacyWebMethod`
- `javax.xml.bind.context.factory`
- `javax.xml.bind.JAXBContext`
- `javax.xml.soap.MetaFactory`
- `javax.xml.ws.spi.Provider`
- `jaxb.fragment`
- `jaxb.noNamespaceSchemaLocation`
- `jaxb.schemaLocation`
- `jaxb.formatted.output`
- `jaxb.encoding`
- `mail.mime.decodetext.strict`
- `mail.mime.encodeeol.strict`
- `mail.mime.foldencodedwords`
- `mail.mime.foldtext`
- `mail.mime.charset`
- `saaj.mime.optimization`
- `saaj.lazy.contentlength`
- `saaj.lazy.contentlength`
- `saaj.lazy.mime.optimization`

For more detailed information on the removal and possible replacement for the modules, refer to [JEP 320](http://openjdk.java.net/jeps/320).