Introduction
A bit of back story:
I had to tie in web services to a hibernate-based backend for the upcoming release of FireBright's SaaS on Demand platform. The problem: Doing it in such a way that:
- doesn't tie me down to a particular platform.
- Offers me maximum flexibility in terms of features
- Doesn't bog down performance.
Web services are quite interesting beasts. Not something to be taken lightly, if you consider the implementation that Axis2 provides. That being said, there is another way, privided by the friendly folks at XFire (which, incidentally, is where I found out about FishEye?). But, there seems to be a bit of a disconnect.. I've got objects persisted by Hibernate, and those same objects need to be rendered as XML Data, and with over 50 entity types and relationships, I really don't want to have to write populators for everything.
Again, introduce XFire. Why? Because it makes this stuff simple. WSDL Generation, auto-typing using aegis or JAXB (PERFECT!), and it even uses jws annotations, so it limits the amount of implementation specific code in my own code. So how this is done.
分享到:
相关推荐
SPRING_HIBERNATE_XFIRE_MYBAITS_JAR包
Spring+Hibernate+Xfire+发布WebService教程文档
一个例子,再加一个操作步骤。一个webService.rar与一个.word文件。由于JAR太多。所以了删除了,不过有操作步骤,可以自己一步步操作
Xfire和 Hibernate结合实例 包括和Hibernate结合如何返回HashSet对象
MyEclipse下的Xfire Spring Hibernate 发布WebService
Xfire Spring Hibernate 发布WebService(源码) Xfire1.2 Spring 2.0 Hibernate 3 发布WebService 一、准备工作 1、下载安装MyEclipse6.5 2、下载安装MySQL Server 5.1 3、下载MySQL驱动 mysql-connector-java...
NULL 博文链接:https://jonsam.iteye.com/blog/507751
xfire跟spring和hibernate集成例子
自已写的,jar自已去找啊。太大了。自已写的,jar自已去找啊。太大了。
Spring2.5+Hibernate3.0+Xfire1.2.6 实例代码演示文档
实现 xFire与 Spring 的集成
SPRING HIBERNATE XFIRE MYBAITS JAR包
JQuery1.4.2+Struts2.1.8+JSON0.34+Spring2.5.6+Hibernate3.5+XFire1.2.6整合实例(已上传) 1、JSON0.34使用的是struts2附带的struts2-json-plugin-2.1.8.1.jar 2、db是mysql,名字为test,用户名root,密码空 3、...
其中具备Struts spring Hibernate jar xfire所需jar包
Xfire配置Web Service+Spring+Hibernate详细流程
基于spring+hibernate +xfire框架开发的webservice 项目
一个webservice实例,有自定义对象,数组的传输
rar包,包括配置文件模板,系统框架搭建文档。
该文档主要是描述在spring下面配置webservice的流程,可以让大家更容易的了解webservice
网上资料大多是只有spring+xfire 含有Hibernate的少 3.配置时候还遇到spring实现 客户端调用服务器端时候 注入失败 4.在服务器端向客户端做映射的时候失败 5.在服务器端获取非基本类转化问题