ITeye博客

willpower

willpower · 共 68 篇文章

乱写一通(一)

哲学思想1: 其实很多时候, 你只需要从一个更高的层次去思考, 问题都会迎刃而解. 也就我们经常说的要透过现象看本质. 比如上学的时候, 每次大扫除, 老师把学生分为N个组, 每个组负责一小块, N个小组同时进行, 这就是动态分治的思想. ... 哲学思想2: 事物都是相对的. 学物理的时候不也有相对的概念吗. 对与一个解决方案, 我们都是把它放在一个特定的环境下才成立的. 就像我们做数学题时, 总要说在某个区间范围内有这样的解. 所以没有任何东西是绝对正确的, 因此我们又说: 实践是检验真理的唯一标准, 不管黑猫白猫, 只要抓到老鼠就是好猫. 未完待续...

2007-03-22 09:16 · Others 杂文 · 评论(0)

Map Reduce - the Free Lunch is not over? (From Internet)

This is a really good article, I love... Map Reduce - the Free Lunch is not over? Posted: 2006-11-16 02:29 微软著名的C++大师 Herb Sutter 在2005年初的时候曾经写过一篇重量级的文章:” The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software “,预言OO之后软件开发将要面临的又一次重大变革-并行计算。 摩尔定律统制下的软件开发时代有一个非常有意思的现象:”Andy giveth,…

2007-03-21 20:01 · Everything on Distributed 分布式系统 · 评论(0)

Rethink the sync

We know the traditional I/O models: sync and async, however, some researchers from Michigan University figures out a new model, they call it "external sync" The difference between e-sync and sync is shown below: This figure shows the behavior of a sample application that makes two file system modif…

2007-03-21 12:57 · Everything on Distributed 分布式系统 · 评论(2)

SSL Configuration (solve "No trusted certificate found")

按照以下的步骤终于搞定了SSL Configuration, 收藏之... 1.环境准备 Jdk1.4.2 Tomcat5.0.28 cas-server-2.0.12(没有采用更高版本,是因为它最简单明了) cas-client-java-2.1.1 2.在jdk上配置SSL 到http://java.sun.com/products/jsse/去下载jsse,我用的是1.0.3;下载下来后是一个zip包,把里边lib目录下的jar包复制到你的jdk目录下的jre\lib\ext目录中,是三个文件:jsse.jar;jnet.jar;jcert.jar 3.SSL验证证书 3.1.生成 k…

2007-03-14 15:55 · Study 学习 · 评论(0)

Spring VS EJB (2)

Re: 转贴:Spring vs. EJB 发表: 2005年02月07日 11:27 回复 qnabOO1 发表文章: 7 / 注册时间: 2005年02月01日 16:41 >>>> JdbcDAO是遵循J2EE设计模式的DAO模式,参考Petstored的Category DAO模式,DAO调用方式是: EJB(SKSB) + DAO + JDBC/Hibernate 所以jdbcDAO是被EJB调用的,注意jdbcDAO这段代码中的servicelocator是从哪里导入的,如果我没有记错,应该是 xxx.xxx.xx.ejb.servicelocator。 也就是说,Datasou…

2007-03-14 12:09 · Study 学习 · 评论(0)

Spring VS EJB(1)

这篇文章和它的讨论实在是太精彩了, 所以收藏之.... 引自:http://www.cnblogs.com/raimundo/archive/2004/09/20/44697.html 我知道我要挨扳砖,没事,来吧:) 赫赫,我来说一下spring vs EJB,首先强调,我不是ejb的拥护者,但我欣赏他的完整、他的学院气,同时也深感他的硬伤,我不是spring的拥护者,虽然去年3、4月间看 到spring的时候曾经让我眼前一亮。对ejb有太多的误解,对spring有太多的吹捧,我希望这是一个相对公平的比较. 我认为spring和ejb的差异在这样三个方面,一个是受众也就是这两个叫frame…

2007-03-14 11:53 · Study 学习 · 评论(0)

Spring VS EJB(1)

