badqiu

XPer
随笔 - 46, 文章 - 3, 评论 - 195, 引用 - 0
数据加载中……

spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据

作为rapid-framework下一版本需要整合的两个东东,demo里面包含:

  • springmvc_rest的示例使用,包含通过/userinfo/1, /userinfo/1.json,/userinfo/1.xml 来查看html,json, xml三种数据
  • ibatis3的示例及基于方言(Dialect)的分页使用

 注意:本示例基于spring3.0 rc1及ibatis3 beta4

后面会写一些文章介绍ibatis3 基于dialect的分页是如何整合的. 演示的demo全部是经代码生成器自动生成,

springmvc_rest,ibatis3模板在svn中已经编写完成.可能国庆后就可以发布一个版本了.

 

在线demo: http://demo.rapid-framework.org.cn:8080/springmvc_rest_demo/userinfo

 

demo下载地址: http://rapid-framework.googlecode.com/files/springmvc_rest_demo.zip

 

前一篇springmvc rest的介绍http://www.blogjava.net/badqiu/archive/2009/09/22/296082.html

posted on 2009-10-14 10:34 badqiu 阅读(5030) 评论(7)  编辑  收藏

评论

# re: spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据  回复  更多评论   

期待。
2009-10-14 11:25 | Guest

# re: spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据  回复  更多评论   

不错哦
2009-10-14 11:38 | fanke凡客诚品

# re: spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据  回复  更多评论   

ibatis3 基于dialect的分页是如何整合的
2009-10-14 17:34 | 乐蜂网

# re: spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据[未登录]  回复  更多评论   

挺不错的,到时研究下.
2009-10-19 00:22 | ben

# re: spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据  回复  更多评论   

spring加入rest后跟好使用了。
2009-12-17 13:58 | 团派家园

# re: spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据[未登录]  回复  更多评论   

3.0还要用urlrewriter吗?
2010-01-11 17:52 | tester

# re: spring3.0的springmvc_rest及ibatis3的在线示例及demo下载,根据url查看不同格式的数据  回复  更多评论   

我修改成每页显示5条数据,运行时,第一页为5条,第二页却为10条,再返回到第一页也是变成10条! 我修改的是:javacommon.util/PageRequestFactory.java的静态变量DEFAULT_PAGE_SIZE ,请问是怎么回事?
我的需求是每页显示5条记录
2010-03-12 13:59 | yiren

只有注册用户登录后才能发表评论。


网站导航: