自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(102)
  • 资源 (24)
  • 收藏
  • 关注

原创 关于幂等的设计

1. 如果接入的是服务端,可以由服务端确保生成唯一的标识符2. 如果是接入最终用户的浏览器,则可以由自己的服务器先生成一个标识符发送给浏览器,当用户提交表单的时候,以此来认证是否为二次提交。3. 如果确认为二次提交,则把第一次的处理结果再次返给请求端

2016-01-15 22:21:44 1328

原创 How Tomcat works (1)

BootStrap  --> 初始化ClassLoader  -->启动CatalinaCatalina  --> 加载Server.xml (用Disgester实现)  --> 初始化Server

2016-01-09 10:25:25 322

原创 Group insurance

a master group insurance contractThe parties to a master group insurance contract are the insurance company and the grouppolicyholder, which is the entity that decide what types of group insur

2013-10-17 07:45:44 1140

ECMAScript Specification 5th version

Javascript, JScript, ActionScript are all based on ECMAScript (Ecma International - European association for standardizing information and communication systems) 3rd version.ECMAScript 语言中的实际类型共有六

2013-05-27 06:48:36 142

转载 Testing essential knowledge

51Testing软件测试网 » 架构师Jack的个人空间 » 日志What to do   第一步, 确立测试范围和对象, 如果这一步漏了,后面的质量全打折扣How to do    第二步, 决定用什么测试技术或手段来测试这些测试对象When to do   第三步, 决定先测试哪些测试对象和先应用哪些测试技术Automation   第四步

2013-05-25 09:26:29 439

原创 A company prd

1. SDLC is essiential2. Stable is most imortant3. Bussiness transcation is very complex4. Many IT teams, responsing is very slow5. New Technology has risk

2013-05-25 09:04:10 854

转载 anti-pattern for web page design

1. Clickable elements which don't appear clickableo Buttons which are too smallo Text links which are not visually distinct ( blue is best)o Buttons which are too flat to cue users that they are

2013-05-25 08:53:36 347

转载 window.dialogArguments的用法

