• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why JAX-WS over JAX-RPC + JAXB

 
Sim Kim
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • 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 .
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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 .
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic