Discussion:
Life of Apache CXF JAX-WS from Java 9 & greater
pavan challa
2018-09-11 06:48:17 UTC
Permalink
Hi,

Given that the "java.xml.bind" & "java.xml.ws" modules have been marked for
removal from Java 9, should we treat it as end of life for XML Webservices.

How Apache CXF is going to support JAX-WS front end in it's future
versions? Do we have an alternative? Is RESTFul the only way going forward?

Apologies if this has been discussed on this forum earlier. I would really
appreciate if any of you can provide an archive link of that thread.

Appreciate your help. Thanks in advance.

Thanks & Regards,
-Pavan
Freeman Fang
2018-09-11 07:07:43 UTC
Permalink
Hi Pavan,

That’s true that those modules will be removed since JDK11, but it doesn’t mean the end of life for XML Webservice.

CXF will continue to support it by using external dependencies like

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<dependency>

in CXF 3.3.


Freeman(Yue) Fang

Red Hat, Inc.
FuseSource is now part of Red Hat
Post by pavan challa
Hi,
Given that the "java.xml.bind" & "java.xml.ws" modules have been marked for
removal from Java 9, should we treat it as end of life for XML Webservices.
How Apache CXF is going to support JAX-WS front end in it's future
versions? Do we have an alternative? Is RESTFul the only way going forward?
Apologies if this has been discussed on this forum earlier. I would really
appreciate if any of you can provide an archive link of that thread.
Appreciate your help. Thanks in advance.
Thanks & Regards,
-Pavan
Daniel Kulp
2018-09-11 13:33:10 UTC
Permalink
As Freeman stated, the “API” classes are being removed from the JDK, but that does not mean they are deprecated or disabled or anything like that. It just means that if we need to use them, we need to add explicit dependencies into our POM’s and pretty much treat them like any other API (like slf4j or jax-rs or pretty much anything). That’s not a big deal.

Dan
Post by pavan challa
Hi,
Given that the "java.xml.bind" & "java.xml.ws" modules have been marked for
removal from Java 9, should we treat it as end of life for XML Webservices.
How Apache CXF is going to support JAX-WS front end in it's future
versions? Do we have an alternative? Is RESTFul the only way going forward?
Apologies if this has been discussed on this forum earlier. I would really
appreciate if any of you can provide an archive link of that thread.
Appreciate your help. Thanks in advance.
Thanks & Regards,
-Pavan
--
Daniel Kulp
***@apache.org <mailto:***@apache.org> - http://dankulp.com/blog <http://dankulp.com/blog>
Talend Community Coder - http://talend.com <http://coders.talend.com/>
pavan challa
2018-09-12 05:42:12 UTC
Permalink
Thank you so much Freeman & Dan.

-Pavan
Post by Daniel Kulp
As Freeman stated, the “API” classes are being removed from the JDK, but
that does not mean they are deprecated or disabled or anything like that.
It just means that if we need to use them, we need to add explicit
dependencies into our POM’s and pretty much treat them like any other API
(like slf4j or jax-rs or pretty much anything). That’s not a big deal.
Dan
Post by pavan challa
Hi,
Given that the "java.xml.bind" & "java.xml.ws" modules have been marked
for
Post by pavan challa
removal from Java 9, should we treat it as end of life for XML
Webservices.
Post by pavan challa
How Apache CXF is going to support JAX-WS front end in it's future
versions? Do we have an alternative? Is RESTFul the only way going
forward?
Post by pavan challa
Apologies if this has been discussed on this forum earlier. I would
really
Post by pavan challa
appreciate if any of you can provide an archive link of that thread.
Appreciate your help. Thanks in advance.
Thanks & Regards,
-Pavan
--
Daniel Kulp
http://dankulp.com/blog>
Talend Community Coder - http://talend.com <http://coders.talend.com/>
Loading...