04 2008 檔案
摘要: Scheduling tasks in J2EE applications is a common need. There is more to job scheduling than running backups at 3 o'clock in the morning. Customer relationship management (CRM) applications, for example, need to contact customers periodically during the sales cycle. File transfer applications need to transmit and receives files on a regular basis, except on holidays. Administrative applications need to send reminder emails to notify employees and customers about important events. All these enter
閱讀全文
摘要: In the perfect world, your object model would map seamlessly to your database schema. Most organizations however, have database naming standards, requirements for how relationships are modeled and columns that all tables must have.
閱讀全文
摘要: clipse has been enormously popular as a tooling platform. With the use of Eclipse as a Rich Client Platform (RCP), Eclipse made a step towards being a runtime platform. Now, with the emergence of Eclipse on the server, Eclipse clearly has leapt into the runtime world. So what makes Eclipse capable of adapting to these different environments – what makes Eclipse tick?
閱讀全文
摘要: * 概況 o 內核 o 擴展 o 運行時 * 內部高層視圖 * Bootstrap * 裝配模型 * 分發包 * 綁定擴展 * 構件實現擴展 * 數據綁定擴展 * 復合激活 * 加載SCA組件 * 與Spring集成
o Spring作為構件實現 o Spring作為IOC容器
閱讀全文
摘要: 當開始考慮Tuscany SCA java運行時環境的時候,理解高層調用是什么和為什么是非常有用的。當前關于”Domain”對象有些實現,該對象用于啟動Tuscany。
閱讀全文
摘要: 初學SDO ,在網上下載SDO的Sample就調試,結果走了不少彎路,就是出現IllegalArgumentException,不知是出現什么問題,心想我也是照著例子搞的怎么就是通不過呢?
閱讀全文
摘要: SCA是一個可執行的模型,用于將不同的 服務集成到一個業務解決方案。它簡化了實現業務服務的組件編程模型,這些組件可以使用不同編程語言實現。SCA帶來的一些益處主要為:
閱讀全文
摘要: 本文關注于SCA的幾個基本概念:Component,Composite,Implemention,ComponentType,從規范、實現等不同的角度談一下它們之間的區別。
也就是說,本文更多的是關注于它們之間的區別,至于它們每個是什么請參閱SCA集成規范。
閱讀全文
摘要: Tuscany下典型的Web架構
閱讀全文
摘要: SCA Java運行時由core和extension組成。Core本質上來說是一個多VM的wiring引擎。該引擎使用IOC(控制反轉)和DI(依賴注入)原則來連接組件。
閱讀全文
摘要: 在這篇由兩部分組成的文章中,我們會從架構和方法論的角度,采用歷史的觀點來看待這些動態業務應用(DBA)的發展。我們的目標是獲得一種能使應用容易適應業務變化和其他必要修改的構建方法。隨著企業在21世紀關注靈活性,DBA是使業務和IT在未來幾十年內成功的關鍵。
閱讀全文
摘要: 本文介紹了一個用Java編寫的可以訪問MSN服務的開發包-JMsn,利用這個開發包你可以編寫自己的具有MSN Messenger功能的客戶端程序。
閱讀全文
摘要: 分享 jQuery in Action PDF電子版
閱讀全文
摘要: 設計模式的原則就是OOD的原則,或者說設計模式是為了達到OOD的遠景而提出的,所以真正想掌握OO的精髓,學習設計模式是最好的途徑,而想真正掌握設計模式的精髓,就必須好好理解一下OOD的設計原則.
閱讀全文
摘要: he 2007 JavaOne conference reflected the fact that mobile computing—for both consumers and enterprise workers—is transitioning from early adoption to the mass market. But Java ME developers still face many obstacles that server-side or desktop Java developers never have to contend with. Those issues include:
閱讀全文
摘要: OSGi: Open Services Gateway Initiative,它的初衷是建立一個開放性的平臺,通過這個平臺可以很容易的發布可管理的服務和應用到本地網絡和設備,以達到設備管理的目的。JSR232和OSGi有著密切的聯系(其實是完全一樣的),JSR232就是OSGi的Framework規范加上OSGi Mobile的規范。OSGi Framework主要解決底層Runtime Model問題,而OSGi Mobile是基于OSGi Framework之上的關于OMA DM的實現。
閱讀全文
摘要: WAP(Wireless Application Protocol)無線應用協議是一個開放式標準協議,利用它可以把網絡上的信息傳送到移動電話或其他無線通訊終端上。
閱讀全文
摘要: ViewerFilter與自定義選中Column的顏色
閱讀全文
摘要: 共享內存可以說是最有用的進程間通信方式,也是最快的IPC(Inter-Process Communication)形式。兩個不同進程A、B共享內存的意思是,同一塊物理內存被映射到進程A、B各自的進程地址空間。進程A可以即時看到進程B對共享內存中數據的更新,反之亦然。由于多個進程共享同一塊內存區域,必然需要某種同步機制,互斥鎖和信號量都可以。
閱讀全文
摘要: IO API的可伸縮性對Web應用有著極其重要的意義。Java 1.4版以前的API中,阻塞I/O令許多人失望。從J2SE 1.4版本開始,Java終于有了可伸縮的I/O API。本文分析并計算了新舊I/O API在可伸縮性方面的差異。
閱讀全文
摘要: part of Hypertext Transfer Protocol -- HTTP/1.1
RFC 2616 Fielding, et al.
10 Status Code Definitions
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response.
閱讀全文
摘要: JDK1.5中引入了對java語言的多種擴展,泛型(generics)即其中之一。
這個教程的目標是向您介紹java的泛型(generic)。你可能熟悉其他語言的泛型,最著名的是C++的模板(templates)。如果這樣,你很快就會看到兩者的相似之處和重要差異。如果你不熟悉相似的語法結構,那么更好,你可以從頭開始而不需要忘記誤解。
Generics允許對類型進行抽象(abstract over types)。最常見的例子是集合類型(Container types),Collection的類樹中任意一個即是。
閱讀全文
摘要: 經典圖書《SOA Principles of Service Design》下載
閱讀全文