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

Web services != RPC

Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
See the ServerSide Tech Talk: Ted Neward on Web Services and Security

Quote excerpted from The Ancient Art of Programming Weblog

I think probably what we need to do is we need to get developers who are building web services to accept that this isn�t RPC. [�] I have to go to each of the vendors and I have to beat them over the head with a two-by-four to stop making Web services look like RPC calls [but] unfortunately, because these guys make money off of tools, they need to build stuff that is tool oriented.

For example, [when using] Microsoft [�] I annotate it with a special annotation [�] and lo and behold it�s a Web service. EJB 2.1 does the same thing with web services. JSR181 wants to do the same thing. Start from your code, just sprinkle some Web service magic pixie dust on it and lo and behold you have a web service, bad things, bad, bad, bad, bad. I need to beat the vendors over the head to stop doing that, to instead make tools, build tools that want to look at and see and recognize that:
  • this is a message, and
  • it�s in XML, because wanting to take your code and seamlessly turning it into objects and back again, [�] that�s just not going to work. It�s not going to happen.

  • Music to my ears.
    I agree. Here's the link:
    subject: Web services != RPC
    jQuery in Action, 3rd edition