window.dialogArguments的用法博客分类: jsIEJavaScript活动IDEA浏览器 Javascript有许多内建的方法来产生对话框,如:window.alert(),  window.confirm(),window.prompt().等。  然而IE提供更多的方法支持对话框。如: showModalDialog()  (IE

2013-03-11 23:23:16 2158

转载 Facebook's Graph Search Won't Hurt Google Without your Help

Facebook hopes you will use its new social search feature, Graph Search to find everything from dentists your friends recommend in New York to restaurants they're talking about in San Francisco.  Grap

2013-01-21 23:36:17 269

转载 Plan Would Put a Bank in Every Browser

A group affiliated with the body that maintains Web standards hopes to establish an open standard for transferring money online. If the plan is successful, Web browsers could come with features that m

2013-01-21 23:13:17 294

转载 A Standard for Open Source Code Documentation

The Standard ( First Draft)There should also be a clear order to the sections (five sections). Two of the sections I propose (IV and V) will have non-linear content within, but the overall start

2013-01-19 14:04:10 108

原创 Work plan should be confirmed in advance, best before one month

As subject.

2013-01-17 22:57:55 246

原创 SDLC documents to protection us

We should ask user to sign off FS before UAT in order to prevent them to require us to do other things which are not mentioned in FS. If they want to change URS or requirement they have to add efforts

2013-01-17 22:56:07 291

转载 JMX Architecture

Instrumentation levelMBeans ( standard, dynamic, open, and model MBeans )Notification modelMBean metadata classesAgent levelMBean serverAgent services

2012-05-25 15:12:09 241

转载 QQ微信设计

QQ微信设计:

2012-05-19 12:37:43 439

转载 Domain Driven Design

Use the model as the backbone of a language. Commit the team to exercising that language relentlessly in all communication within the team and in the code. Use the same language in diagrams, writing,

2012-04-18 06:40:44 114

原创 development environment

The development support comes from the close integration with developer tools such as Eclipse (for coding), FitNesse (for testing),Maven (for building and packaging), and Hudson (for continuous integr

2012-04-17 15:58:09 246

转载 构建Java并发模型框架

基础知识Java语言提供了对于线程很好的支持,实现方法小巧、优雅。对于方法重入的保护,信号量(semaphore)和临界区(critical section)机制的实现都非常简洁。可以很容易的实现多线程间的同步操作从而保护关键数据的一致性。这些特点使得Java成为面向对象语言中对于多线程特性支持方面的佼佼者(C++正在试图把boost库中的对于线程的支持部分纳入语言标准)。Java中内置了

2012-04-17 15:26:57 341

原创 java Thread join enumerate

Java对多线程的支持是非常丰富的,其中join方法属于线程对象的方法,作用是延长父线程等待时间,应用场景为父线程等待子线程的输出结果情况,作用使父线程等到子进程执行完成后在继续运行public class OurApplet { public void printThreads(){ Thread ta[] = new Thread[Thread.activeCount()]

2012-04-17 11:01:10 1645

转载 Software Development Toolbox

Iteration helps you stay on course.                                        Plan out and balance your iterations when ( not if ) change occursEvery iteration results in working software and gathe

2012-04-16 09:01:00 111

原创 认证服务器与应用服务器乒乓球

当用户登录了认证服务器,即登录了文档服务器,访问一个会议,但他不是会议成员,就会出现乒乓球现在,原因是应用服务器中的filter没有区分用户登录和登录用户权限这两个类型,而仅区分了没有登录和已经登录这两个类型;应用服务器中的portlet分为两类:需要登录的和不需要登录的,在portlet.xml中使用filter来进行过滤;同时应用服务器中的portlet之间相互调用,如mySpace中存在

2012-04-12 11:03:29 266

转载 YouTube Architecture

Wednesday, March 12, 2008 at 3:54PMUpdate 2: YouTube Reaches One Billion Views Per Day.That’s at least 11,574 views per second, 694,444 views per minute, and 41,666,667 views per hour.Upda

2012-04-11 08:46:51 962

原创 the relation of jre and jdk and jvm

A JVM is just the thing that execute .class files. A JRE includes libraries and APIs (i.e. all the java.* and javax.* Java classes, plus things like the native libraries needed for the AWT to function

2012-03-31 09:27:31 283

原创 多台机器远程安装应用 ssh

先把需要的安装文件通过scp复制到目标机器上,构建安装环境通过expect实现与ssh的交互,然后通过ssh执行安装脚本命令#!/usr/bin/expectset logfile [open /home/cemc/iplist]set ipaddrs [read $logfile]foreach line [split $ipaddrs \n] { spa

2012-02-29 11:03:35 343

原创 scp 多台机器复制

由于通过scp需要输入用户口令,所以需要使用expect来实现交互#!/usr/bin/expectset logfile [open /home/cecache/iplist]set ipaddrs [read $logfile]foreach line [split $ipaddrs \n] { spawn scp ./installm.sh ./memcached

2012-02-29 10:57:58 980

原创 封装 libmemcached 构建 memcached 客户端

代码如下:1、构建服务器连接MemcachedClient::MemcachedClient(const char *opt_servers) { mc = memcached_create(NULL); if(mc == NULL) { cout << "Error: memcached_create fail " <<

2012-02-24 22:32:18 944

转载 c++ struct 构造函数

struct test      {          int n;          int b;      };      int main()      {          test a;          a.n =1;          a.b=3;          test b(a);          std::cout

2012-02-24 22:15:32 1636 1

转载 memcached cluster master-slave

When I was looking for ways to replicate the contents of memcached for high-availability performance, I found thismemcached-repcached application. that has the ability to replicate the contents of o

2012-02-23 09:38:04 1014

原创 软件架构师技术

Pipes and Filters :分割系统Leader and Follower:解决系统并发问题memcached的众多线程就是个Master-Worker的模型Martin Flower的分析模式Gang of Four的设计模式面向业务设计的架构师面向技术设计的架构师做一个为系统整个生命周期负责的人--架构师

2012-02-21 17:24:17 63

转载 vTiger 汉化问题

http://www.ossez.com/forum.php?mod=viewthread&tid=1084&fromuid=426图形报表乱码解决方法:1)字体下载:https://sourceforge.net/projects/hawebs/files/Assistance/PHP/DroidSansFallback.ttf/download2)将下载的字体拷贝到

2012-01-07 15:37:01 379

原创 设计模式:Command模式 实现无限次的undo、redo

命令(Command)模式属于对象的行为模式【GOF95】。命令模式又称为行动(Action)模式或交易(Transaction)模式。命令模式把一个请求或者操作封装到一个对象中。命令模式允许系统使用不同的请求把客户端参数化,对请求排队或者记录请求日志,可以提供命令的撤销和恢复功能。命令模式是对命令的封装。命令模式把发出命令的责任和执行命令的责任分割开,委派给不同的对象。每一个命令都是一个

2011-11-29 09:26:35 1661

原创 设计模式:State模式

Intent:    Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.    当一个对象内部状态发生变化时,他的行为也将发生变化,在该模式下,该对象会转变成另外一个对象。由简单的开始会比较好理解状态模式的

2011-11-28 12:51:00 353

原创 设计模式:责任链模式(Chain of Responsibility, CoR)

目的:      使多个物件都有机会处理请求,以避免请求的发送者与接收者之间的耦合关系,将这些物件组合为一个链,并沿着这个链传递该请求,直到有物件处理它为止。    has a chance to handle the request. 实际上是把结构化的if(/* 符合请求条件一 */)    // 执行请求一else if(/* 符合请求条件二 */)    // 执行

2011-11-28 11:08:20 309

原创 手机跨平台开发浅谈

跨平台开发,还是Java的那句经典:一次开发,运行于任何移动终端平台。手机应用一般都是客户端,其运算能力,逻辑处理能力相对有限,所以开发技术上应该是越简单越成熟越好,但最重要的是用户体验要做到最好。因此,跨平台开发手机应用应该是个大趋势。手机应用主要还是互联网业务,因此传统的 Web 开发技术(HTML + CSS + JavaScript)就成为首选,尤其HTML5的应用将成为主流。

2011-11-28 10:29:24 587

原创 设计模式:笔试(1)Observer 观察者模式

目标(Intent):建立在“一对多(one-to-many)”依赖关系的场景下,实现当一个对象状态发生变化时,所有依赖于这个对象的其他对象都能够自动获得通知并且自动被更新其状态。Publish-Subscribe角色:Subject:了解自己的观察者(Observers)。Observer:定义update接口,该接口由Subject调用来更新Observer的状态Java中

2011-11-25 13:55:21 426

原创 java Math floor ceil rint round

public static int round(float a) {    return (int)floor(a + 0.5f);    } public static long round(double a) {    return (long)floor(a + 0.5d);    }/**     * Returns the double v

2011-11-25 13:09:53 551

转载 云桌面 eyeOS发布专业版

云桌面 eyeOS发布专业版2011-11-15 09:04 | 265次阅读 | 【已有0条评论】发表评论来源:36氪 | 作者:spike | 收藏到我的网摘eyeOS是当今全球领先的云桌面,也是整个欧洲最大开源项目之一,目前eyeOS已经获得了超过100万的下载量。 IBM已经选定作为其首选的开源云计算平台。该公司2011年6月完成了首轮融资,并于9月刚刚推出它的第一

2011-11-21 10:57:47 507

转载 移动应用必定不会长久

用户体验的金科玉律:价值大于使用难度例如,早期的SMS系统极其难用,但其价值(避免了昂贵的按分钟计费)很高,超越了使用难度。当然,SMS体验的改进大大增加了使用率并吸引了更多用户。仅仅是价值大于使用难度并不意味着大功告成,只说明它质量高,足以向市场推出。但这一模式还解释了另一个更重要的因素,即用户行为。随着使用难度下降,人们将更频繁地使用产品来完成价值较低的任务。价值仍然大于使用难度,

2011-11-16 08:47:55 238

转载 C#之父Anders Hejlsberg演讲解读:编程语言大趋势

在Anders眼中,如今影响力较大的趋势主要有三个(如图2),分别是声明式的编程风格(包括领域特定语言、函数式编程)、动态语言(最重要的方面是元编程能力)以及多核环境下的并发编程。此外随着语言的发展,原本常用的面向对象语言、动态语言或是函数式等边界也变得越来越模糊,例如各种主要的编程语言都受到函数式语言的影响。因此,多范式程序设计语言也是一个愈发明显的趋势。

2011-11-16 08:45:04 474

原创 Spring portlet 不同portlet通信问题

不同portlet通信问题,在很多情况下比较困难,需要编写很多代码,通过session等方式。Spring配置portlet的方式决定了这个问题已经不再是问题了在Spring配置portlet情况下,需要为portlet配置Controller<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi

2011-11-10 15:47:06 332

Andriod 联系人检索

Andriod Search UI onSearchRequested

2010-07-29

Andriod Search Dictionary Example

Andriod 上调用内建Search UI的示例

2010-07-29

Advanced Flex 3.pdf

Advanced Flex 3 application include: INTEGRATING WITH CLIENT- AND SERVER-SIDE TECHNOLOGIES GAINING REAL ADVANTAGE IN THE NEW WEB

2009-07-16

java_and_flex_integration_bible.pdf

flex与java的完美集成,不可多得的2009最新新书,对于flex程序员是十分有价值的

2009-07-16

C#应用程序开发全程演练

C#应用程序开发全程演练,完整讲述了一个商业网站的建设过程。解释如何向用户提供一个他们想要的产品。

2009-02-13

ST-DEVELOPMENT pdf

ST DEVELOPMENT CAD

2008-03-27

Cluster Computing - Architectures, Operating Systems, Parallel Processing & Programming Languages Apr 2003

Cluster Computing - Architectures, Operating Systems, Parallel Processing & Programming Languages (v2.4) - Apr 2003 !!! - (By Laxxuss).pdf

2007-10-26

Thinking in Java 4th Edition(last)

Thinking in Java 4th Edition

2007-10-25

Thinking in Java 4th Edition(14)

Thinking in Java 4th Edition

2007-10-25

Thinking in Java 4th Edition(13)

Thinking in Java 4th Edition

2007-10-25

Thinking in Java 4th Edition(12)

Thinking in Java 4th Edition

2007-10-25

Thinking in Java 4th Edition(11)

Thinking in Java 4th Edition.

2007-10-25

Thinking in Java 4th Edition(10)

Thinking in Java 4th Edition English. Total 15 blocks

2007-10-25

Thinking in Java 4th Edition English (8)

Thinking in Java 4th Edition English. Total 15 blocks

2007-10-25

Thinking in Java 4th Edition

Thinking in Java 4th Edition English. Total 15 blocks

2007-10-25

Thinking in Java 4th Edition English

Thinking in Java 4th Edition English. Total 15 blocks

2007-10-25

Thinking in Java 4th Edition English

Thinking in Java 4th Edition English. Total 16 blocks

2007-10-25

Thinking in Java 4th Edition English

Thinking in Java 4th Edition English. Total 16 block.

2007-10-25

Thinking in Java 4th Edition English

Thinking in Java 4th Edition English. Total 16 block.

2007-10-25

Thinking in Java 4th Edition

Thinking in Java 4th Edition English. Total 16 blocks file

2007-10-25

Thinking in Java 4th

Thinking in Java 4th Edition English pdf, total 16 blocks.

2007-10-25

Thinking in Java 4th

Thinking in Java 4th Edition English pdf, total 16 blocks.

2007-10-25

空空如也

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

TA关注的人

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