李李的技术博客

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  13 随笔 :: 0 文章 :: 55 评论 :: 0 Trackbacks

2005年9月25日 #

纪念一下,dev.java.net效率还可以嘛,刚把描述/例子写好,提交毕业申请,希望下周就能毕业,正式加入java-enterprise中,呵呵。困……

http://bba96.dev.java.net
 
源码下载(包含一个快速开发的例子。)
https://bba96.dev.java.net/servlets/ProjectDocumentList?folderID=4149&expandFolder=4149&folderID=0
简单说就是基于hibernate/spring的快速开发框架,可以跟流行的mvc整合,目前只有webwork整合的版本

Bba96 include a flexible and convenient query object by encapsulating the hibernate Criteria and Projections, that make it easy to persist and query data.

Bba96's query object can construct a dynamic query parameter easily without any hql or sql, and meet database's 95% access requirement, so it is not necessary to write your DAO/SERVICE, the default DAO/SERVICE is enough in most cases. You can also write your DAO/SERVICE easily by extending default DAO/SERVICE.

Bba96 current version integrated with webwork 2.x, that is a rapid and efficient web develope framework, only several lines code in a webwork action can implement a persistent object's CRUD operation(with dynamic parameter query).

Bba96 plan to integrate with other mvc framework in future

Get Up And Running Quick

Example:
   (1) enter the example folder.
       NOTE:all following operation is under the example folder
   (2) copy your JDBC driver (default mysql) to the lib directory
       -- webapps\ROOT\WEB-INF\lib
   (3) edit hibernate.properties for database info (default mysql)
       -- src\main\java\hibernate.properties
   (4) run "ant"
   (5) edit applicationContext.xml for database info (default mysql) 
       -- webapps\ROOT\WEB-INF\applicationContext.xml (line 5 - 21)
   (6) start server and see this example


 

posted @ 2005-09-25 01:45 李李 阅读(867) | 评论 (5)编辑 收藏