Forums Register Login

Why JAX-WS over JAX-RPC + JAXB

+Pie Number of slices to send: Send
Hi All,

I am working on a project where I need to upgrade from JAX-RPC to JAX-WS. My project is using JAXB + JAX-RPC for data binding. So I have marshaller and unmarshaller written for parsing data.

JAX-WS has delegated Java/XML binding to JAXB but still while using JAX-WS too I would need to write marshaller and unmarshaller.

So what advantage I would be getting writing WebServices in JAX-WS with respect to JAXB ?

Also any other advantages I get using JAX-WS over JAX-RPC which will make me think of upgrading my existing web services to JAX-WS .
+Pie Number of slices to send: Send
Why do you need to upgrade if you aren't even sure what advantages -if any- that will bring?
+Pie Number of slices to send: Send
Thats what I am asking Ulf ?
Leave aside upgradation , what if I need to make some new Web services , why should I use JAX-WS over JAX-RPC with respect to JAXB ? I need to present some good points to management/client for this .
+Pie Number of slices to send: Send
Sim,

> I need to present some good points to management/client for this.

The 'What is different?' section in Web services hints and tips: JAX-RPC versus JAX-WS presents some points in a very concise way.

Regards,
Dan
What are you doing? You are supposed to be reading this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4556 times.
Similar Threads
Creating Object from XML file
Mark Hansen - JWS, JEE 6
JBoss WS client exception
Can't generate java classes from WSDL file
Two Question [JAXB and JAX-WS]
The WEB SERVICES and JAX-RS Course
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 03:49:37.