File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes JAX-WS / JAX-RPC comparison Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "JAX-WS / JAX-RPC comparison" Watch "JAX-WS / JAX-RPC comparison" New topic

JAX-WS / JAX-RPC comparison

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
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?


[Thumbnail for JAX-WS.JPG]

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
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!

My free books and tutorials:
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
Thank you Ivan.
Ronan Dowd
Ranch Hand

Joined: Jan 21, 2006
Posts: 84

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:
subject: JAX-WS / JAX-RPC comparison
It's not a secret anymore!