Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

One of the major features introduced along with Java 9 release is JPMS: Java Platform Module System. As of now, Apache CXF modules are not built / released as Java modules however the work in this direction has been started.

...

Test ModuleAutomatic-Module-Name
cxf-services-sts-systests-advanced-<version>.jarorg.apache.cxf.systests.sts.advanced
cxf-services-sts-systests-basic-<version>.jarorg.apache.cxf.systests.sts.basic
cxf-services-sts-systests-itests-<version>.jarorg.apache.cxf.systests.sts.integration
cxf-services-sts-systests-osgi-<version>.jarorg.apache.cxf.systests.sts.osgi
cxf-systests-cdi-base-<version>.jarorg.apache.cxf.systests.cdi.base
cxf-systests-cdi-base-<version>-tests.jarorg.apache.cxf.systests.cdi.base.tests
cxf-systests-cdi-owb-multiple-apps-<version>.jarorg.apache.cxf.systests.cdi.owb.multiapp
cxf-systests-cdi-owb-multiple-apps-<version>-tests.jarorg.apache.cxf.systests.cdi.owb.multiapp.tests
cxf-systests-cdi-owb-no-apps-<version>.jarorg.apache.cxf.systests.cdi.owb.noapp
cxf-systests-cdi-owb-no-apps-<version>-tests.jarorg.apache.cxf.systests.cdi.owb.noapp.tests
cxf-systests-cdi-owb-producers-<version>.jarorg.apache.cxf.systests.cdi.owb.producers
cxf-systests-cdi-owb-producers-<version>-tests.jarorg.apache.cxf.systests.cdi.owb.producers.tests
cxf-systests-cdi-weld-multiple-apps-<version>.jarorg.apache.cxf.systests.cdi.weld.multiapp
cxf-systests-cdi-weld-multiple-apps-<version>-tests.jarorg.apache.cxf.systests.cdi.weld.multiapp.tests
cxf-systests-cdi-weld-no-apps-<version>.jarorg.apache.cxf.systests.cdi.weld.noapp
cxf-systests-cdi-weld-no-apps-<version>-tests.jarorg.apache.cxf.systests.cdi.weld.noapp.tests
cxf-systests-cdi-weld-producers-<version>.jarorg.apache.cxf.systests.cdi.weld.producers
cxf-systests-cdi-weld-producers-<version>-tests.jarorg.apache.cxf.systests.cdi.weld.producers.tests
cxf-systests-ci-grizzly-<version>.jarorg.apache.cxf.systests.ci.grizzly
cxf-systests-codegen-<version>.jarorg.apache.cxf.systests.plugin.codegen
cxf-systests-databinding-<version>.jarorg.apache.cxf.systests.databinding
cxf-systests-databinding-<version>-tests.jarorg.apache.cxf.systests.databinding.tests
cxf-systests-http-sci-<version>.jarorg.apache.cxf.systests.rs.sci
cxf-systests-java2ws-<version>.jarorg.apache.cxf.systests.plugin.java2ws
cxf-systests-http-sci-<version>-tests.jarorg.apache.cxf.systests.rs.sci.tests
cxf-systests-jaxrs-<version>.jarorg.apache.cxf.systests.jaxrs
cxf-systests-jaxrs-<version>-tests.jarorg.apache.cxf.systests.jaxrs.tests
cxf-systests-jaxws-<version>.jarorg.apache.cxf.systests.jaxws
cxf-systests-jaxws-<version>-tests.jarorg.apache.cxf.systests.jaxws.tests
cxf-systests-kerberos-<version>.jarorg.apache.cxf.systests.kerberos
cxf-systests-kerberos-<version>-tests.jarorg.apache.cxf.systests.kerberos.tests
cxf-systests-ldap-<version>.jarorg.apache.cxf.systests.ldap
cxf-systests-ldap-<version>-tests.jarorg.apache.cxf.systests.ldap.tests
cxf-systests-microprofile-weld-<version>.jarorg.apache.cxf.systests.microprofile.weld
cxf-systests-rs-security-<version>.jarorg.apache.cxf.systests.security
cxf-systests-rs-security-<version>-tests.jarorg.apache.cxf.systests.security.tests
cxf-systests-rs-sse-base-<version>.jarorg.apache.cxf.systests.rs.sse.base
cxf-systests-rs-sse-base-<version>-tests.jarorg.apache.cxf.systests.rs.sse.base.tests
cxf-systests-rs-sse-jetty-<version>.jarorg.apache.cxf.systests.rs.sse.jetty
cxf-systests-rs-sse-jetty-<version>-tests.jarorg.apache.cxf.systests.rs.sse.jetty.tests
cxf-systests-rs-sse-tomcat-<version>.jarorg.apache.cxf.systests.rs.sse.tomcat
cxf-systests-rs-sse-tomcat-<version>-tests.jarorg.apache.cxf.systests.rs.sse.tomcat.tests
cxf-systests-rs-sse-undertow-<version>.jarorg.apache.cxf.systests.rs.sse.undertow
cxf-systests-rs-sse-undertow-<version>-tests.jarorg.apache.cxf.systests.rs.sse.undertow.tests
cxf-systests-tracing-<version>.jarorg.apache.cxf.systests.tracing
cxf-systests-tracing-<version>-tests.jarorg.apache.cxf.systests.tracing.tests
cxf-systests-transport-jms-<version>.jarorg.apache.cxf.systests.transport.jms
cxf-systests-transport-jms-<version>-tests.jarorg.apache.cxf.systests.transport.jms.tests
cxf-systests-transports-<version>.jarorg.apache.cxf.systests.transport
cxf-systests-transports-<version>-tests.jarorg.apache.cxf.systests.transport.tests
cxf-systests-transports-ssl3-<version>.jarorg.apache.cxf.systests.transport.ssl3
cxf-systests-transports-ssl3-<version>-tests.jarorg.apache.cxf.systests.transport.ssl3.tests
cxf-systests-transport-undertow-<version>.jarorg.apache.cxf.systests.transport.undertow
cxf-systests-transport-undertow-<version>-tests.jarorg.apache.cxf.systests.transport.undertow.tests
cxf-systests-uncategorized-<version>.jarorg.apache.cxf.systests.uncategorized
cxf-systests-uncategorized-<version>-tests.jarorg.apache.cxf.systests.uncategorized.tests
cxf-systests-ws-rm-<version>.jarorg.apache.cxf.systests.ws.rm
cxf-systests-ws-security-<version>.jarorg.apache.cxf.systests.ws.security
cxf-systests-ws-security-<version>-tests.jarorg.apache.cxf.systests.ws.security.tests
cxf-systests-ws-security-<version>.jarorg.apache.cxf.systests.ws.security.examples
cxf-systests-ws-security-<version>-tests.jarorg.apache.cxf.systests.ws.security.examples.tests
cxf-systests-ws-specs-<version>.jarorg.apache.cxf.systests.ws.specs
cxf-systests-ws-specs-<version>-tests.jarorg.apache.cxf.systests.ws.specs.tests
cxf-systests-ws-transfer-<version>.jarorg.apache.cxf.systests.ws.transfer

Example Usage

Here is a quick example of using Apache CXF SSE capabilities from modular Java application through the module-info.java descriptor.

Code Block
java
java
module sample.sse {
    ...
    
    requires org.apache.cxf.frontend.jaxrs;
    requires org.apache.cxf.transport.http;
    requires org.apache.cxf.rs.sse;
    requires com.fasterxml.jackson.jaxrs.json;
    requires com.fasterxml.jackson.annotation;
    requires io.reactivex.rxjava2;
    
    requires transitive java.ws.rs;
    requires transitive org.reactivestreams;
    
    requires javax.servlet.api;
    requires jetty.server;
    requires jetty.servlet;
    requires jetty.util;
    
    requires java.xml.bind;
}