紀念一下,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