`
justin.xxt
  • 浏览: 26112 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
原文出自 http://tech.idv2.com/2008/07/10/memcached-001/   附件为整理好的pdf文件。  
转自http://www.ibm.com/developerworks/cn/web/wa-singlesign/   简介:  在现有的应用程序中实现单点登录解决方案(single sign-on,SSO,即登录一次,就可以向所有网络资源验证用户的身份)是非常困难的,但是在构建复杂的门户时,每个开发人员都要面对这个问题。因为 门户需要与后端资源集成,而每个后端资源都有自己的身份验证需求,所以门户常常必须向用户提供单点登录特性。在本文中,Chris Dunne 一步步地描述了他为一个 Web 门户构建单点登录解决方案的经历。他将讲解如何设置一个开放源码解决方案(来自 Yale U ...
无意中看到这篇文章,虽然很老了(发表与1999年),但关于http的解释,非常通俗易懂。若非有深刻的理解,断然写不出这样的文章。 原文见:http://www.garshol.priv.no/download/text/http-tut.html   How the web works: HTTP and CGI explained Introduction | Following links | Caching | Client request | Server response | Server-side scripting | More de ...
最近由于工作需要,在学习ksh。几年前用过shell,但是现在看ksh脚本仍是一头雾水,感觉就是天书。在google上搜索了一把,教程倒是不少,但不是那种大而全的,就是那种太初级的入门小儿科,等于啥都没讲。为了方便查阅,在 ...
Databases have a tough job. They accept SQL queries from many clients concurrently and execute the queries as efficiently as possible against the data. Processing statements can be an expensive operation but databases are now written in such a way so that this overhead is minimized. However, the ...
在网上看到一个关于P, NP问题的通俗解释,觉得很不错,转过来留个纪念。   你会经常看到网上出现“这怎么做,这不是NP问题吗”,“这个只有搜了,这已经被证明是NP问题了”之类的话。你要知道,大多数人此时所说的NP问 ...
  原文作者: Rahul Srivastava 原文地址:http://www.xml.com/pub/a/2005/07/06/jaxp.html 中文地址:http://www.matrix.org.cn/resource/article/43/43893_JAXP.html 简介 在1998年W3CXML1.0推荐标准发布之后,XML就开始变得很流行。Sun公司就是在那时候规范Java Community Process (JCP),同时JAXP(JSR-05)的第一版在2000早些时候发布了。这个版本得到了很多工业集团的支持,譬如(以年月次序排列)BEA ...
Original from Why ConcurrentHashMap is better than Hashtable and just as good as a HashMap   ConcurrentHashMap is a pretty ignored class. Not many people know about it and not many people care to use it. The class offers a very robust and fast (comparatively, we all know java concurrency isn’t ...
今天收到邮件   Thank you for your continued support of Xmarks through this transitional time. After a near-brush with shutting down, we're now happy to report that Xmarks has been acquired by LastPass , the leading password and data manager. The acquisition means two things for Xmarks users: Xmar ...
1. spring自己定义的注释@Autowired, @Qualifier 当注释用在bean的属性上时,可以省略bean中的setter/getter方法,而且在<bean>定义中也不需要再指定property属性了,容器会自动装配。 @Autowired默认是byType的,当采用该标记时,如果发现 ...
下面表格是从org.apache.log4j.PatternLayout的javadoc中摘过来的,仅为了方便参考。   Conversion Character Effect c Used to output the category of the logging event. The category conversion specifier can be optionally followed by precision specifier, that is a decimal constant in brackets. If a precision specifi ...
首先可以肯定的是,加载顺序与它们在 web.xml 文件中的先后顺序无关。   加载顺序为:context-param -> listener -> filter -> servlet。   和顺序有关的是:<servlet-mapping>必须定义在<servlet>之后,<filter-mapping>必须定义在<filter>之后。   另外多个listener被加载的顺序就是它们在web.xml中定义的顺序,这可以解释下面这个经常出现的问题:   log4j:WARN No appenders could ...
相信使用过svn的人都有过这样的经历,希望清除某些目录下甚至整个repository下面的.svn文件夹。手动删除的话是相当麻烦的,因为每个子文件夹下面都有.svn文件夹。下面介绍几种简单的方法来清除.svn。   1. 最简单的方法就是搜索目录下面的.svn文件夹,然后手动全部删除。:)   2. 创建注册表文件,比如kill-svn-folders.reg,写入下面内容: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN] ...
这个程序算出来的license在JIRA 3.13.5版本中是有效的,这个版本是目前最新的release版本,没有在4.0beta中试过。 package com.justin.workaround; import java.io.IOException; import java.security.KeyFactory; import java.security.Signature; import java.security.spec.PKCS8EncodedKeySpec; import com.atlassian.license.LicensePair; publi ...
Global site tag (gtag.js) - Google Analytics