Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Why JAX-WS over JAX-RPC + JAXB

 
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you need to upgrade if you aren't even sure what advantages -if any- that will bring?
 
Sim Kim
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic