自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(74)
  • 收藏
  • 关注

原创 Spring Boot Rock'n'Roll

[url]afoo.me/posts/2015-07-09-how-spring-boot-works.html[/url]

2015-07-12 10:36:49 131

原创 JVMole, A SBT0.12 tab-completion command-line application prototype

[url]https://github.com/fujohnwang/jvmole[/url] SBT0.12 tab-completion command-line application prototype by ME! Simple, and have fun~

2012-08-14 14:40:20 120

原创 Move2 http://fujohnwang.github.com

[url]http://fujohnwang.github.com[/url]

2011-10-27 18:04:26 239

基于iBatis的开源分布式数据访问层

[url]http://code.alibabatech.com/wiki/display/cobarclient/Home[/url]这个东西其实已经出来很长时间了,思路和成型也比其它相似的东西要早一些,公司近期才准备开源,所以就放出来了, 当然,不一定完美,东西比较简单, 所以开源出来希望能集思广益, 欢迎使用,拍砖,提意见主要features:1- data access...

2011-03-28 11:46:57 143

原创 博客停止更新声明

msn space, word press, javaeye博客停止更新,以后转入哲思http://www.zeuux.com/blog/user/fujohnwang/ 愿意看的看看, 不愿看的略过...-----------------------------------------------更新提示: http://fujohnwang.blogspot.com...

2010-10-18 10:31:55 157

原创 分布式数据访问与同步场景浅析

分布式数据访问与同步场景浅析(Simple Ideas on Distributed Data Manipulation Things) 王福强(Darren.Wang)<[email protected]>Table of Contents1. FK Data Store From T...

2010-09-06 19:50:12 123

原创 Netty Framework Tips And Gotchas

王福强(Darren.Wang)<[email protected]>Table of Contents1. Tips of Netty2. Gotchas of Netty1. Tips of Netty annot...

2010-08-11 18:01:52 108

原创 有关Maven编译DeprecatedAPI失败的问题

        在项目代码里用了sun.misc.Signal和sun.misc.SignalHandler, 自己的Mac下编译没问题, 在别人的Windows下编译报"警告:sun.misc.Signal 是 Sun 的专用 API,可能会在未来版本中删除", 警告也就算了, 还tmd编译失败, maven -e 打出来的异常是:[INFO] Traceorg.apache.maven...

2010-08-02 10:59:37 645

原创 Java Daemon Control

Java Daemon Control王福强(Darren.Wang)<[email protected]>2010-07-27Table of Contents1. Old Days Solutions2. Alternatives Available Today...

2010-07-27 17:50:43 108

原创 Reading Notes of <<Event Based Programming- take events to limit>>

