WS Libs: com.sun.xml vs javax.xml
- by Zilvinas
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?