首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

Arch-03-09-施用 Apache CXF 封装现有的 Service 为 REST

2012-07-28 
Arch-03-09-使用 Apache CXF 封装现有的 Service 为 RESTRest 方法简洁得令人抓狂,必须得把现有的 service

Arch-03-09-使用 Apache CXF 封装现有的 Service 为 REST

Rest 方法简洁得令人抓狂,必须得把现有的 service 封装成 REST 方式。 Apache CXF 是不二之选。

?

计划一下内容:

(1)了解 CXF;

(2)下载 CXF;

(3)集成现有环境;

(4)封装 PhotoService 试试;

(5)前端调用一下下。

?

一、了解CXF

引用http://www.iteye.com/topic/424737

?

?

            <ref bean="userAuthServiceResource"/>        </jaxrs:serviceBeans>        <jaxrs:providers>            <ref bean="jsonProvider"/>        </jaxrs:providers>    </jaxrs:server>
?

?

?

?

...

?

?

热点排行