会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Rainyn
永远年轻,永远热泪盈眶
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
22
下一页
2017年12月18日
代理模式
摘要: 转自 http://blog.csdn.net/briblue/article/details/73928350 参考:https://www.jianshu.com/p/58759fef38b8 一、静态代理 结果: 现在可以看到,代理模式可以在不修改被代理对象的基础上,通过扩展代理类,进行一些功
阅读全文
posted @ 2017-12-18 00:39 Rainyn
阅读(247)
评论(0)
推荐(0)
2017年12月17日
注解(二)模拟实体到数据库表字段的映射
摘要: 输出结果:
阅读全文
posted @ 2017-12-17 20:40 Rainyn
阅读(2808)
评论(0)
推荐(0)
注解(一)
摘要: 转自 https://zhuanlan.zhihu.com/p/27643133 实例一: 输出: 实例二: 输出结果: 实例三: 输出:
阅读全文
posted @ 2017-12-17 19:38 Rainyn
阅读(290)
评论(0)
推荐(0)
2017年12月16日
反射
摘要: 常用反射的一些地方 https://www.cnblogs.com/ldh-better/p/7148975.html#_label2_1 如何优化反射?
阅读全文
posted @ 2017-12-16 16:49 Rainyn
阅读(228)
评论(0)
推荐(0)
2017年12月13日
子类构造器与父类构造器
摘要: 子类不能继承父类的构造器(构造方法或者构造函数),但是父类的构造器带有参数的,则必须在子类的构造器中显式地通过super关键字调用父类的构造器并配以适当的参数列表。 如果父类有无参构造器,则在子类的构造器中用super调用父类构造器不是必须的,如果没有使用super关键字,系统会自动调用父类的无参构
阅读全文
posted @ 2017-12-13 20:46 Rainyn
阅读(824)
评论(0)
推荐(0)
2017年12月11日
SSM项目搭建之配置文件
摘要: 1.1 pom文件配置 1.2 web.xml文件配置 1.3 applicationContext.xml 和 springMVC.xml 配置 1.3.1 applicationContext.xml (位置:ssm/src/main/resources) 1.3.2 springMVC.xml
阅读全文
posted @ 2017-12-11 19:33 Rainyn
阅读(1862)
评论(0)
推荐(0)
2017年12月8日
java Session统计在线用户,并且显示在线用户
摘要: 关键字: httpsession 1.http://www.jspcn.net/htmlnews/11049329478121583.html 监听器 2.session.invalidate() ,session才会destroy 3.HttpSessionListener: 这个监听取不到ses
阅读全文
posted @ 2017-12-08 15:10 Rainyn
阅读(1022)
评论(0)
推荐(0)
2017年12月7日
关于 "java中常量定义在interface中好还是定义在class中好" 的一些思考
摘要: 原文链接 http://blog.csdn.net/voo00oov/article/details/50433672 java中interface中定义变量都是"public static final" 类型的, 也就是常量, 因此很多人在interface定义常用的常量(这也是本人偏爱的方式);
阅读全文
posted @ 2017-12-07 16:10 Rainyn
阅读(723)
评论(0)
推荐(0)
2017年12月6日
Maven之自定义archetype生成项目骨架
摘要: Maven之自定义archetype生成项目骨架(一) http://blog.csdn.net/sxdtzhaoxinguo/article/details/46895013
阅读全文
posted @ 2017-12-06 15:42 Rainyn
阅读(263)
评论(0)
推荐(0)
面向切面编程
摘要: 参考: 简介及基本概念 http://blog.sina.com.cn/s/blog_6a0cb8bc0100zadr.html AOP两种配置方式 http://blog.csdn.net/yunshixin/article/details/52444049 spring 基于aop 实现日志输出
阅读全文
posted @ 2017-12-06 10:18 Rainyn
阅读(130)
评论(0)
推荐(0)
消息队列
摘要: http://www.jianshu.com/p/942925f36490
阅读全文
posted @ 2017-12-06 02:24 Rainyn
阅读(102)
评论(0)
推荐(0)
2017年11月30日
SpringMVC
摘要: SpringMVC 控制器Controller http://elim.iteye.com/blog/1753271 SpringMVC视图解析器 ViewResolver http://elim.iteye.com/blog/1770554 SpringMVC 中的拦截器Interceptor h
阅读全文
posted @ 2017-11-30 18:57 Rainyn
阅读(122)
评论(0)
推荐(0)
SpringMVC中url-pattern /和/*的区别
摘要: http://blog.csdn.net/u010648555/article/details/51612030
阅读全文
posted @ 2017-11-30 02:02 Rainyn
阅读(274)
评论(0)
推荐(0)
2017年11月29日
<mvc:default-servlet-handler/>不拦截静态资源的前提条件
摘要: http://blog.csdn.net/s740556472/article/details/71023388
阅读全文
posted @ 2017-11-29 17:01 Rainyn
阅读(758)
评论(0)
推荐(0)
【SpringMVC】<context:include-filter>和<context:exclude-filter>使用时要注意的地方
摘要: http://jinnianshilongnian.iteye.com/blog/1762632 http://blog.51cto.com/wenshengzhu/1700340 http://www.cnblogs.com/kevin-yuan/p/5068448.html 【转载】https:
阅读全文
posted @ 2017-11-29 16:39 Rainyn
阅读(4745)
评论(0)
推荐(3)
Spring中<context:annotation-config/>
摘要: 最近在研究Spring中<context:annotation-config/>配置的作用,现记录如下: <context:annotation-config/>的作用是向Spring容器注册以下四个BeanPostProcessor: AutowiredAnnotationBeanPostProc
阅读全文
posted @ 2017-11-29 16:20 Rainyn
阅读(215)
评论(0)
推荐(0)
SSM前后端分离及跨域
摘要: http://blog.csdn.net/qq_33510007/article/details/78549230
阅读全文
posted @ 2017-11-29 01:40 Rainyn
阅读(1303)
评论(0)
推荐(0)
2017年11月28日
Spring MVC 解读——<mvc:annotation-driven/>
摘要: https://my.oschina.net/HeliosFly/blog/205343
阅读全文
posted @ 2017-11-28 19:37 Rainyn
阅读(126)
评论(0)
推荐(0)
2017年11月27日
反射
摘要: http://blog.csdn.net/wang379275614/article/details/26957723
阅读全文
posted @ 2017-11-27 16:56 Rainyn
阅读(111)
评论(0)
推荐(0)
注解
摘要: http://blog.csdn.net/duo2005duo/article/details/50505884http://blog.csdn.net/duo2005duo/article/details/50511476http://blog.csdn.net/duo2005duo/articl
阅读全文
posted @ 2017-11-27 16:39 Rainyn
阅读(88)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
22
下一页