这篇文章和它的讨论实在是太精彩了, 所以收藏之.... 引自:http://www.cnblogs.com/raimundo/archive/2004/09/20/44697.html 我知道我要挨扳砖,没事,来吧:) 赫赫,我来说一下spring vs EJB,首先强调,我不是ejb的拥护者,但我欣赏他的完整、他的学院气,同时也深感他的硬伤,我不是spring的拥护者,虽然去年3、4月间看 到spring的时候曾经让我眼前一亮。对ejb有太多的误解,对spring有太多的吹捧,我希望这是一个相对公平的比较. 我认为spring和ejb的差异在这样三个方面,一个是受众也就是这两个叫frame…

2007-03-14 11:43 · Study 学习 · 评论(0)

Spring VS EJB

这篇文章和它的讨论实在是太精彩了, 所以收藏之.... 引自:http://www.cnblogs.com/raimundo/archive/2004/09/20/44697.html 我知道我要挨扳砖,没事,来吧:) 赫赫,我来说一下spring vs EJB,首先强调,我不是ejb的拥护者,但我欣赏他的完整、他的学院气,同时也深感他的硬伤,我不是spring的拥护者,虽然去年3、4月间看 到spring的时候曾经让我眼前一亮。对ejb有太多的误解,对spring有太多的吹捧,我希望这是一个相对公平的比较. 我认为spring和ejb的差异在这样三个方面,一个是受众也就是这两个叫frame…

2007-03-14 11:40 · Study 学习 · 评论(0)

Spring VS EJB

这篇文章和它的讨论实在是太精彩了, 所以收藏之.... 引自:http://www.cnblogs.com/raimundo/archive/2004/09/20/44697.html 我知道我要挨扳砖,没事,来吧:) 赫赫,我来说一下spring vs EJB,首先强调,我不是ejb的拥护者,但我欣赏他的完整、他的学院气,同时也深感他的硬伤,我不是spring的拥护者,虽然去年3、4月间看 到spring的时候曾经让我眼前一亮。对ejb有太多的误解,对spring有太多的吹捧,我希望这是一个相对公平的比较. 我认为spring和ejb的差异在这样三个方面,一个是受众也就是这两个叫frame…

2007-03-14 11:40 · Study 学习 · 评论(0)

Spring VS EJB

这篇文章和它的讨论实在是太精彩了, 所以收藏之.... 引自:http://www.cnblogs.com/raimundo/archive/2004/09/20/44697.html 我知道我要挨扳砖,没事,来吧:) 赫赫,我来说一下spring vs EJB,首先强调,我不是ejb的拥护者,但我欣赏他的完整、他的学院气,同时也深感他的硬伤,我不是spring的拥护者,虽然去年3、4月间看 到spring的时候曾经让我眼前一亮。对ejb有太多的误解,对spring有太多的吹捧,我希望这是一个相对公平的比较. 我认为spring和ejb的差异在这样三个方面,一个是受众也就是这两个叫frame…

2007-03-14 11:39 · Study 学习 · 评论(0)

Architect the application

1. Major separate modules: Petstore web site: serves as a front end to the user order fulfillment center: on the back end 2. Choosing architecture pattern: MVC, Micro-kernel,etc... for each separate modules Object design becomes important as applications grow more complex. Large scale development o…

2007-03-13 18:50 · 评论(0)

Design Consideration

1. Reqirements? Use case diagrams 2. Choosing application tiers: web-centric design, ejb-centric design In a Web-centric design, Web tier components using container services such as the JDBC API can communicate directly with the enterprise information system resources that hold application data. In…

2007-03-13 18:20 · 评论(0)

Comparing Struts 1 and 2

<script> var show = document.getElementById('show'); var hide = document.getElementById('hide'); var versionComment = document.getElementById('versionComment'); function showComment(){ show.style.display = 'none'; hide.style.display = 'inline'; versionComment.style.display = 'block'; } function hid…

2007-03-12 13:21 · Study 学习 · 评论(0)

Configuring JBoss SSL

There are a few web pages that describe configuring Secure Socket Layer (SSL) for JBoss, but most gloss over some of the details. Deep inside the guts of JBoss is an instance of another server called Tomcat, and when it comes to using SSL and HTTPS, JBoss delegates all the implementation stuff to t…

2007-03-08 19:02 · Study 学习 · 评论(0)

E=MC2

E: energy, M: mass, C: speed This equation shows energy will be getting bigger and bigger with the increase of speed. which will aslo leads to the increase of mass. As we known, in order to increase the speed, we need to give more energy. The final conclusion says, an item with mass property cannot…

2007-03-08 13:08 · Others 杂文 · 评论(0)