|
|
||||||||||||||||||||
| Home > SOA News > The case for document-centric Web services development | |
| SOA News: |
|
||
Edmund Smith, a software engineer at EMB, in Cambridge, England, recently co-authored a white paper, "Rethinking the Java SOAP Stack," with Steve Loughran, a scientist from HP Labs in Bristol, England. In the white paper, the authors make the argument that the Java application programming interface (API) for XML-based Remote Procedure Call (RPC), formerly known as JAX-RPC (now JAX-WS), is fundamentally flawed. Moreover, they claim that any SOAP API that relies on a perfect two-way mapping between XML data and native language objects is flawed. The authors have proposed an alternative SOAP stack for Java, dubbed Alpine, which takes a more document-centric approach to Web services development. Rather than mapping between XML and custom Java classes, Alpine will provide access to SOAP messages using modern XML support libraries. Alpine will require an understanding of XML, which the authors claim is needed to develop robust Web services, and they advocate that Web services developers should acquire that skill. What are the key advantages and drawbacks to a document-centric vs. an RPC-centric approach to Web services development? In encouraging developers to think of Web service development as no more than development of a Java class with annotations, an RPC-centric approach does not encourage good service architecture, nor is interface stability likely to be maintained. The lure of a familiar paradigm attracts developers down this route, but ultimately that familiarity is an illusion: A Web service is fundamentally not like an object instance that might throw RemoteExceptions every now and then. Is a document-centric approach inherently less complex? What prompted the white paper? What do you think of the reaction so far? Will the Alpine initiative change the way we think about Web services communications and standards such as SOAP? Why or why not?
JAX-WS 2.0 (Java API for XML Web Services), formerly JAX-RPC 2.0, is said to be more document-centric. How do you respond? Ultimately, JAX-WS retains the paradigm of service calls as method invocations, and of automatically generated service interfaces, that made JAX-RPC so flawed. While it's no longer obligatory to use this functionality, that's not the same thing as making it any safer to do so. What happens after you present the paper to the IEEE in July?
'); // --> |
|||||||||||||||||||||||||||||
| About Us | Contact Us | For Advertisers | For Business Partners | Site Index | RSS |
|
|
|
|||||||