Description: Spring中提供一些Aware相关的接口,BeanFactoryAware、 ApplicationContextAware、ResourceLoaderAware、ServletContextAware等等,其中最常用到的是ApplicationContextAware。实现ApplicationContextAware的Bean,在Bean被初始后,将会被注入 ApplicationContext的实例。ApplicationContextAware提供了publishEvent()方法,实现Observer(观察者)设计模式的事件传播机,提供了针对Bean的事件传播功能。通过Application.publishEvent方法,我们可以将事件通知系统内所有的ApplicationListener。 -Spring provides a number of related Aware interface, BeanFactoryAware, ApplicationContextAware, ResourceLoaderAware, ServletContextAware and so on, which is the most commonly used ApplicationContextAware. ApplicationContextAware realize the Bean, the Bean was the initial post, it will be injected into the ApplicationContext instance. ApplicationContextAware provided publishEvent () method, realize Observer (observer) design pattern events dissemination machine, to provide for the dissemination functions Bean events. Application.publishEvent method adopted, we can notify the system events all ApplicationListener. Platform: |
Size: 4096 |
Author: |
Hits:
Description: 本系统采用struts+spring+hibernate架构,重在讲述三者结合在一起的应用开发,所有源程序都有详细的注释,供入门者学生参考,未经作者允许不得用于商业用途,只能用于教学或个人学习。
程序只是整个系统中的一个模块,用于和各位程序爱好者交流之用。
使用方法:
(1)在oracle数据库中运行数据库脚本文件cnc.sql.
(2)用eclipse(或其它开发工具)直接导入工程.
(3)将spring配置文件applicationContext.xml中数据库连接地址改为您自已的地址。
(4)部署到tomcat服务器中即可运行(jdk1.5以上).
用户名和密码均为:admin-The system uses struts+ Spring+ Hibernate framework, focusing on the three combined application development, all have detailed source notes, for beginners to students without author permit shall not be used for commercial purposes, can only be used in teaching or individual learning. Procedures for the entire system is only one of the modules, and all procedures for lovers to exchange purposes. Usage: (1) in the oracle database to run the database script file cnc.sql. (2) to use eclipse (or other development tools) directly into the project. (3) spring configuration file applicationContext.xml in the database connection address changed your own address. (4) deployed to the tomcat server to run (jdk1.5 and above). A user name and password are: admin Platform: |
Size: 267264 |
Author:郭英波 |
Hits:
Description: 本系统采用struts+spring+hibernate架构,重在讲述三者结合在一起的应用开发,所有源程序都有详细的注释,供入门者学生参考,未经作者允许不得用于商业用途,只能用于教学或个人学习。
程序只是整个系统中的一个模块,用于和各位程序爱好者交流之用。
使用方法:
(1)在oracle数据库中运行数据库脚本文件cnc.sql.
(2)用eclipse(或其它开发工具)直接导入工程.
(3)将spring配置文件applicationContext.xml中数据库连接地址改为您自已的地址。
(4)部署到tomcat服务器中即可运行(jdk1.5以上).
用户名和密码均为:admin
-The system uses struts+ Spring+ Hibernate framework, focusing on the three combined application development, all have detailed source notes, for beginners to students without author permit shall not be used for commercial purposes, can only be used in teaching or individual learning. Procedures for the entire system is only one of the modules, and all procedures for lovers to exchange purposes. Usage: (1) in the oracle database to run the database script file cnc.sql. (2) to use eclipse (or other development tools) directly into the project. (3) spring configuration file applicationContext.xml in the database connection address changed your own address. (4) deployed to the tomcat server to run (jdk1.5 and above). A user name and password are: admin Platform: |
Size: 4028416 |
Author:FLY |
Hits:
Description: spring 框架及其源代码
spring 框架一个轻量级的事务架构,它能够管理组件级的事务集成。Spring就是一个解决方案,它的优势在于它没有像JNDI 数据源那样嵌入到J2EE容器服务中。如果我们希望把这个轻量级的事务架构插入到已有的J2EE容器中,也没有任何困难。看起来它在两者之间的平衡性方面做得很好。
Spring 轻量级事务架构还使用了面向方面编程(AOP)框架。Spring AOP框架组件使用了激活了AOP的Spring bean工厂。通过在组件服务层(在一个Spring特定的配置文件applicationContext.xml中)指定事务特性,就把各种事务划分开来了。-spring framework and its source code framework for a lightweight spring affairs structure, it can manage the affairs of component-level integration. Spring is a solution, and its advantage is that it does not like the JNDI data source as embedded into the J2EE container services. If we wish to take the lightweight structure of affairs has been inserted into the J2EE container, do not have any difficulties. It seems the balance between the two have done very well. Spring Lightweight Services architecture also used the aspect-oriented programming (AOP) framework. Spring AOP framework of components used to activate the AOP of the Spring bean factory. Through the Component Services layer (in a Spring-specific configuration files in applicationContext.xml) designated Affairs characteristics, they separate the various affairs come. Platform: |
Size: 36703232 |
Author:刘永 |
Hits:
Description: Italk吧简易论坛
基于struts+extjs+hibernate+spring+mysql开发。
/catch目录为系统截图
安装步骤:
1:安装MYSQL,在root/web-inf/classes/applicationContext.xml中增加或修改用户名和密码,
你也可以直接执行grant.sql来创建系统默认使用的用户名和密码。
2:创建数据库,italk_src.sql是没有任何数据的数据库脚本,
italk_desc.sql是已经包含初始化数据的数据库脚本。执行italk_desc.sql来创建数据库-ITalk it simple forum based on struts+ Extjs+ Hibernate+ Spring+ Mysql development./catch screenshot directory for the system installation steps: 1: Install MYSQL, in the root/web-inf/classes/applicationContext.xml to add or modify a user name and password, you can also direct the implementation of grant.sql to create a system default user name and password. 2: Create Database, italk_src.sql there is no data in the database script, italk_desc.sql is already included in the database initialization script data. Executive italk_desc.sql to create a database Platform: |
Size: 11727872 |
Author:rrrr |
Hits:
Description: 本系统采用struts+spring+hibernate架构,重在讲述三者结合在一起的应用开发,所有源程序都
有详细的注释,供入门者学生参考,未经作者允许不得用于商业用途,只能用于教学或个人学习。
程序只是整个系统中的一个模块,用于和各位程序爱好者交流之用。
使用方法:
(1)在oracle数据库中运行数据库脚本文件cnc.sql.
(2)用eclipse(或其它开发工具)直接导入工程.
(3)将spring配置文件applicationContext.xml中数据库连接地址改为您自已的地址。-The system uses struts+ spring+ hibernate architecture, with emphasis on the combination of application development, have all detailed source notes, a reference for beginner students, without the author shall not be used for commercial use permit can only be used in teaching or individual study. Procedures for the entire system is only one of the modules, and all procedures used to communicate by enthusiasts. Usage: (1) oracle database script file to run the database cnc.sql. (2) using eclipse (or other development tools) directly into the project. (3) in the spring configuration file applicationContext.xml address change database connection your own address. Platform: |
Size: 4028416 |
Author:simuu |
Hits: