i do not understand the use of an "internal" implementation of jax-ws packages inside rt.jar when they are already available through jaxws-rt.jar. Why would Sun/Oracle take such a decision to integrate jax-ws inside jdk...I dont know if the changes in classes of both the packages in both the jars are carried out parallely....Can some one put light on which should be actually reffered...????
2
There are 2 best solutions below
0
Andreas Dolk
On
jaxws-rt.jar is not part of the Java RE. But RE needs an implementation of JAXWS internally. So, as far as I remember, they implemented one in the com.sun.xml.internal.ws package to avoid future conflicts and errors if applications put a different implementation of JAXWS on their classpath.
Another aspect: even if someone adds a new implementation to the classpath it's still guaranteed, that the JRE works as expected, even if this new implementation has bugs.
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in WEB-SERVICES
- couldn't copy pdb file to another directory while consuming wcf web service
- .net rest service with JSON string and consumed with java client
- How to send Rest GET request that contains "#" value in url parameters?
- Looking the Method that MANUALLY INSTALL PHP on OSX Yosemite
- How to use @queryparam when using array in Java
- How to accept cookies when using a webservice - Android?
- zend soap server reading xml attributes
- Web Service Error path property must set before calling the send method
- Error with kSOAP2
- JAX-RS service response is returning double fields without decimal places
- How can I call a ASP.Net webservice using AJAX without calling controller
- Generate clients for multiple WSDL files and place it in different package through Spring Gradle
- File upload in AXIS2 webservice
- How to route by call method in proxy with WSO2?
- fetch data from web service to dataset in Delphi
Related Questions in JAX-WS
- Method invocation failed when throwing exception from web service
- JAX-WS WebService via CXF provides inaccurate wsdl
- Not finding RequestParams with Rest service
- Javamail ClassCastException when sending multipart messages
- Error invoking SOAP service "No binding operation"
- Calling java webservice from Android using ksoap2: parameters are all null
- Create Enveloped Signature with CXF and WSS4J
- How to expose custom object in web service
- SpringBeanAutowiringSupport vs WebApplicationContextUtils
- spring+jaxws: is there a better way than static variables to keep global status?
- Is it possible to use Jax-WS with a Generic interface?
- How to configure Jax-WS with Spring 3 using annotations only?
- Setting SSL for JAX-WS Client
- Calling Perl script from Java (JAX-WS in Eclipse)
- JaxWsProxyFactoryBean instantiation exception
Related Questions in JAVA-6
- Eclipse is not starting
- Source code for "tools.jar" available under jdk1.6
- Is Kafka 0.7.2 compatible with Java 8
- Java difference to execute app in Command Prompt and Eclipse
- How is a SOAP response treated different in Java 8 vs Java 6?
- Writing BLOB into XML file
- How to store a timestamp with UTC timezone offset in Java 6 without modifying anything?
- How to remove focus from one jtable cell, if I click the another Jtable cell?
- How can I make fields in nested class real private?
- Project "MyProject" has higher compiler option than running Eclipse
- Eclipse with JDK1.6 on OSX 10.10.1 not able to show Javadoc
- Jmeter is not starting in mac osx 10.10
- Getting java.lang.NoClassDefFoundError: org/apache/xpath/objects/XObject
- Iterator differences between JDK 1.6 and 1.7
- Runtime.getRuntime().exec(cmd, vars) is not working in Linux
Related Questions in JAVA-WS
- Pass cookie from JNLP to JAVAWS to download protected resources
- How can I get JAXB2 to emit CamelCase bindings?
- SoapExtension not logging request and response
- Call a Web Service SOAP with JAVA-WS
- Find the right response to a soap request (java-ws)
- Java REST client - rewrite curl code into Java code
- How to log SOAP messages on client side?
- Java client to WCF web service - first element of 2d arrray parameter is dropped
- Java Web Start doesn't pass arguments to application when running in browser
- Webservice - Operation has timed out
- XSD and WSDL in different directories
- How to generate swagger spec from Javadocs on JDK 14?
- How to change default SOAP-ENV and ns2 namespace prefixes in spring-ws
- Can a query parameter name be variable? Like: @QueryParam("//anything")
- php webservice and jax-ws client ServerSOAPFaultException
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You don't give any context as to where you are seeing this.
By default the JAX-WS implementation that lies behind the
javax.xml.ws*types is the one shipped in the JRE. JAX-WS defines a SPI; in order to override the JRE classes, alternative implementations must reside in endorsed directories.Some Java EE 5 application servers might work on both Java 1.5 and 1.6; to meet the Java 1.5 specification, the application server would need to ship a JAX-WS implementation. Java EE 6 implementations will override the Java 6 implementation (Java EE 6 mandates JAX-WS 2.2 whereas Java SE 6 mandates 2.0).
Thus, it is possible to see more than one implementation of JAX-WS in some contexts. Which one is used depends on the configuration.