aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "JAX-WS / JAX-RPC comparison" Watch "JAX-WS / JAX-RPC comparison" New topic
Author

JAX-WS / JAX-RPC comparison

Dan Drillich
Ranch Hand

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


[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
    
    1
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!


My free books and tutorials: http://www.slideshare.net/krizsan
Dan Drillich
Ranch Hand

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

Joined: Jan 21, 2006
Posts: 84
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


SCJP 1.4 | OCWCD JEE 5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS / JAX-RPC comparison