• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 43081
77
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic