文件名称:Java EE)
- 所属分类:
- JSP源码/Java
- 资源属性:
- 上传时间:
- 2017-10-24
- 文件大小:
- 11.21mb
- 下载次数:
- 0次
- 提 供 者:
- 那**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
JavaEE实例讲解
LibraryManageSystem整体设计说明
LibraryManageSystem 使用了三层的架构:数据访问(Data acess)层、业务(business)层、视图(View)层。
数据访问层:使用JDBC来访问数据库,并对jdbc进行了简单的封装,使用Template mothod模式和回调接口大大减少了对jdbc的低级操作。其中JdbcTemplate类提供了使用jdbc访问数据库的模板,提供了queryForObject和queryForList方法来分别获取查询到的对象和对象的聚集,execute方法来更新、插入、删除操作。提供了(LibraryManageSystem overall design specification LibraryManageSystem uses three layers of Architecture: data access (Data acess) layer, business (business) layer, view (View) layer. Data access layer: using JDBC to access the database, and the JDBC is simply encapsulated, using Template mothod mode and callback interface greatly reduces the low-level operation of jdbc. The JdbcTemplate class provides access to the database using JDBC template provides queryForObject and queryForList to get to the object query and object aggregation respectively, execute method to update, insert, delete operation. Provides a RowCallBackHandler interface, can be realized through the interface to provide a callback processing of the query line, use the PreparedStatementCallBack callback interface, to provide for the parameters of PreparedStatement, provides the ORMaping interface, you can easily achieve the mapping)
LibraryManageSystem整体设计说明
LibraryManageSystem 使用了三层的架构:数据访问(Data acess)层、业务(business)层、视图(View)层。
数据访问层:使用JDBC来访问数据库,并对jdbc进行了简单的封装,使用Template mothod模式和回调接口大大减少了对jdbc的低级操作。其中JdbcTemplate类提供了使用jdbc访问数据库的模板,提供了queryForObject和queryForList方法来分别获取查询到的对象和对象的聚集,execute方法来更新、插入、删除操作。提供了(LibraryManageSystem overall design specification LibraryManageSystem uses three layers of Architecture: data access (Data acess) layer, business (business) layer, view (View) layer. Data access layer: using JDBC to access the database, and the JDBC is simply encapsulated, using Template mothod mode and callback interface greatly reduces the low-level operation of jdbc. The JdbcTemplate class provides access to the database using JDBC template provides queryForObject and queryForList to get to the object query and object aggregation respectively, execute method to update, insert, delete operation. Provides a RowCallBackHandler interface, can be realized through the interface to provide a callback processing of the query line, use the PreparedStatementCallBack callback interface, to provide for the parameters of PreparedStatement, provides the ORMaping interface, you can easily achieve the mapping)
相关搜索: javaEE实例
(系统自动生成,下载前可以参看下载内容)