notification delivery types: by shared resources(SR) by procedure calls(PC)Payload Types: String Based Payload Record Based Payload( fixed length fields) Object Based Payload (Type Couplin...

2010-07-20 17:20:04 91

原创 Event Driven Style API Design Instead of Old Procedure Style Ones

王福强(Darren.Wang) &lt;[email protected]&gt;  2010-07-12 Table of Contents1. Background of this topic2. The original event-driven style API design demonstration3. current proc...

2010-07-12 19:53:02 146

原创 HA狭义与广义论

Author: Darren Wang(fujohnwang)Date  : 2010-070-08  HA概念本身平淡无奇, HA者, High Availability的简称嘛!不过, 或许真的是自身愚笨, HA, HA的听多了, 还真没把它当回事。 很多年之后才真正“吃”出点儿味儿来。 我得说, 大家通常挂在嘴边的HA应该属于狭义概念上的HA, 它通常指代某种Activ...

2010-07-09 09:25:51 183

原创 Why We Need A Global ID Generator?!

Table of Contents1. Pains In The Neck1.1. MySQL的自增长主键的问题(The Problem With MySQL's Auto-Increment ID)1.2. Similar Problem With Credit's Scenario On DB22. What We D...

2010-05-18 13:01:01 107

Elegant Architecture With AOP-alike Thoughts

        There are NO new things here, what I do is to just make them more theoretical and clear our heads so that we can push such similar ideas to more scenarios and gain more benefits. 既然我们要...

2010-04-20 20:23:00 111

我为什么现在很少更新博客?

       完全是今天无意中看到一个人的博客中提到的某些事情, 才决定要对这个话题闲扯几句       要说把所有的理由都列出来显然是不现实的, 估计也没人感兴趣, 所以, 挑几个比较特殊的点说说吧!             我为什么现在很少更新博客?       因为想说的东西几乎“被”封口, 我不知道大家有没有关注过, 许多牛人进了google或者apple之后都几乎在网络上...

2010-04-14 13:59:46 92

NoSQL DataStore Types Recap

-----------------------------------------------NoSQL Data Stores -----------------------------------------------* Key-value stores:     Redis, Scalaris, Voldmort(***), and Riak.* Document st...

2010-03-30 14:32:17 97

Simple, Yet Powerful系列之“隔离”

    隔离的概念其实很简单, 但越是简单的东西, 就越不能小看。应用得当的话, 可以让我们的系统“天生丽质”, 一出生就在某些方面领先他人一步, 不信, 咱上眼瞧...隔离以提高系统的容灾    部门本来有一个项目可以满足其它部门的需求, 但一些架构师不想使用现有的这个项目,而要另起炉灶, 其中的一个原因是某个应用如果突发状况致使统一的服务down掉, 那么使用统一服务的其它应用...

2010-03-30 09:06:11 346

Gotchas With JUnit's Execution Model

Maybe you have known it before, or maybe not, no matter what, It’s a funny topic.The Code below seems simple, so let’s see what happens with it:public class MyTest extends TestCase { privat...

2010-03-26 09:22:19 100

原创 Transaction Management Patterns In Brief

        There are several patterns you can take when you have faced with balances on transaction management, especially when you are using spring framework to do such things. The idea is not mine, I j...

2010-02-09 10:27:48 97

原创 "扩展Spring的依赖注入行为"两例

扩展Spring的依赖注入行为两例王福强(Darren.Wang)Table of Contents1. 注入以Enum作为Key的Map依赖1.1. 自定义FactoryBean1.2. 自定义BeanPostProcessort1.3. 自定义Propert...

2009-12-26 12:59:11 135

原创 ScalaPattern之Selfless Trait Pattern

原文出处:http://www.artima.com/scalazine/articles/selfless_trait_pattern.html   Summary      This article describes a simple Scala design pattern that allows librarydesigners to pro...

2009-12-15 10:38:09 94

原创 ScalaPattern之Stackable Modification Trait Pattern

原文出处:http://www.artima.com/scalazine/articles/stackable_trait_pattern.htmlOne way to use Scala's traits is as stackable modifications. In this pattern, a trait (or class) can play one of...

2009-12-14 09:06:54 97

怎么有些人跟疯狗似的那?

 我完全可以屏蔽这种言论, 不过, 我就是要放出来,因为我发现, 当100号人里,就1号这样的,看着也挺有意思的... 

2009-12-11 11:21:11 127

Using Java Reflection In a DSL-like Style

Using Java Reflection In a DSL-like StyleUsing Java Reflection In a DSL-like Style王福强(Darren.Wang)&lt;[email protected]&gt;I know someone must have heard o...

2009-12-07 09:19:01 105

Scala Pattern 之 Loan Pattern

Scala Pattern 之 Loan Pattern Loan Pattern从字面上的来看,意思就是, “我”贷给“你”某样东西, 用完后还得还“我”。 在Scala里面,你可以使用这种模式来实现相应资源的管理和使用。这跟Spring框架里JdbcTemplate+相应Callback的实践很相似, 不过, 在表达上面, 用S...

2009-11-30 09:45:42 80

原创 eBay lessons updated from 5 to 10

这个“骗骗他”应该早就出来了,今天偶尔又看到一个人的blog上提到,就转贴一下。写道10 LessonsThe presentation does a good job explaining each lesson, but the list is... 1. Partition Everything - if you can't split it, you can't ...

2009-11-24 19:59:19 71

框架API设计相关的碎言

框架的API设计,应该是一个从粗粒度到细粒度的精炼过程,而不能一开始就提供细粒度却没有考虑周全的API,这样的情况会:1- 造成框架使用者的窘迫, 当框架实现中存在bug的时候, 使用者将难以绕过这些bug而前行, 只能等待框架的bug fix版本的发布;2- 造成框架的频繁而仓猝的升级, 难免又引入新的bug;从理性的角度来看, 框架的API设计, 开始之初, 应该是...

2009-11-17 09:32:43 71

自定义Mave archetype的创建

Table of Contents1. 创建Maven自定义Archetype一般流程2. 可能遇到的一些问题2.1. Java文件对应的package被忽略2.2. 多余文件的清理2.3. 二进制文件的损坏3. 最初草稿 阅读级别: basic lev...

2009-10-29 20:12:09 96

看来有人已经有要抢先推出这个节目的意思了

这篇blog对java, clojure和scala中的并发处理模型进行了对比, 主要挑选了三种语言所代表的主要并发处理模型, 跟我一直在策划的一个topic有些相近, 不过, 他也只是一篇blog,我可是想整个都捣鼓一遍, 当然, 前提是得有时间... http://fupeg.blogspot.com/2009/10/concurrency-patterns-java-scala-an...

2009-10-27 19:29:27 120

Hot Stuff - Lombok

give it a try, it's really cool , especially after seeing the video on its site. http://projectlombok.org/

2009-10-22 19:46:07 70

Valang Validator under the hood

Table of Contents1. Valang Validator under the hood1.1. How to Convert Valang syntax Expression into ValidationRule Object model?1.2. Custom ValangValidator or ValidationRule...

2009-10-19 13:29:14 64

ThreadSafety, Non-ThreadSafety 与 Stateless, Stateful有必然的对应关系吗?

“It depends.”我们可以把以上问题拆作两个问题来看:  首先, 一个stateless的对象一定就是线程安全(threadsafe)的吗?   正常情况来讲, 一个stateless对象基本上是线程安全的。你想啊,当前对象本身就没有共享的状态, 所有的操作基本上都限定(confine)到了方法的stack当中,这样的对象基本上就是线程安...

2009-10-09 09:11:46 123

A Big Piture On Concurrency

 3- Concurrency Share (Concurrency Made Easy)    3.1 why concurrency?        1 - 为了反应一些问题的逻辑结构(reflect the logical structures of some problems)         2 - 为了应对相互独立的多台物理设备(to manange multiple ...

2009-09-12 09:49:50 104

尴尬的COC

 Convention Over Configuration大家都已经耳熟能详了, 这东西好不好那? 好, 绝对是好, 不过, 还要看用的人到底怎么用, 或者说是否真的理解了它到底是怎么回事, 说两三个小场景... 发现某个框架虽声称COC是其主打特色, 但某些功能模块在实现的时候却没有将COC执行彻底, 比方说, 大部分情况下可以根据URL取得的信息, 现在依然要求开发人员在某个配置...

2009-08-25 11:04:01 70

ClassWorking With Spring Framework

Table of Contents1. ClassWorking Utilities In Spring Framework1.1. org.springframework.core.GenericCollectionTypeResolver1.2. org.springframework.core.annotation.AnnotationUtils1....

2009-08-24 16:36:42 108

数数自己经历过的几种项目构建工具

Table Of Content1. ANT先行2. Eclipse那囊括一切的宽广胸怀3. 集中式依赖管理时代4. ANT+IVY组合5. 后话一提到项目构建, 对于Java开发人员来说, 最先跃入脑海的自然当属ANT, 所以, 就先从俺ANT的经历开始... ...

2009-07-18 16:12:57 114

巧遇冯大辉さん

      说来比较有意思的, 参加百年阿里培训的时候, 某一天的某个活动是按照主题去采访阿里内部的员工, 我跟小组的赵允玲跑到了华星时代支付宝,让人给介绍了一个工作年限三年以上的人,应该叫陈思南, 我记得当时拍下了她的工牌, 采访完她之后,又让她帮忙介绍另一位工作年限三年以上的员工给我们采访, 然后她就待我们找到一位男同胞跟前,开始吧,一点儿概念没有,呵呵, 后来冷不丁也想拍下工牌,一看---冯...

2009-07-08 12:39:01 183

Unveil Spring 连载 之 一起来看AOP

在我们真正进入Spring的AOP框架的“内心世界”之前, 我觉得有必要先对整个AOP的概念以及它的来龙去脉来道个明白,毕竟,一般情况您都了如指掌了,特殊的AOP实现产品又有何难那!? 3.1. 一起来看AOP!3.1.1. AOP的尴尬3.1.2. AOP走向现实3.1.3. Java平台上的AOP实现机...

2009-06-18 22:45:31 183

Unveil Spring 连载 之 AOP应用案例

3.3. AOP应用案例(AOP Use cases)3.3.1. 异常处理(Exception Handling)3.3.1.1. 异常处理简单攻略(Exception Handling Introduction)3.3.1.2. fault barrier3.3.2. 安全检查(security checking)3.3.3...

2009-06-10 21:36:46 222

Unveil Spring 连载 之 Spring MVC篇II

6.2.1. 鸟瞰SpringMVCSpringMVC框架在处理控制器(Controller)的实现方面与其他的request驱动的web框架在总体思路上是相似的,就跟我们所说的那样,通过引入Front Controller和PageController的概念来分离流程控制逻辑与具体的web请求处理逻辑。org.springframework.web.servlet.Dispa...

2009-06-07 17:12:28 80

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除