文章平均质量分 91
cywhoyi
这个作者很懒,什么都没留下…
展开
-
Kettle第三课
当前两次学习汇总起来以后,kettle的使用有点水到渠成了,多转换任务下作业的使用,其实就是job下1->NTransformations,然后进行一一调度,高深使用不外乎就是日志记录、以及插入\更新、多格式的输入\输出、脚本编写判断等 截图来展示基础效果,以免以后重复性工作,现成的ETL工具使用,确实给我带来比较快速的开发,下一阶段就是必须把已有的东西消化完,进行延展...原创 2012-07-26 19:42:15 · 106 阅读 · 0 评论 -
Deep diving into Cloning
文章摘自http://idiotechie.com/,Mainak Goswami的blog首先来查看下heap如何分配Object这并非clone,这只是把对象引用共享性质了。 What is cloning?clone就是把自己给复制所有东西倾囊相授,但是又不是它自己,是不同个体。如同黑哥帝国中所有的黑衣人都是独立个体,但是同是具有同一的能力。public cla...2013-10-11 14:07:47 · 134 阅读 · 0 评论 -
Spring Expression Language
接着http://ray-yui.iteye.com/blog/1944582的火热,兄弟也来一把,关于Spring Expression Language 主要是告诉大家如何通过annotion以及XML的方式进行EL表达方式的解析,同样也会告诉大家如何通过ExpressionParser 接口类实现对于EL表达式的解析。工程采用标准的MAVEN,在附件中有提供代码接下来的...2013-09-23 10:17:47 · 103 阅读 · 0 评论 -
Spring Social之twitter、weibo
Spring Social 500pxSpring Social BitBucketSpring Social DiggSpring Social DropboxSpring Social FlattrSpring Social FlickrSpring Social FoursquareSpring Social GoogleSpring Social Ins...原创 2013-09-22 14:18:06 · 284 阅读 · 0 评论 -
GC基本调优工具介绍
上次提到了spring insight http://cywhoyi.iteye.com/blog/1934992这次需要使用到以下工具 Eclipse Indigo Release Memory Analyzer via IBM Support Assistant 4.1 (HotSpot Heap Dump analysis) Java VM: Windows H...2013-09-16 17:43:05 · 134 阅读 · 0 评论 -
Using slf4j with logback
slf4j是一款非常不错的关于log的开源框架,logback是依托于log4j的api,但是它提供了更多的属性,不管是在性能、内存损耗上,都有显著提高,并且它能够提供自动加载、过滤以及其它的属性特征。第一步,建立pom.xml<properties> <slf4j.version>1.6.4</slf4j.version> <logba...2013-09-12 10:11:03 · 95 阅读 · 0 评论 -
Stack and Heap in Java
Here we are going to discuss the concepts of Heap and Stack in Java.First and foremost thing to remember about the stack and heap is that they are generic terms for ways in which memory is allocated....原创 2013-08-22 13:50:32 · 193 阅读 · 0 评论 -
Reflection API
If you have ever asked yourself questions like these:– “How do I invoke a method, having only it’s name in a String?”- “How do I list all the attributes in a class dynamically?”- “How do I write a me...原创 2013-08-21 16:15:42 · 205 阅读 · 0 评论 -
Difference between HashSet and HashMap in Java
HashSet and HashMap in JavaHashSet vs HashMap is a classical Java Collection interview question which focuses on What are differences between HashSet and HashMap in terms of features, usage and perf...原创 2013-08-14 13:59:07 · 93 阅读 · 0 评论 -
Difference between Comparator and Comparable in Java - Interview Question
During interviews, you can face this question differently, if you are giving telephonic round than it's mostly fact based i.e. you need to mention key points about both interfaces, while in face to fa...原创 2013-08-10 20:03:31 · 103 阅读 · 0 评论 -
Java Priority Queue (PriorityQueue) Example
We know that Queue follows First-In-First-Out model but sometimes we need to process the objects in the queue based on the priority. For example, let’s say we have an application that generates stoc...原创 2013-08-09 16:15:31 · 123 阅读 · 0 评论 -
Java Executor Framework
Java 5 introduced Thread pool in Java in form of Executor framework, which allows Java programmer to decouple submission of task to execution of task. If you are doing server side programming in Jav...原创 2013-08-09 12:34:08 · 111 阅读 · 0 评论 -
A Simple Plugin System for Web Applications
We need to make multiple web-based projects with a lot of shared functionality. For that, some sort of a plugin system would be a good option (as an alternative to copy-pasting stuff). Some framewor...原创 2013-08-08 13:57:37 · 93 阅读 · 0 评论 -
Loan pattern in Java
se CaseImplement separation between the code that holds resource from that of accessing it such that the accessing code doesn’t need to manage the resources. The use case mentioned holds true when...原创 2013-08-07 13:47:26 · 164 阅读 · 0 评论 -
Memento Design Pattern
Memento pattern is one of the behavioral design pattern. Memento design pattern is used when we want to save the state of an object so that we can restore later on. Memento pattern is used to implem...原创 2013-08-07 11:29:56 · 187 阅读 · 0 评论 -
collection的面试题
Without argument, java collections is one of the most important area where you will be tested in any position whether junior or senior. The scope is so much wide, that its almost impossible to cover...原创 2013-07-25 20:50:50 · 1003 阅读 · 0 评论 -
Jersey使用HTTP CACHE
在使用Jersey的restful的过程中,对于Http Cache有一定的基础了解,Cache-Control-private/public : private是并不能呗CDN或者代理接受,但是public可以-no-cache,no-store,max-age 属性值用来给Cache的特性设置 @GET @Path("/map") public Respo...原创 2013-10-24 09:28:34 · 120 阅读 · 0 评论