原创 UniqueID Generator: A Pattern for Primary Key Generation

MotivationEnterprise JavaBeans is a server-side component model that targets the specific business domain of online tra

原创 服務器重啓檢查清單

1、檢查防火牆是否影響了網絡正常的使用。 2、檢查wu-ftpd是否已經打開。 3、 運行svscanboot &命令。 4、啓動qmail,運行qmailctrl start

原创 Portal的簡單介紹

什麼是Portal? A server to aggregate content A scalable infrastructure A framework to build portal components and extension

原创 JDBC For DB2

前天下午搞了很長時間。其實是個簡單的問題。首先是兩種驅動方式,type 2和type 4。根據我的理解type 2就是類似Oracle種的“胖”鏈接模式。所謂的“胖”鏈接模式的意思,就是除了必要的JDBC驅動,還要有客戶端。通過客戶端可以

原创 WebSphere Portal的cluster搭建日誌(一)

寫在搭建之前 limations檢查列表 You must install and configure WebSphere Portal separately on each node. Except for the temporar

原创 WebSphere Portal的cluster搭建日誌(二)

我的升級計劃 1、注意檢查ulimit命令2、把主節點和副節點的portal都先升級到6013、Installing WebSphere Application Server Network Deployment on the deplo

原创 Document Object Model

When to Use DOM On the other hand, if you are dealing with simple data structures and if XML Schema isn't a big part o

原创 WCM中的Component對JS腳本的支持也給自己帶來了危險。

在測試過程中發現了一個問題,在Text Component中允許添加javascript代碼段。感覺這是一個漏洞所在,自己試了試,居然可以填寫跨域請求JS腳本的JS聲明,例如<script language=javascript src=

原创 Swing編程學習(二)

MVC,我接觸和了解這個名詞是從Web的開發模式的時候開始接觸的。準確的說,MVC不是一種開發模式,而是一種開發架構。MVC起源於SmartTalk中的GUI編程。   Controller和Viewer沒什麼太多好說的,至於Model,

原创 Java正則表達式

正則表達式用來指定字符串模式。當你需要定位匹配某種模式的字符串時就可以使用正則表達式。例如,我們下面的一個例程就是在一個HTML文件中通過查找字符串模式<a href="...">來定位所有的超鏈接。    當然,爲了指定一種模式,使用.

原创 Swing編程學習(一)

  Swing的類結構 大部分的Swing類是由AWT的類前面加個字母“J”構成的,Swing也有自己的許多類。下面這個圖就是Swing類的樹圖。 Z-order 還沒有確實弄清楚是什麼東西。 What this ultimately

原创 Portlet Life Circle

Portlet life circle diagram init(PortletConfig config)   This method is called by the portlet container on the abstra

原创 Portlet的API編程

Abstract portlet與concrete portlet The portlet.xml deployment descriptor is used by the portal server to identify the ab

原创 servlet-api的基本類和其接口的介紹

基本類和接口 一、javax.servlet.Servlet接口 servlet抽象集是javax.servlet.Servlet接口,它規定了必須由Servlet類實現由servlet引擎識別和管理的方法集。Servlet接口的基本

原创 Portal的架構

Portal的起源 WebSphere Portal finds its roots in Apache Jetspeed. Jetspeed is an Open Source implementation of an Enterpri