——Spring
张今天
这个作者很懒,什么都没留下…
展开
-
Spring Framework_学习记录_07
1.回调函数: DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.suppo...原创 2019-03-20 16:18:38 · 118 阅读 · 0 评论 -
Spring AOP_学习记录_02
1. Pointcuts and Wildcard Expressions、A few More Pointcut Expressions org.zcs.springAop-AopMain.java package org.zcs.springAop; import org.springframework.context.ApplicationContext; import org.spr...原创 2019-03-26 16:49:42 · 137 阅读 · 0 评论 -
Spring AOP_学习记录_03
1.JoinPoints and Advice Arguments org.zcs.spring.Aop - AopMain.java package org.zcs.springAop; import org.springframework.context.ApplicationContext; import org.springframework.context.support.Clas...原创 2019-03-26 17:18:59 · 133 阅读 · 0 评论 -
Spring AOP_学习记录_04
1.After advice Types org.zcs.springAop - AopMain.java package org.zcs.springAop; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplic...原创 2019-03-26 19:06:41 · 133 阅读 · 0 评论 -
Spring Data_学习记录_01
1.Using JDBC without Spring org.zcs.springjdbc-JdbcDemo.java package org.zcs.springjdbc; import org.zcs.springjdbc.dao.JdbcDaoImpl; import org.zcs.springjdbc.model.Circle; public class JdbcDemo { ...原创 2019-03-30 17:53:12 · 111 阅读 · 0 评论 -
Spring Data_学习记录_02
1.Adding Spring and DataSource Configuration org.zcs.springjdbc -JdbcDemo.java package org.zcs.springjdbc; import org.springframework.context.ApplicationContext; import org.springframework.context....原创 2019-03-30 17:53:44 · 106 阅读 · 0 评论 -
Spring Data_学习记录_03
1. Using Jdbc Template org.zcs.springjdbc - JdbcDemo.java package org.zcs.springjdbc; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlA...原创 2019-03-31 09:58:58 · 111 阅读 · 0 评论 -
Spring Data_学习记录_04
1. Using Jdbc Template、Returing Other Datatypes from JdbcTemplate、Implementing RowMapper、Performing Write Operations with JdbcTemplate org.zcs.springjdbc-JdbcDemo.java package org.zcs.springjdbc; i...原创 2019-03-31 11:15:42 · 121 阅读 · 0 评论 -
Spring Data_学习记录_05
1. Named Parameter JDBC Template org.zcs.springjdbc-JdbcDemo.java package org.zcs.springjdbc; import org.springframework.context.ApplicationContext; import org.springframework.context.support.Clas...原创 2019-03-31 12:04:22 · 113 阅读 · 0 评论 -
Spring Framework_学习记录_13
1. Some JSR-250 Annotations Triangle.java package org.zcs.spring; public class Triangle implements Shape { private Point pointA; private Point pointB; private Point pointC; public Point ge...原创 2019-03-22 15:45:55 · 115 阅读 · 0 评论 -
Spring Framework_学习记录_15
1.Using MessageSource To Get Text From Property Files DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationCon...原创 2019-03-24 17:19:40 · 265 阅读 · 0 评论 -
Spring Framework_学习记录_16
1. EventHanding in Spring Circle.java package org.zcs.spring; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import javax.annotation.Resource; import org.springframew...原创 2019-03-24 17:52:19 · 137 阅读 · 0 评论 -
Spring AOP_学习记录_05
1. Around Advice Type org.zcs.spring.zcs.springAop - AopMain.java package org.zcs.springAop; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassP...原创 2019-03-27 15:16:26 · 105 阅读 · 0 评论 -
Spring AOP_学习记录_08
1. Understanding AOP Proxies org.zcs.springAop-AopMain.java package org.zcs.springAop; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXml...原创 2019-03-29 16:06:27 · 112 阅读 · 0 评论 -
Spring Framework_学习记录_14
1.Component And Annotations Circle.java package org.zcs.spring; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import javax.annotation.Resource; import org.springfram...原创 2019-03-22 16:08:52 · 201 阅读 · 0 评论 -
Spring AOP_学习记录_07
1. AOP XML configuration org.zcs.springApp-AopMain.java package org.zcs.springAop; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlAppl...原创 2019-03-29 15:18:51 · 102 阅读 · 0 评论 -
Spring Framework_学习记录_01
1. 在spring官网下载 spring FrameWork. 目的网址: http://repo.spring.io/libs-release-local/org/springframework/spring/ 该网站存放了spring-Framwork的许多版本。 1.1 详细寻找步骤: (1) 进入spring官网,进入springFrameWork。 (2)选择github。 (3...原创 2019-03-16 18:52:51 · 176 阅读 · 0 评论 -
Spring Framework_学习记录_02
1. 使用spring bean Factory 写代码。 DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.springf...原创 2019-03-16 19:26:46 · 127 阅读 · 0 评论 -
Spring Framework_学习记录_03
1. 使用构造函数注入。 DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context....原创 2019-03-16 19:51:26 · 140 阅读 · 0 评论 -
Spring Framework_学习记录_04
1.注入对象 DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.suppor...原创 2019-03-16 20:28:35 · 130 阅读 · 0 评论 -
Spring Framework_学习记录_05
1.在bean内部注入 DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.s...原创 2019-03-16 21:02:54 · 137 阅读 · 0 评论 -
Spring Framework_学习记录_06
1.集合实例化 DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.suppo...原创 2019-03-16 21:30:59 · 116 阅读 · 0 评论 -
Spring Framework_学习记录_08
1.lifecycles callbacks(生命周期回调) DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.spring...原创 2019-03-21 14:56:59 · 108 阅读 · 0 评论 -
Spring Framework_学习记录_09
1.Writing a BeanPostProcessor DrwaingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org.spring...原创 2019-03-21 15:26:44 · 110 阅读 · 0 评论 -
Spring Framework_学习记录_10
1.Writing a BeanFactoryPostProcessor DrawingApp.java package org.zcs.spring; import org.springframework.beans.factory.BeanFactory; import org.springframework.context.ApplicationContext; import org...原创 2019-03-21 16:16:48 · 120 阅读 · 0 评论 -
Spring Framework_学习记录_11
1.Coding To Interfaces Shape.java package org.zcs.spring; public interface Shape { public void draw(); } Triangle.java package org.zcs.spring; public class Triangle implements Shape { ...原创 2019-03-21 19:10:15 · 126 阅读 · 0 评论 -
Spring AOP_学习记录_01
1. 在eclipse中加入spring aop 的依赖包 1.1 所需依赖如下所示: aopalliance-1.0.jar asm-3.3.1.jar aspectj-1.7.1.jar aspectjrt-1.7.0.jar(在aspectj-1.7.1.jar里面) aspectjweaver-1.7.0.jar(在aspectj-1.7.1.jar里面) cglib-2.2.2.jar...原创 2019-03-25 12:43:17 · 144 阅读 · 0 评论 -
Spring Framework_学习记录_12
1. The Autowired Annotation Circle.java package org.zcs.spring; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; publ...原创 2019-03-22 15:02:58 · 119 阅读 · 0 评论 -
Spring AOP_学习记录_06
1. Naming Conventions and Custom Advice Annotations org.zcs.springAop- AopMain.java package org.zcs.springAop; import org.springframework.context.ApplicationContext; import org.springframework.cont...原创 2019-03-27 15:44:16 · 124 阅读 · 0 评论