2016年6月8日
摘要:
(分析基于Spring的版本:version = 4.1.6.RELEASE) SpringAOP 和 AspectJ 的关系:它们是两种不同的编程风格, SpringAOP 使用 xml 配置的形式配置 aop。而 AspectJ 使用 AspectJ 的注解来配置 aop aspect、Join
阅读全文
posted @ 2016-06-08 19:15
快鸟
阅读(1179)
推荐(0)
2016年5月26日
摘要:
elasticsearch中的概念同传统数据库的类比如下: Relational DB -> Databases -> Tables -> Rows -> ColumnsElasticsearch -> Indices -> Types -> Documents -> Fields 导入数据API:
阅读全文
posted @ 2016-05-26 19:40
快鸟
阅读(280)
推荐(0)
摘要:
part -- 外挂1.dubbo借助spring的schema启动和初始化 1.1 spring扫描所有jar下META-INF的spring.handlers和spring.schemas。 1.2 运行spring.handlers下定义的DubboNamespaceHandler的init方
阅读全文
posted @ 2016-05-26 15:16
快鸟
阅读(4864)
推荐(1)
2016年5月23日
摘要:
<ref:https://techythought.wordpress.com/2013/01/12/92/>
阅读全文
posted @ 2016-05-23 17:23
快鸟
阅读(187)
推荐(0)
2016年5月5日
摘要:
Difference between applicationContext.xml and spring-servlet.xml in Spring Framework Scenario 1 In client application (application is not web applicat
阅读全文
posted @ 2016-05-05 11:34
快鸟
阅读(500)
推荐(0)
2016年4月26日
摘要:
今天碰到一个问题,写了一个@Service的bean,类名大致为:BKYInfoServcie.java dubbo export服务的配置: <dubbo:service interface="com.xxx.XxxService" ref="bKYInfoServcie" /> 结果启动报错:找
阅读全文
posted @ 2016-04-26 23:19
快鸟
阅读(30435)
推荐(8)
2016年4月23日
摘要:
1. 从官网下载安装包:mysql-5.7.12-win32.zip 2. 解压到C盘(任意盘符都行) C:\mysql-5.7.12-win32 3. 修改配置文件:C:\mysql-5.7.12-win32\my-default.ini 4. 配置系统环境变量path=....(之前的加上)..
阅读全文
posted @ 2016-04-23 15:22
快鸟
阅读(1370)
推荐(1)
2016年4月21日
摘要:
按两个 shift 后,输入 render ,可以将 所有的注释进行渲染 展示。这样代码看起来更简洁,同样的方式也可以放开 ctrl + shift + i :弹出窗口查看类的定义 ctrl + shift + a :输入 action 执行。(例如:输入 pull 进行拉代码) ctrl + sh
阅读全文
posted @ 2016-04-21 20:59
快鸟
阅读(948)
推荐(0)
2016年3月30日
摘要:
我们可以在Spring的bean中轻松的注入HttpServletRequest,使用@Autowired HttpServletRequest request;就可以了。 但是,为什么我们可以直接这样用呢? 原因肯定是Spring在容器初始化的时候就将HttpServletRequest注册到了容
阅读全文
posted @ 2016-03-30 10:27
快鸟
阅读(11635)
推荐(4)
2016年3月25日
摘要:
关于 js 生成 yyyy-mm-dd 格式,往往都会采取手动拼接,一般不愿意为了小功能而去动用 momentjs 之类的插件。 ps: 只分享简单方法,网上有 N 多 dateformat 代码,这里不做讨论。 low B 的 IE 假如要兼容 IE6+,通常会这么写。 确实有点繁琐,不过最近看到
阅读全文
posted @ 2016-03-25 20:05
快鸟
阅读(505)
推荐(0)