Win a copy of Svelte and Sapper in Action this week in the JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JAX-RPC vs JAX-WS some differences

 
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

While going through JAX-WS tutorials I noticed some differences between JAX-RPC and JAX-WS (WSDL-Java mapping).

1. In JAX-WS , if there is more then one parameter which is of OUT or IN/OUT type then the return type of method is void .

2. In JAX-WS the element of type "anyType" maps to Object , In JAX-RPC is mapped to SOAPElement.

I will update with more as and when I notice some more differences.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are lots of other differences, for example in JAX-WS the handler chains changed. There were JAX-RPC handlers, now there are Protocol and Logical handlers. The change in name was justified ...

The beta objectives don't mention JAX-RPC at all - so why is this important? If your are worried about RMH you should always check the appropriate specifications first to see if the RMH material is still relevant.
[ November 18, 2008: Message edited by: Peer Reynders ]
 
Sim Kim
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peer,

Can you read Victor's review about the exam :

There was questions about migration from JAX-RPC to JAX-WS and differences between them, but this is not in the objectives!



I hope these things don't come but still who knows ?
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see. Just a general thought. The SCDJWS was always more about breadth rather than depth (compared to the other programming/API certifications) because there is so much to cover. I'm all for knowing the details because it makes it easier to understand how things fit together, however you can't trade depth for breadth in this preparation - lack of breadth is going to affect your results.

So given Victor's remark I would look for general things - like that you cannot reuse the handlers, which deployment files are different, that RPC/encoded isn't supported, etc. But that's just my opinion.

JAX-RPC versus JAX-WS, Part 1
JAX-RPC versus JAX-WS, Part 2
JAX-RPC versus JAX-WS, Part 3
JAX-RPC versus JAX-WS, Part 4
JAX-RPC versus JAX-WS, Part 5
[ November 19, 2008: Message edited by: Peer Reynders ]
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check the below link

http://www.ibm.com/developerworks/webservices/library/ws-tip-jaxwsrpc/index.html


Thanks
Rahul
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic