分类: 系统运维
2010-09-10 15:30:02
Web Services can convert your application into a Web-application, which can publish its function or message to the rest of the world.
The basic Web Services platform is XML + HTTP.
Reusable application-components.
There are things applications need very often. So why make these over and over again?
Web services can offer application-components like: currency conversion, weather reports, or even language translation as services.
Connect existing software.
Web services can help to solve the interoperability problem by giving different applications a way to link their data.
With Web services you can exchange data between different applications and different platforms.
Web Services have three basic platform elements: SOAP, WSDL and UDDI.
SOAP is an XML-based protocol to let applications exchange information over HTTP.
Or more simple: SOAP is a protocol for accessing a Web Service.
WSDL is an XML-based language for locating and describing Web services.
UDDI is a directory service where companies can register and search for Web services.
Java Web service
Web services are developed using Java Technology APIs and tools provided by an integrated Web Services Stack called Metro. The Metro stack consisting of JAX-WS, JAXB, and , enable you to create and deploy secure, reliable, transactional, interoperable Web services and clients.
JAX-WS(Java API for xml services)规范是一组XML web services的JAVA API。在 JAX-WS中,一个远程调用可以转换为一个基于XML的协议例如SOAP。在服务器端,用户只需要通过Java语言定义远程调用所需要实现的接口SEI (service endpoint interface),并提供相关的实现,通过调用JAX-WS的服务发布接口就可以将其发布为WebService接口。 在客户端,用户可以通过JAX-WS的API创建一个代理(用本地对象来替代远程的服务)来实现对于远程服务器端的调用。
JAXB(java architecture for xml binding)是一项可以根据XML Schema产生Java类的技术。该过程中,JAXB也提供了将XML实例文档反向生成Java对象树的方法,并能将Java对象树的内容重新写到XML实例文档。从另一方面来讲,JAXB提供了快速而简便的方法将XML模式绑定到Java表示,从而使得Java开发者在Java应用程序中能方便地结合XML数据和处理函数。
JAX-WS uses JAXB for data binding,
WSIT(Web service Interoperability technology)It consists of that enable advanced WS-* features to be used in a way that is compatible with (WCF) as used by .
other implementation of web service:
Axis, UDDI4J, WSIL4J, WSIF, Xfire ......