AOP
辐_射
这个作者很懒,什么都没留下…
展开
-
spring_由注解实现AOP面向切面编程_实现动态代理
新加Jar包: spring-aop-4.0.0.RELEASE.jar aopalliance-1.0.jar aspectjrt.jar aspectjweaver.jar <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema原创 2017-05-24 02:23:52 · 485 阅读 · 1 评论 -
spring_SSH整合之_架构的历史(架构整合JSP+Hibernate+Spring+Struts2)_7
hibernate-3.6.0+struts2-2.3.32+spring4.0.0+所用的包如下: antlr-2.7.6.jar aopalliance-1.0.jar aspectjrt.jar aspectjweaver.jar c3p0-0.9.1.jar commons-collections-3.1.jar commons-dbcp-1.4.jar commons-f原创 2017-05-28 01:36:47 · 491 阅读 · 0 评论 -
spring_SSH整合之_架构的历史(架构整合JSP+Hibernate+Spring)_6
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.s原创 2017-05-27 23:43:23 · 378 阅读 · 0 评论 -
Spring_SSH整合之_架构的历史(四层架构整合JSP+MySQL+JavaBean+Hibernate)_3
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> <!-- This mapping demonstrates how to use an "inverse" joi原创 2017-05-26 19:01:32 · 426 阅读 · 0 评论 -
spring_packagesToScan自动扫描实体类
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.s原创 2017-05-25 15:35:11 · 1987 阅读 · 0 评论 -
spring_Spring+Hibernate_使用XML进行声明式事务管理
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.s原创 2017-05-25 15:06:37 · 516 阅读 · 0 评论 -
spring_Spring+Hibernate_使用Annotation进行声明式事务管理
beans.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="原创 2017-05-25 13:58:14 · 630 阅读 · 0 评论 -
spring_使用占位符连接数据库_PropertyPlaceholderConfigurer_DataSource配置创建获取
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <bean id="myDataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource">原创 2017-05-24 19:08:43 · 670 阅读 · 0 评论 -
spring_DBCP数据库连接池_DataSource配置创建获取
package com.bjsxt.dao.impl; import java.sql.Connection; import java.sql.SQLException; import javax.annotation.Resource; import javax.sql.DataSource; import org.springframework.stereotype.Component;原创 2017-05-24 18:22:38 · 747 阅读 · 0 评论 -
spring_由XML实现AOP面向切面编程_实现动态代理
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.s原创 2017-05-24 16:26:58 · 395 阅读 · 0 评论 -
spring_SSH整合之_架构的历史(架构整合JSP+Hibernate+Spring+Struts2+DTO)_8
======================================================= DTO= Data Transfer Object 数据传输对象 VO = Value Object 值对象 ======================================================= 界面原型 实体类 package com.bjsxt.原创 2017-05-28 22:28:57 · 420 阅读 · 0 评论