Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8190378 Remove the Java EE and CORBA modules
  3. JDK-8195073

Release Note: JEP 320 Remove the Java EE and CORBA Modules

    XMLWordPrintable

Details

    • Verified

    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).

      Attachments

        Activity

          People

            lancea Lance Andersen
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: