WS Libs: com.sun.xml vs javax.xml

Posted by Zilvinas on Stack Overflow See other posts from Stack Overflow or by Zilvinas
Published on 2010-06-16T01:13:39Z Indexed on 2010/06/16 1:22 UTC
Read the original article Hit count: 289

Filed under:
|
|
|
|

There are identical classes of java WebServices API & IMPL in those packages groups, only package names are different.

http://mvnrepository.com/artifact/javax.xml http://mvnrepository.com/artifact/com.sun.xml

Which ones should I use in my code? I would prefer NON-com.sun.* as per java conventions, but still my dependencies ( e.g. Spring ) are using implementations from com.sun.* OR I can't find an implementation package in javax.xml

Does anyone have any experience on this?

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services