This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-RPC vs JAX-WS some differences

 
Sim Kim
Ranch Hand
Posts: 268
  • 0
  • 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.
 
Peer Reynders
Bartender
Posts: 2939
5
  • 0
  • 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
  • 0
  • 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: 2939
5
  • 0
  • 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 ]
 
Rahula Krishnan
Greenhorn
Posts: 24
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic