File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS / JAX-RPC comparison

 
Dan Drillich
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day,

I'm looking at this beautiful presentation at JAX-WS.

My question is - in JAX-WS, what replaces the RemoteException of JAX-RPC?

Regards,
Dan
JAX-WS.JPG
[Thumbnail for JAX-WS.JPG]
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Nothing, as far as I know.
Take a look at the JAX-RPC article on Wikipedia, first sentences says:

Java API for XML-based RPC (JAX-RPC) allows a Java application to invoke a Java-based Web Service with a known description while still being consistent with its WSDL description. It can be seen as Java RMIs over Web services. JAX-RPC 2.0 was renamed JAX-WS 2.0 (Java API for XML Web Services).

I suspect that the "RMI over web services" idea was used when devising JAX-RPC and RemoteException was introduced since RMI use it.
Also take a look at the RemoteException API documentation - it is the parent class of a number of communication-related exception classes, so it has served, and in some areas still do server, as a general way of saying "there is a communication problem" with details specified by subclasses.
As usual, I open my mouth without better knowledge - since I haven't been involved in developing JAX-RPC, I can just speculate.
Best wishes!
 
Dan Drillich
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ivan.
 
Ronan Dowd
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heya,

This isn't answering your question but just wanted to say that's a really good presentation about the differences between JAX-RPC and JAX-WS.
Thanks for including the link in your post.

Cheers. Ro
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic