Programming
摘要: Eclipse帶有其內(nèi)置的Tomcat服務(wù)器,用于支持Eclipse的Help服務(wù)。 通常在打開Help頁面的時候,Help系統(tǒng)會啟動內(nèi)置的Tomcat。我們在開發(fā)基于RCP的應(yīng)用系統(tǒng)時,也同樣可以通過API來啟動并且使用這個內(nèi)置的Tomcat服務(wù)器(盡管Eclipse沒有提供相應(yīng)的文檔,并且不推薦使用這類功能)。 閱讀全文
摘要: 企業(yè)級架構(gòu)最關(guān)鍵的原則問題是什么。 這些“大腕”一共總結(jié)出來40條,然后投票得出了最關(guān)鍵的5條 (Top 5 Principles of Enterprise Architecture) 閱讀全文
摘要: Ted Neward, 暢銷書 Efective Enterprise Java 作者, 在他自己的新blog中給出了一份Recommended Reading List。Ted 說這是一個非常“舊”的讀書清單了,但是還是可以參考一下的。 閱讀全文
摘要: Groovy這個新近的腳本語言(其實(shí)也不是很新了),在JavaOne 2005上又被熱炒了一回。 來自O(shè)penLogic, Inc的Rod Cope在Day 1做了Groovy的技術(shù)講座:Groovy = Java Technology + Ruby + Python for JVM,同時演示了一些Groovy的強(qiáng)項(xiàng)和最新的功能,比如操作Excel工作表單,通過Groovy的腳本,在Groovy的控制臺中,向一個Excel的表單中添加數(shù)據(jù)(當(dāng)然是通過MS COM接口的)。 Artima.com上也發(fā)表了Eric Armstrong的一篇文章:It’s a Groovy Day。 [閱讀全文] 閱讀全文
摘要: 這是Artima Developer的總編 Bill Venners對Erich Gamma的采訪中的第四部分。 在第四部分中,Bill和Erich討論了設(shè)計(jì)模式如何與解決問題相配對,設(shè)計(jì)模式如何幫助你理解問題解決的意圖以及pattern本身的不足之處,最后如何通過練習(xí)成為一個好的設(shè)計(jì)師。 閱讀全文
摘要: The June 2005 issue of IBM WebSphere Developer Technical Journal is now available. 閱讀全文
摘要: 目前正在重讀《Core J2EE Patterns》這本書。經(jīng)歷了幾年的編程生活和系統(tǒng)設(shè)計(jì),重讀這本書的第二版,感觸良多。 恰好看到gigix在blog中發(fā)表的“那本”J2EE書——《J2EE核心模式》(第二版)譯者序 。 雖然我很少看中文的技術(shù)書籍,但是這篇譯者序卻值得收藏,收錄在自己的blog中。借此,感謝譯者翻譯這本書,為廣大的中國程序員帶來了一本好書...... 閱讀全文
摘要: 讀 Design Principles from Design Patterns 的一些心得,關(guān)于Eclipse社區(qū),對interface編程。 閱讀全文
摘要: 這是Artima Developer的總編 Bill Venners對Erich Gamma的采訪中的第三部分。Bill 和 Erich 討論了設(shè)計(jì)模式中的兩個原則:對接口編程(program to an interface), 使用object composition而不是類繼承。 閱讀全文
摘要: 為什么重發(fā)這個blog呢?因?yàn)樽蛱炜吹紼clipse.org網(wǎng)站上關(guān)于Eclipse Performance的一個文檔。這份文檔主要是提示,在開發(fā)基于Eclipse的應(yīng)用時(不管是Eclipse程序本身,還是Plug-in),在性能問題上需要注意的一些地方。其中,第一條就是如何使用substring()的問題。 閱讀全文
摘要: Recently, I am reading a book about Ruby Programming (see my sidebar was changed to display the book's cover). Today I found another Ruby IDE which is based on Eclipse, which name is RDE (Ruby Development Environment).
閱讀全文
摘要: The middle component of a typical web application is the business or service layer. This service layer is often the most ignored layer from a coding perspective. It is not uncommon to find this type of code scattered around in the UI layer or in the persistence layer. This is not the correct place because it leads to tightly coupled applications and code that can be hard to maintain over time. Fortunately, several frameworks exist that address these issues. Two of the most popular frameworks in 閱讀全文
摘要: At one end of a typical web application is the presentation layer. Many Java developers understand what Struts provides. However, too often, coupled code such as business logic is placed into an org.apache.struts.Action. So, let's agree on what a framework like Struts should provide...... 閱讀全文
摘要: At the other end of a typical web application is the persistence layer. .... There are several open source object-to-relational mapping (ORM) frameworks that solve much of this problem. In particular, the Hibernate framework allows object-to-relational persistence and query service for Java. 閱讀全文
摘要: Bruce Eckel (Think in Java 和 Think in C++的作者,被Eric Raymond稱為將未公開發(fā)表的書在網(wǎng)上發(fā)表的“第二人”)將他的Weblog移到了Artima的blog系統(tǒng)中。 ...... Aritima Blog建立了一種機(jī)制,“keep the discussions civilized ”,而且Artima更注重開發(fā)者。這兩點(diǎn),是Bruce遷移他的blog的原因。 閱讀全文
摘要: Struts 5歲了。Craig R. McClanahan 說,Struts的第一個版本,是在5年前的那個紀(jì)念日(Memorial Day ,美國的公共假日)的周末(大約是2000年5月底的時候),在他的一次旅行中,在他筆記本電腦中寫的。...... 5歲的小p孩兒,會走,會說話,剛剛進(jìn)幼兒園。而5歲的Struts,現(xiàn)在是Java世界里,開發(fā)Web應(yīng)用程序的默認(rèn)框架標(biāo)準(zhǔn)。...... 然而,Struts也有它不足的地方,而同時新的技術(shù)又在不斷涌現(xiàn),5年(或者說3年)以后,會是什么樣子呢?下一代的Web應(yīng)用框架,會是JSF嗎? [全文]
閱讀全文
摘要: 這是Artima Developer的總編 Bill Venners對Erich Gamma的采訪中的第二部分。Bill 和 Eric 討論了重用性的重要性 (importance of reusability)。 重用的最高境界是什么?我們創(chuàng)建一個非常高層的,面向具體應(yīng)用的框架,然后只要做簡單的客戶化,并且重用這個框架中現(xiàn)有的設(shè)計(jì)。但是,連Eric都意識到,這太理想化了,因?yàn)?“ I have learned that it's hard to create highly reusable frameworks”。 在談到可重用的framework的時候,Eric提到了Eclipse....... [全文]
閱讀全文
摘要: 倡導(dǎo)敏捷方法的人,之所以沒有為敏捷方法制定出一個嚴(yán)格的定義,就是為了將軟件開發(fā)中最大的可變因素,而又是過程的執(zhí)行者:人,忽略掉。(“ that's its not effective to try and bind software development to a rigorous process, because that's ignoring the essential nature of the primary (human) components that will execute that process”) - Martin Fowler's Bliki: RigorousAgile 閱讀全文
摘要: Eclipse的RCP是否標(biāo)志著“胖客戶端”(或者說“富客戶端”)的回歸?...... 真正的網(wǎng)絡(luò)客戶端,應(yīng)該是“瘦”的,但是“功能豐富的”,或者說,是“thin”而且“rich”。“thin”是指相對于傳統(tǒng)的“fat”客戶端(象Office這樣的“胖客戶端”),在客戶端不需要太多的安裝,“rich”則是指相對于當(dāng)前的Web Application,應(yīng)該是功能豐富的。當(dāng)前的Web Application是“thin”的,但是不夠“rich”。
閱讀全文
摘要: SmallTalk,公認(rèn)的最早的OO語言之一,終于快要推出歷史舞臺了。最近,作為SmallTalk最大的支持者,IBM,宣布將停止對SmallTalk系列產(chǎn)品的支持(截止到2006年6月)。 閱讀全文
摘要: 測試系統(tǒng)的時候,往往會碰到這樣的一種情況:系統(tǒng)開發(fā)完成了,但是沒有合適的數(shù)據(jù)可以使用。原因是多方面的:比如用戶的數(shù)據(jù)不能公開,機(jī)密程度比較高。雖讓你可以隨機(jī)產(chǎn)生一些測試數(shù)據(jù),但是簡單的測試數(shù)據(jù),和真正復(fù)雜的用戶數(shù)據(jù)是無法相比的,所產(chǎn)生的問題就是,在測試數(shù)據(jù)上,簡單的操作可以通過,而同樣的操作到了用戶數(shù)據(jù)上面,就產(chǎn)生各種情況(如性能問題)。你如何解決這個問題呢?你如何得到一組數(shù)據(jù),既不會泄露用戶的機(jī)密數(shù)據(jù),也保證了足夠的數(shù)據(jù)量和復(fù)雜度
閱讀全文
摘要: Artima Developer的總編 Bill Venners在對Erich Gamma的一次采訪中,仔細(xì)討論了Design Pattern(設(shè)計(jì)模式)的問題。當(dāng)我們做設(shè)計(jì)的時候,我們首先會想到使用設(shè)計(jì)模式。那么如何使用設(shè)計(jì)模式?如何用設(shè)計(jì)模式進(jìn)行思考?是否當(dāng)你解決一個問題的時候,必須要使用設(shè)計(jì)模式? 閱讀全文
摘要: IBM收購了Gluecode (開發(fā)以Geronimo為核心的J2EE應(yīng)用服務(wù))以后,Geronimo的開發(fā)似乎一下子熱鬧起來了。developerWorks網(wǎng)站上,在一周之內(nèi),發(fā)表了3篇關(guān)于Geronimo的有趣的文章 閱讀全文