摘要
Struts是广泛应用的Web框架,但它没有提供如何访问数据的方法。JDO是数据访问框架,利用O-R映射来访问数据库,而一般要用JDBC和SQL来访问数据库,较之JDO更加方便和快捷。一个成熟的应用需要两者结合起来才能形成一个完整的方案。这里提出用Struts作为前台和逻辑控制,用JDO作为后台数据访问层来开发B/S架构的信息管理系统的一种方案。
Struts is a well-used Web framework,but it does not give a way to access database.JDO is a data-access framwork,which use O-R mapping to access database and is more convenient than the common way that uses JDBC and SQL to access and manipulate database.A mature application needs both to build a complete scheme.Here a scheme for management information system based on B/S framework developped with Struts which is as a front to controls logic and JDO which is as a background to access database is introduced.
出处
《微机发展》
2004年第10期15-16,20,共3页
Microcomputer Development
基金
湖北省建设科技开发项目(k200333)