RESTful Ave7.net

VN:F [1.9.10_1130]
Rating: 0.0/5 (0 votes cast)

今天是七街手记的第一天,特别分出一个主题来写七街开发的点点滴滴。

今天的主题是RESTful.

对于大多数人来讲,技术主题都是没有什么意义的。人,基本只会关注事情的直接价值,而不显而易见的价值往往是天赋的展现。

说远了,以下是七街实现框架的基本信息:

持久化:Hibernate 3.2 annotations http://en.wikipedia.org/wiki/Hibernate_(Java)

中间层:Spring 2.5

表现层:Apache Struts2 2.1

截止目前位置完成的工作:

  • 基于Maven的开发环境搭建
  • 一个从前到后完成的应用实现
  • 以上包括了 SiteMesh, Freemarker, Struts2, Spring, Hibernate, REST, AOP的综合应用,所以基本涵盖了开发所涉及的所有情况
  • 闲暇之余,使用JTOM显示容器外的分布式数据库事务
  • 受制于应用场合,没有实现基于SOA的BPM等功能
  • 选用了REST方式,通过xhtml,xml,json三种形式来展现和进行数据交互
  • 因为struts2-rest-plugin还是一个很简单不成熟的组件,所以自己实现了ActionMapper来定制REST,从而在规范性,功能,以及效率上都有所增强。具体内容将在七街RC1的时候公布。

源代码SVN地址 http://dev.ave7.net/svn 有兴趣的朋友可以查看,代码注释等等地方还不合规范,以后会修正。

VN:F [1.9.10_1130]
Rating: 0.0/5 (0 votes cast)
Creative Commons License
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>