首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

怎么开发一个Service

2013-07-11 
如何开发一个ServiceHeres a simple example:@WebServiceProviderpublic class HelloProvider {??public

如何开发一个Service

Here's a simple example:

@WebServiceProviderpublic class HelloProvider {??public Source invoke(Source request) {????return ....;??}}

Services are publish via one of two means:

The JAX-WS standard Endpoint APIsCXF's XML configuration format - i.e. <jaxws:endpoint ... />

More Information: Developing a JAX-WS Service

Javascript

CXF provides a Javascript module which allows you to build services in Javascript with the Java Rhino library. One advantage of this is that you can use E4X to interact more easily with the XML. For more information see the JavaScript page.

?

?

热点排行