<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-29796827</id><updated>2012-02-16T19:29:14.199+08:00</updated><title type='text'>joeyta備忘記</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-29796827.post-626796680053563315</id><published>2008-03-19T12:12:00.010+08:00</published><updated>2008-11-21T23:13:37.382+08:00</updated><title type='text'>PDFBox 讀中文備忘記</title><summary type='text'>這裡使用PDFBox 讀取 UniCNS-UCS2-H 及 UniGB-UCS2-H 等中文字集,從網上的資料裡作簡單的整理備忘.只適用於 PDFBox 0.7.2, 不適用於其他版本.下載 PDFBox-0.7.2.ziphttp://sourceforge.net/project/showfiles.php?group_id=78314在 eclipse 裡建立 project PDFExtractor-0.7.2然後下載 pdfbox-0.7.2-cjk.patchhttp://sourceforge.net/tracker/index.php?func=detail&amp;aid=1640071&amp;group_id=78314&amp;atid=552834原本是使用 cygwin 的 patch 指令, 後來不成功出現 patch: **** malformed patch at line 9</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/626796680053563315/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=626796680053563315&amp;isPopup=true' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/626796680053563315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/626796680053563315'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2008/03/pdfbox.html' title='PDFBox 讀中文備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-6591398942042072703</id><published>2008-03-05T15:52:00.009+08:00</published><updated>2008-03-05T16:32:44.271+08:00</updated><title type='text'>VisualSVN Server &amp; SmartSVN 備忘記</title><summary type='text'>VisualSVN Server(version 1.0.3) 早期是一套免費的 SVN server,裡面包含了 Apache, Subversion 及 management console.最近看到的 version 1.3.2 要收費, 故這裡使用了 version 1.0.3VisualSVN 不支援 SVN protocol,但支援 http 及 https,VisualSVN Server 不能在 Windows 200 下安裝,可以安裝於 XP, Windows 2003 及 Vista.VisualSVN server 安裝後不能修改 repository path,VisualSVN 比 Subversion 吸引我之處是 management console.其建立的 htpasswd 裡密碼使用了 hash code 隱藏了,改良了 Subversion </summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/6591398942042072703/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=6591398942042072703&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6591398942042072703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6591398942042072703'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2008/03/visualsvn-server-smartsvn.html' title='VisualSVN Server &amp; SmartSVN 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-6956255467289897219</id><published>2007-10-11T01:28:00.000+08:00</published><updated>2007-10-11T01:44:28.284+08:00</updated><title type='text'>Wicket lab5 備忘記</title><summary type='text'>Wicket lab 5 為實作 簡單問答FAQ系統,這裡使用了 AjaxLink 及 AjaxSubmitButton(AjaxButton) 元件,實作了 ModelWindow 及 Panel, 並製作可重用的元件,Wicket 提供了 WICKET AJAX DEBUG WINDOW, 這使用 ajax 的 debug 更方便.執行畫面如下圖所示：開始備忘記：[1] 實作 lab 5[1] 實作 lab 5：&lt;!------------- web.xml -----------------&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/6956255467289897219/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=6956255467289897219&amp;isPopup=true' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6956255467289897219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6956255467289897219'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/10/wicket-lab5.html' title='Wicket lab5 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-4858804536761016981</id><published>2007-10-09T23:15:00.001+08:00</published><updated>2007-10-11T01:32:59.972+08:00</updated><title type='text'>Wicket lab4 備忘記</title><summary type='text'>Wicket lab 4 為實作 電子購物系統,與 Wicket lab 3 一樣, 使用靜態的 map 模擬資料庫存取動作,在 WebApplication 的實作中重寫了 newSession 及 init,並實作 WebSession, 將登入資訊及選擇的購物車貨品暫存至 session 裡,這裡使用了新的元件 PasswordTextField 隱藏輸入的密碼,貨品列表以 ListView 及 ListItem 顯示於頁面,Link 的 onClick 動作作為轉頁功能, 而 PageLink 則直接轉至頁面,並以 Button 的 onSubmit 動作將選擇的貨品加入購物車中,最後在 WebPage 裡呼叫 getSession().invalidate() 作為登出動作.執行畫面如下圖所示：開始備忘記：[1] 實作 lab 4[1] 實作 lab 4：&lt;!---------</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/4858804536761016981/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=4858804536761016981&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4858804536761016981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4858804536761016981'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/10/wicket-lab4_09.html' title='Wicket lab4 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-1764096304230361622</id><published>2007-10-08T22:20:00.000+08:00</published><updated>2007-10-08T22:27:09.965+08:00</updated><title type='text'>Wicket lab3 備忘記</title><summary type='text'>Wicket lab3 主要是實作 簡單的結帳系統,使用靜態的 map 模擬資料庫存取動作,這裡並沒有使用 PropertyModel,而使用更簡單的 CompoundPropertyModel(自動對應 form 及 pojo 的 property),並在 TextField 裡使用 built-in validators,以及使用 properties file 自定 wicket 的錯誤訊息,在 validation 方便, 實作了 AbstractValidator 及 AbstractFormValidator 介面.實作 AbstractValidator 主要對單個 form property 作自定 validation.而 AbstractFormValidator 則可對多個 form property 作自定 validation.利用 </summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/1764096304230361622/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=1764096304230361622&amp;isPopup=true' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/1764096304230361622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/1764096304230361622'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/10/wicket-lab3.html' title='Wicket lab3 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-7520728232552555762</id><published>2007-10-07T22:07:00.001+08:00</published><updated>2008-02-28T12:18:37.027+08:00</updated><title type='text'>PDF 應用 備忘記</title><summary type='text'>PDFCreator 及 CutePDF Writer 以列印功能般輸出 PDF.PDFCreator：http://sourceforge.net/projects/pdfcreator/CutePDF Writer：http://www.cutepdf.com/Free PDF Compressor 壓縮 PDF：http://www.nicepdf.com/products.htmlPDF Watermark Creator 在 PDF 裡加入水印：http://www.coolpdf.com/pdfwatermark.htmlPDFHelper 將 PDF 文件分拆：http://rptea.com/PDF Bundle 在 PDF 裡加入其他檔案(如 Word)：http://www.coolpdf.com/products.htmlInfix Pro 修改 PDF檔案：</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/7520728232552555762/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=7520728232552555762&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/7520728232552555762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/7520728232552555762'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/10/pdf.html' title='PDF 應用 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-6726586716581199870</id><published>2007-09-18T21:53:00.000+08:00</published><updated>2007-10-04T18:25:01.764+08:00</updated><title type='text'>Wicket lab2 備忘記</title><summary type='text'>Wicket Lab2 要求使用 TextField, DropDownChoice 及 Date picker 實作頁面跳轉的效果.開始備忘記：[1] Lab2 要求[2] 實作 Lab2[1] Lab2 要求：本次要求如下圖所示,當介面選擇 Male 後, 跳至 male 的訊息,當介面選擇 Female 後, 跳至 female 的訊息,[2] 實作 Lab2&lt;!----------- web.xml -----------------&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/6726586716581199870/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=6726586716581199870&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6726586716581199870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6726586716581199870'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/09/wicket-lab2-textfield-dropdownchoice.html' title='Wicket lab2 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-3758162636845113625</id><published>2007-09-07T01:12:00.001+08:00</published><updated>2007-09-07T21:22:24.703+08:00</updated><title type='text'>Wicket 備忘記</title><summary type='text'>Wicket framkework 使用邏輯及設計頁面分離概念,不但使元件更能重用, 而且網頁設計師及程式員可以同時工作.網頁設計師使用網頁編輯器設計網頁, 程式員則在頁面裡插入 Wicket 特有的 html attribute.這方面與 Tapestry 很相似.開始備忘記：[1] 安裝及準備[2] 建立第一個 Wicket Project[1] 安裝及準備：下載 jdk-6u2-windows-i586-p.exehttp://java.sun.com/javase/downloads/index.jsp雙擊 jdk-6u2-windows-i586-p.exe 安裝至 C:\jdk1.6.0_02\將 JAVA_HOME=C:\jdk1.6.0_02 加入至環境變數中下載 apache-tomcat-6.0.14.ziphttp://tomcat.apache.org/</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/3758162636845113625/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=3758162636845113625&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/3758162636845113625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/3758162636845113625'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/09/wicket.html' title='Wicket 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-1582479642915295520</id><published>2007-08-25T02:51:00.000+08:00</published><updated>2007-11-09T10:10:28.055+08:00</updated><title type='text'>Ubuntu (Virtual PC) 備忘記</title><summary type='text'>自從 Virtual PC 提供免費下載後, 已很久沒有使用 VMware 了,但在 Virtual PC 裡安裝 Ubuntu 往往會遇到一些問題,如 24 bits color 下的 Ubuntu 安裝 GUI 與 VPC 只提供 16 及 32 bits color 的不相容,及滑鼠 在 Ubuntu KDE 裡 不能啟動的問題,本備忘記首先記錄如何下載及安裝免費的 Virtual PC 2007,然後下載 Ubuntu 的影像檔並製成光碟,最後在 Virtual PC 2007 裡安裝 Ubuntu 並解決過程中遇到的問題.開始備忘記：[1] 安裝 Virtual PC 2007[2] 製作 Ubuntu 7.04 Live 及 Install CD[3] 安裝 Ubuntu[1] 安裝 Virtual PC 2007：下載 Virtual PC 2007：http://</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/1582479642915295520/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=1582479642915295520&amp;isPopup=true' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/1582479642915295520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/1582479642915295520'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/08/ubuntu-virtual-pc.html' title='Ubuntu (Virtual PC) 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-2517812148306116917</id><published>2007-08-04T13:36:00.000+08:00</published><updated>2008-11-13T17:24:47.947+08:00</updated><title type='text'>AntiVirus 備忘記</title><summary type='text'>本備忘記主要是簡介 windows firewall 作為起點,使用 Trendmicro 的 進行網上掃描,及利用 HiJackThis 刪除 tracking cookies 及 回復 registry.並備忘一些常用的防毒軟件.開始備忘記：Windows firewall：Windows firewall 只能對針對 網卡 及 應用程式 進行簡單的防護工作,開啟防火牆如下所示進入 "例外" panel 可針對 應用程式, 協定(protocol) 及 服務(port) 進行防護.如下圖所示進入 "進階" panel 可針對 網卡 進行防護.如下圖所示使用 trendmicro.com 網址掃描病毒：進入http://housecall65.trendmicro.com/按 [[Launch HouseCall]], 如下圖所示然後按 [[Starting HouseCall]], </summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/2517812148306116917/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=2517812148306116917&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2517812148306116917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2517812148306116917'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/08/antivirus.html' title='AntiVirus 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_vJ2OFbXSXyo/RrQSlORK0mI/AAAAAAAAACE/BvBfvriamqo/s72-c/antivirus_ms_firewall_1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-5026129831208598978</id><published>2007-08-04T01:56:00.000+08:00</published><updated>2007-08-04T02:08:51.889+08:00</updated><title type='text'>DOS command 備忘記</title><summary type='text'>這些指令忘了在那個網站複製的, 但值得收藏備忘.#1 一：net use \\\\ip\\ipc$ " " /user:" " 建立IPC空鏈接net use \\\\ip\\ipc$ "密碼" /user:"用戶名" 建立IPC非空鏈接net use h: \\\\ip\\c$ "密碼" /user:"用戶名" 直接登陸后映射對方C：到本地為H:net use h: \\\\ip\\c$ 登陸后映射對方C：到本地為H:net use \\\\ip\\ipc$ /del 刪除IPC鏈接net use h: /del 刪除映射對方到本地的為H:的映射net user 用戶名　密碼　/add 建立用戶net user guest /active:yes 激活guest用戶net user 查看有哪些用戶net user 帳戶名 查看帳戶的屬性net localgroup ***</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/5026129831208598978/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=5026129831208598978&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/5026129831208598978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/5026129831208598978'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/08/dos-command.html' title='DOS command 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-5845704925766529744</id><published>2007-07-23T22:51:00.000+08:00</published><updated>2008-11-13T17:24:50.071+08:00</updated><title type='text'>Website url analyze 備忘記</title><summary type='text'>網路維護工程師經常遇到網站緩慢或停止服務等情況.一般情形下都會首先使用 ping 測試是否能夠連接服務器,然後會使用 traceroute 測試到底那一個 router 或 gateway 出現問題.這次備忘記主要記載利用一些網站提供分析及測試服務.開始備忘記：[1] netcraft[2] pingdom[3] websiteoptimization[4] internetsupervision[5] 查詢whois ip 網站[6] Check IP[1] netcraft：提供網站詳細資料的服務.輸入網址後,如下圖所示：[2] pingdom：提供圖形化介面顯示該網頁中的所有元件下載速度及大小.輸入網址後,如下圖所示：[3] websiteoptimization：提供文字化介面顯示該網頁中的元件資料,最後並給予分析及建議.輸入網址後,如下圖所示：[4] </summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/5845704925766529744/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=5845704925766529744&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/5845704925766529744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/5845704925766529744'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/07/website-url-analyze.html' title='Website url analyze 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_vJ2OFbXSXyo/RqTB_ORK0ZI/AAAAAAAAAAc/DaqOgzZyh5Y/s72-c/webanalyze_netcraft_1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-4809618212730543634</id><published>2007-07-21T18:53:00.000+08:00</published><updated>2008-11-13T17:24:50.361+08:00</updated><title type='text'>PMD 備忘記</title><summary type='text'>一般在編寫程式的時侯,經驗再豐富的編程員都會範上一些編程的陷阱,因此產生俗稱為 "smell code" 的代碼.PMD 是一套不錯的代碼檢查工具,專門檢測 "smell code",並能找出以下潛在的問題：Possible bugs - empty try/catch/finally/switch statementsDead code - unused local variables, parameters and private methodsSuboptimal code - wasteful String/StringBuffer usageOvercomplicated expressions - unnecessary if statements, for loops that could be while loopsDuplicate code - copied/</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/4809618212730543634/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=4809618212730543634&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4809618212730543634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4809618212730543634'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/07/pmd.html' title='PMD 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_vJ2OFbXSXyo/RqHm1eRK0YI/AAAAAAAAAAU/Ah0BqxcPh2c/s72-c/pmd_eclipse_1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-4124161682221489156</id><published>2007-06-28T19:10:00.002+08:00</published><updated>2007-06-28T19:15:53.339+08:00</updated><title type='text'>Spring Acegi Security 備忘記</title><summary type='text'>Acegi 發音為 "Ah-see-gee", Acegi Security 主要應用於 Spring 的認證及授權服務.Acegi Security 亦解決企業在 J2EE 應用程式安全方面的問題,能夠對網站 URL 進行用戶認證及授權, 用戶資料來源可以設定成由 memory, files 或 資料庫提供,結合 CAS (Central Authentication Service) Server, 更能提供 Single Sign On 的功能,這次備忘記開始時記載如何設定 Tomcat 使用 SSL 服務, [以備日後整合 CAS server]然後從實際的 Eclipse project 實作中,實作如何使用 Acegi Security 對 Spring 的 bean method 進行簡單的認證及授權.用戶資料由 properties file 提供, 密碼經由 </summary><link rel='related' href='http://joeyta.blogspot.com/2007/06/spring-acegi-security.html' title='Spring Acegi Security 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/4124161682221489156/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=4124161682221489156&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4124161682221489156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4124161682221489156'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/spring-acegi-security.html' title='Spring Acegi Security 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-2786947482165618547</id><published>2007-06-28T19:10:00.001+08:00</published><updated>2007-06-28T19:10:46.920+08:00</updated><title type='text'>Free Text Editor 備忘記</title><summary type='text'>由於習慣使用 UltraEditor 作為 text editor, 最近卻不能使用了.故前陣子試用了一些 free text editor.就決定把它記錄下來, 日後參考.開始備忘記：Notepad++：下載 npp.4.1.2.bin.ziphttp://sourceforge.net/project/showfiles.php?group_id=95717&amp;package_id=102072解壓縮後 執行 npp.4.1.2.bin/notepad++.exe 直接使用或下載 npp.4.1.2.Installer.exe 直接執行安裝下載 plugin:http://sourceforge.net/projects/npp-plugins/http://sourceforge.net/project/showfiles.php?group_id=189927Explorer_1_</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/2786947482165618547/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=2786947482165618547&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2786947482165618547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2786947482165618547'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/free-text-editor.html' title='Free Text Editor 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-5700678669527294675</id><published>2007-06-28T19:09:00.002+08:00</published><updated>2007-06-28T19:10:10.050+08:00</updated><title type='text'>Spring Compass 備忘記</title><summary type='text'>以往實作搜尋引擎, 首選 Lucene, 實作起來並不輕鬆,Opensymphony Compass 是 Lucene 的開源框架,如果對 Hibernate 有基本認識, 搭配 Spring framework, 使用 Compass 就會特別輕鬆,但現時的 Compass 只能對單個 entity 作操作.這編備忘記主要是以簡單的 Spring Web MVC 作為開始,配合 Compass, 以新增及搜尋 User 作為簡單例子.開始備忘記：[1] 安裝 JDK 6u1[2] 安裝 Eclipse WTP:[3] 安裝 tomcat[4] 下載 spring 及 OpenSymphony Compass[5] Eclipse 實作[1] 安裝 JDK 6u1:下載 jdk-6u1-windows-i586-p.exehttp://java.sun.com/javase/</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/5700678669527294675/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=5700678669527294675&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/5700678669527294675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/5700678669527294675'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/spring-compass.html' title='Spring Compass 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-2674417325072580702</id><published>2007-06-28T19:09:00.001+08:00</published><updated>2007-06-28T19:09:27.581+08:00</updated><title type='text'>OpenCms 備忘記</title><summary type='text'>前陣子由於需要選擇一個好用的開源 CMS, 於是便測試了多種 CMS.在開源的 CMS 裡, 我覺得 OpenCMS 功能最強, 最少能滿足我的要求.尤其是在繁體搜尋功能, 可以簡單的 implement,不像其他的 CMS 不支援繁體, OpenCMS 是使用 Lucene 作為搜尋功能,加入繁體搜尋非常簡單, 只要細心研究一下就可以了.由於這編備忘記是半年前寫下的, 很多安裝後的測試過程沒有記錄下來.例如如何轉成繁體版, 我當初是把所有 properties 檔案從簡體轉成繁體,然後更改一些設定, 就可以順利的完成繁體版,以下是如何簡單的安裝 OpenCMS 作備忘.開始備忘記：[1] 安裝 jdk 5[2] 下載 Tomcat[3] 安裝 mysql[4] 下載 OpenCMS[5] 啟動 Tomcat 及 進行安裝[1] 安裝 jdk 5：下載 jdk-1_5_0_07-nb-5</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/2674417325072580702/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=2674417325072580702&amp;isPopup=true' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2674417325072580702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2674417325072580702'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/opencms.html' title='OpenCms 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-4102611331452384701</id><published>2007-06-28T19:08:00.001+08:00</published><updated>2007-06-28T19:08:59.115+08:00</updated><title type='text'>GnuWin32(wget &amp; sed) 備忘記</title><summary type='text'>很多時候程式員在 windows 裡, 卻想使用 linux 的一些 command.如 wget 或 sed 等, 那 GnuWin32 是一個好選擇,雖然可以安裝 Cygwin 等, 但還是要啟動 console.不能直接使用 batch file 執行.今天的備忘記主要是介紹在 windows 裡如何執行 linux 裡的一些 command.開始備忘記:[1] 安裝 GnuWin32 wget 及 sed[2] 測試 wget[3] 測試 sed command[1] 安裝 GnuWin32 wget 及 sed:這裡只簡單地對 wget 及 sed 進行測試.下載 wget-1.10.1.exe , sed-4.1.4http://gnuwin32.sourceforge.net/packages.html下載後雙擊它們安裝, 安裝目錄為 C:\GnuWin32然後進入 C:\</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/4102611331452384701/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=4102611331452384701&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4102611331452384701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4102611331452384701'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/gnuwin32wget-sed.html' title='GnuWin32(wget &amp; sed) 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-7272164114372850241</id><published>2007-06-28T19:07:00.002+08:00</published><updated>2007-06-28T19:08:16.072+08:00</updated><title type='text'>KeePass 備忘記</title><summary type='text'>KeePass Password Safe 為近期 sourceforge 社區熱門下載項目, 累計超過 200 萬,現今的電腦年代, 需要記住的密碼尤其多, 想一個安全的密碼亦不容易,包括 email, forum, blog 等等, 雖然可以使用單一密碼, 但不是一種好習慣,而 網上銀行, 公司的伺服器 等等的密碼, 就必需小心處理,這套軟件主要是讓使用者只需記住一個密碼,然後其他的密碼自動產生並加密起來.開始備忘記:[1] 安裝 KeePass[2] 第一次使用 KeePass[3] 新增密碼[1] 安裝 KeePass:下載 KeePass-1.07-Setup.exehttp://downloads.sourceforge.net/keepass/KeePass-1.07-Setup.exehttp://sourceforge.net/project/showfiles.php</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/7272164114372850241/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=7272164114372850241&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/7272164114372850241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/7272164114372850241'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/keepass.html' title='KeePass 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-6669655108925255668</id><published>2007-06-28T19:07:00.001+08:00</published><updated>2007-06-28T19:07:42.693+08:00</updated><title type='text'>Hibernate oracle blob 備忘記</title><summary type='text'>這次備忘記主要是記載處理 Hibernate blob 在 Oracle 出現的問題.以及在 mapping file 裡使用 date 做 mapping 時, 進入 database 後, 時分秒會不見了的問題,故此時要使用 timestamp 取代做 mapping , 而在 java 中仍使用 java.util.Date.另一個問題是當 entity 在 detached 狀態時, java.sql.Timestamp 在經過 XMLEncoder 轉換時,由於 XMLEncoder 並不支持 java.sql.Timestamp 的問題.開始備忘記：[1] 處理 Hibernate oracle blob[2] 處理 XMLEncoder java.sql.Timestamp[1] 處理 Hibernate oracle blob:&lt;?xml version="1.0" </summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/6669655108925255668/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=6669655108925255668&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6669655108925255668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/6669655108925255668'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/hibernate-oracle-blob.html' title='Hibernate oracle blob 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-4491141206244145542</id><published>2007-06-28T19:06:00.000+08:00</published><updated>2007-06-28T19:07:11.929+08:00</updated><title type='text'>JNDI AD 備忘記</title><summary type='text'>這編主要是描述 Java JNDI 連 Windows Active Directory 的實作.包括認證, 新增用戶, 修改密碼 及 取得用戶資料.開始備忘記:1. 建立 IIS SSL2. 將 CA Certificate 加入至 jre keystore 裡3. JNDI 連 AD1. 建立 IIS SSL:Install Windows 2003 Server:Install AD:Start -&gt; Run -&gt; dcpromotedomain name : joeyta.localNT domain name : joeyserver即 Fully Qualified Domain Name (FQDN) 為 joeyserver.joeyta.local先安裝 IIS , 再安裝 CA.Install IIS:Start -&gt; Programs -&gt; </summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/4491141206244145542/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=4491141206244145542&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4491141206244145542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/4491141206244145542'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/jndi-ad.html' title='JNDI AD 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-8167435995852263496</id><published>2007-06-28T19:05:00.000+08:00</published><updated>2007-06-28T19:06:25.497+08:00</updated><title type='text'>shell script備忘記</title><summary type='text'># 依最後更改時間 刪除檔案find ./yourpath -type -f -mtime -beforeDays -exec rm -f {} \;# ftp script#!/usr/bin/shfm_year="`date +%Y'`"fm_monday="`date +'%m%d'`"fm_dir_prefix="/db/db_backup"fm_dir="${fm_dir_prefix}/${fm_year}/${fm_monday}"ftp -i -n 192.168.1.1 &lt;&lt;FTPITuser dbuser dbpassbincd $fm_dirlcd dumpmget *.*quitFTPITsort 指令將讀入的檔案作排序.-f 把英文字母當成大寫來看-n 將各行前頭的數字來做排序-r 將排序順序逆轉-b 將欄位前的空格省略-u 去除重複行-o 將輸出導入至檔案[-</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/8167435995852263496/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=8167435995852263496&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/8167435995852263496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/8167435995852263496'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/shell-script.html' title='shell script備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-3376286216976226971</id><published>2007-06-28T19:04:00.000+08:00</published><updated>2007-06-28T19:05:42.936+08:00</updated><title type='text'>HTML Tab Panel 備忘記</title><summary type='text'>一直想找一個簡單的 html tab panel 例子,可惜每次找到的都過於複雜, 自己又懶惰寫一個.最近在測試 DWR 時, 看到這個簡單的 tab panel 例子,就決定把它記下來作日後備忘.&lt;!---------------------------- tab.html ---------------------&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;Tab Demo&lt;/title&gt;&lt;script type="text/javascript"&gt;&lt;!--function Tabs() { }Tabs.init = function(tabListId) {var $ = document.getElementById;Tabs.tabLinks = $(tabListId).getElementsByTagName("A");var link, tabId, tab;for (var</summary><link rel='related' href='http://joeyta.blogspot.com/2007/06/html-tab-panel.html' title='HTML Tab Panel 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/3376286216976226971/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=3376286216976226971&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/3376286216976226971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/3376286216976226971'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/html-tab-panel.html' title='HTML Tab Panel 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-2773867247549474740</id><published>2007-06-28T19:01:00.000+08:00</published><updated>2007-06-28T19:04:14.291+08:00</updated><title type='text'>DWR Auto Suggestion 備忘記</title><summary type='text'>DWR (Direct Web Remoting) 運作原理為將 java object 轉換成 javascript 能讀取的 object,這中間 javascript 的 object 與 java object 溝通間橋樑依靠 Ajax 的運作模式.有了以上的概念,可以簡單地了解到 java object 是運作於 server 端, 即 weblogic 或 tomcat.而 javascript object 則運作於 client 端, 即 html 裡.所以實作 DWR 有以下幾種步驟:(1) 對 DWR 作一些簡單的 web 配置(2) dwr.xml 定義 java object 及 javascript object.(3) client 端呼叫對應的 javascript object.開始備忘記:[1] 安裝 jdk 5：[2] 安裝 Tomcat:[3] 安裝</summary><link rel='related' href='http://joeyta.blogspot.com/2007/06/dwr-auto-suggestion.html' title='DWR Auto Suggestion 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/2773867247549474740/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=2773867247549474740&amp;isPopup=true' title='3 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2773867247549474740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/2773867247549474740'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2007/06/dwr-auto-suggestion.html' title='DWR Auto Suggestion 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-116507521866068721</id><published>2006-12-03T00:00:00.001+08:00</published><updated>2006-12-03T00:02:28.503+08:00</updated><title type='text'>Eclipse eUML 備忘記</title><summary type='text'>eUML2 2.1.0 提供免費的 Eclipse class diagram 模組化介面.並能實時地與 java code 結合在一起.開始備忘記:[1] 安裝 jdk 5[2] 安裝 Eclipse 及 相關 plugins[3] 實例測試:[1] 安裝 jdk 5：下載 jdk-1_5_0_07-nb-5_0-win-ml.exehttp://java.sun.com/j2se/1.5.0/download-netbeans.html安裝至 D:\jdk1.5.0_07新增環境變數 JAVA_HOME=D:\jdk1.5.0_07D:\jdk1.5.0_07\bin 加入至 PATH 中D:\jdk1.5.0_07\lib\dt.jar 及 D:\jdk1.5.0_07\lib\tools.jar 加入至 CLASSPATH 中執行 D:\&gt;java -version輸出 java</summary><link rel='related' href='http://joeyta.blogspot.com/2006/12/eclipse-euml.html' title='Eclipse eUML 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/116507521866068721/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=116507521866068721&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116507521866068721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116507521866068721'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/12/eclipse-euml.html' title='Eclipse eUML 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-116507524444527978</id><published>2006-12-03T00:00:00.000+08:00</published><updated>2006-12-03T00:01:57.166+08:00</updated><title type='text'>Eclipse Tomcat Jasper 備忘記</title><summary type='text'>本備忘記主要是以 tomcat jasper 2 編譯 jsp 檔案為 servlet 的 java 源檔案.就像 JBuilder 產生 Servlet 的功能, 有助於 jsp 開者 debug.開始備忘記:[1] 安裝 jdk 5[2] 下載 Tomcat[3] 安裝 Eclipse 及 相關 plugins[4] 實例測試[1] 安裝 jdk 5：下載 jdk-1_5_0_07-nb-5_0-win-ml.exehttp://java.sun.com/j2se/1.5.0/download-netbeans.html安裝至 D:\jdk1.5.0_07新增環境變數 JAVA_HOME=D:\jdk1.5.0_07D:\jdk1.5.0_07\bin 加入至 PATH 中D:\jdk1.5.0_07\lib\dt.jar 及 D:\jdk1.5.0_07\lib\tools.jar</summary><link rel='related' href='http://joeyta.blogspot.com/2006/12/eclipse-tomcat-jasper.html' title='Eclipse Tomcat Jasper 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/116507524444527978/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=116507524444527978&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116507524444527978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116507524444527978'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/12/eclipse-tomcat-jasper.html' title='Eclipse Tomcat Jasper 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-116507519006137877</id><published>2006-12-02T23:59:00.000+08:00</published><updated>2006-12-03T00:01:20.693+08:00</updated><title type='text'>Eclipse TPTP 備忘記</title><summary type='text'>Eclipse Test &amp; Performance Tools Platform (TPTP) 為 Eclipse 基金會的開源項目.這個項目的主要目的為在 Eclipse IDE 平台集成 性能測試, 調節, 監察 等功能.這次備忘記是學習如何增加讀取 xml 的執行性能. 開始備忘記:[1] 安裝 jdk 5[2] 安裝 Eclipse 及 Eclipse TPTP[3] 性能調節的案例實踐[1] 安裝 jdk 5：下載 jdk-1_5_0_07-nb-5_0-win-ml.exehttp://java.sun.com/j2se/1.5.0/download-netbeans.html安裝至 D:\jdk1.5.0_07新增環境變數 JAVA_HOME=D:\jdk1.5.0_07D:\jdk1.5.0_07\bin 加入至 PATH 中D:\jdk1.5.0_07\lib\</summary><link rel='related' href='http://joeyta.blogspot.com/2006/12/eclipse-tptp.html' title='Eclipse TPTP 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/116507519006137877/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=116507519006137877&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116507519006137877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116507519006137877'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/12/eclipse-tptp.html' title='Eclipse TPTP 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-116021491233050353</id><published>2006-10-07T17:53:00.000+08:00</published><updated>2006-12-02T23:59:02.083+08:00</updated><title type='text'>spring lab 備忘記</title><summary type='text'>最近很想參加 CISCO 的安全課程, 最後還是暫緩了, 打算過一陣子才參加.現在的課程只餘下 Spring 及 CISSP 了,Spring 卻在星期天的早上上課, 實在不習慣, 上堂的時候都在釣魚.參與這個課程主要是想更了解 Spring 的一些設定及概念.雖然本人亦看了不少 Spring 的書藉, 但卻很少深入實作.這課程使用的書藉剛好是林信良的 Spring 技術手冊, 省了一筆錢.這本書當初在台灣發行的時候就訂了一本回家. 亦簡略的看了一次.我記得只有 Spring Web MVC 好像沒甚麼看, 因為對它沒興趣.如果要深入了解 Spring,書藉推薦 Wrox Professional Java Development with the Spring Framework以及參看官方文檔 http://www.springframework.org/documentation</summary><link rel='related' href='http://joeyta.blogspot.com/2006/10/spring-lab.html' title='spring lab 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/116021491233050353/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=116021491233050353&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116021491233050353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/116021491233050353'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/10/spring-lab.html' title='spring lab 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115782855894809295</id><published>2006-09-10T02:56:00.000+08:00</published><updated>2006-09-10T03:03:38.086+08:00</updated><title type='text'>Oracle常用傻瓜問題1000問  [9I ADMIN]</title><summary type='text'>忘了這編是從那裡下載,但我覺得非常值得記錄下來作日後參考.1. Oracle安裝完成後的初始口令?　internal/oracle　　sys/change_on_install　　system/manager　　scott/tiger　　sysman/oem_temp2. ORACLE9IAS WEB CACHE的初始默認用戶和密碼？administrator/administrator3. oracle 8.0.5怎麼創建數據庫?用orainst。如果有motif界面，可以用orainst /m4. oracle 8.1.7怎麼創建數據庫?dbassist5. oracle 9i 怎麼創建數據庫?dbca6. oracle中的裸設備指的是什麼?裸設備就是繞過文件系統直接訪問的儲存空間7. oracle如何區分 64-bit/32bit 版本？？？$ sqlplus '/ AS </summary><link rel='related' href='http://joeyta.blogspot.com/2006/09/oracle1000-1-280-9i-admin.html' title='Oracle常用傻瓜問題1000問  [9I ADMIN]'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115782855894809295/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115782855894809295&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115782855894809295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115782855894809295'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/09/oracle1000-9i-admin.html' title='Oracle常用傻瓜問題1000問  [9I ADMIN]'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115782800018398317</id><published>2006-09-10T02:52:00.000+08:00</published><updated>2006-12-06T10:25:06.703+08:00</updated><title type='text'>Aptana Javascript(Object Oriented)備忘記</title><summary type='text'>JavaScript 起源於 1995 年, 主要目的是為了減輕當時 Server-side Perl 的 validation 問題.Netscape Navigator 改良後並稱它為 JavaScript,目的是減輕服務器端的工作, 並提供客戶端更多功能.由於微軟出現另一套 IE VBScript, 使得客戶端 Script 不相容.後來 ECMA (ECMA-262)及 ISO/IEC (ISO/IEC-16262) 標準化為 ECMAScript.JavaScript 主要由三部份組成：ECMASCript 核心：描述語法及基本 objectsDOM (Docucment Object Model)：描述網頁工作內容的方法及介面BOM (Browser Object Model)：描述瀏覽器互動的方法及介面開始備忘記[1] 安裝 Aptana[2] 建立第一個 Aptana </summary><link rel='related' href='http://joeyta.blogspot.com/2006/09/aptana-javascriptobject-oriented.html' title='Aptana Javascript(Object Oriented)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115782800018398317/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115782800018398317&amp;isPopup=true' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115782800018398317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115782800018398317'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/09/aptana-javascriptobject-oriented.html' title='Aptana Javascript(Object Oriented)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115782712217580660</id><published>2006-09-10T02:35:00.000+08:00</published><updated>2006-09-10T02:49:16.220+08:00</updated><title type='text'>網絡工程師精華絕密資料</title><summary type='text'>網絡工程師精華絕密資料 來自: http://www.wonyen.net/myhome/myblog.aspx?id=jxkgd&amp;sortId=16&amp;sort=教育學習本人把它收藏於 blog 裡作日後回故==============================路由器問題：1、什麼時候使用多路由協議？當兩種不同的路由協議要交換路由信息時，就要用到多路由協議。當然，路由再分配也可以交換路由信息。下列情況不必使用多路由協議：從老版本的內部網關協議（ Interior Gateway Protocol，I G P）升級到新版本的I G P。你想使用另一種路由協議但又必須保留原來的協議。你想終止內部路由，以免受到其他沒有嚴格過濾監管功能的路由器的干擾。你在一個由多個廠家的路由器构成的環境下。什麼是距離向量路由協議？距離向量路由協議是為小型網絡環境設計的。在大型網絡環境下，</summary><link rel='related' href='http://joeyta.blogspot.com/2006/09/blog-post.html' title='網絡工程師精華絕密資料'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115782712217580660/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115782712217580660&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115782712217580660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115782712217580660'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/09/blog-post.html' title='網絡工程師精華絕密資料'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115608825732092140</id><published>2006-08-20T23:37:00.000+08:00</published><updated>2006-08-20T23:41:50.783+08:00</updated><title type='text'>NetBeans Java 6(aka Mustang)備忘記</title><summary type='text'>以下為 Java SE 6 的目標：提高兼容性及穩定性增強診斷,監察及管理能力提高開發效率Enterprise desktopXML and web servicesTransparency以下為 Java SE 6 新特性：‧ JSR 105: XML Digital Signature‧ JSR 173: Streaming API for XML‧ JSR 181: Web Services Metadata‧ JSR 199: Java Compiler API‧ JSR 202: Java Class File Specification Update‧ JSR 221: JDBC 4.0‧ JSR 222: JAXB 2.0‧ JSR 223: Scripting for the Java Platform‧ JSR 224: Java API for XML-Based </summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/netbeans-java-6aka-mustang.html' title='NetBeans Java 6(aka Mustang)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115608825732092140/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115608825732092140&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608825732092140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608825732092140'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/netbeans-java-6aka-mustang.html' title='NetBeans Java 6(aka Mustang)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115608821913440816</id><published>2006-08-20T23:36:00.001+08:00</published><updated>2006-08-20T23:42:21.810+08:00</updated><title type='text'>JBoss Web備忘記</title><summary type='text'>JBoss Web Server 建基於 tomcat 上, 其目的是為了建立一個標準的 web server,JBoss Web Server 可以同時運行 JSP, Servlet, Microsoft .NET , PHP 及 CGI,以 Java 技術為接口, 提供 CGI , PHP 及 .NET 執行程序的進出,混合技術模組提供良好的 threading 及 event 處理功能.結合現代 OS 的良好性能, 建立一個名符其實的高性能混合處理系統.開始備忘記：[1] 安裝 jdk 5[2] 安裝 JBoss Web Server[3] 安裝 PHP 及 php servlet demo[4] 測試程式[1] 安裝 jdk 5：下載 jdk-1_5_0_07-nb-5_0-win-ml.exehttp://java.sun.com/j2se/1.5.0/</summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/jboss-web.html' title='JBoss Web備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115608821913440816/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115608821913440816&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608821913440816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608821913440816'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/jboss-web.html' title='JBoss Web備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115608818911998167</id><published>2006-08-20T23:36:00.000+08:00</published><updated>2006-08-20T23:40:15.726+08:00</updated><title type='text'>JBoss Seam備忘記</title><summary type='text'>JBoss Seam 是一個功能強大的開源應用程式框架,集成眾多流行的 SOA (Service Oriented Architecture) 技術,包括 AJAX (Asynchronous Javascript and XML), JSF (Java Server Faces),EJB3 (Enterprise Java Bean), Java Portlets, BPM (Business Process Management) 及工作流程.Seam 目的是簡化眾多技術的 API 及架構,利用 POJOs (Plain Old Java Objects) 簡單標記, widgets 及小量的 XML,使開發員能夠輕鬆開發 Web 應用程式.使用 Seam 1.0 技術,日後將會更容易集成於 ESB (Enterprise Service Bus) 及 JBI (Java </summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/jboss-seam.html' title='JBoss Seam備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115608818911998167/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115608818911998167&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608818911998167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608818911998167'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/jboss-seam.html' title='JBoss Seam備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115608815539433479</id><published>2006-08-20T23:35:00.000+08:00</published><updated>2006-08-20T23:39:16.943+08:00</updated><title type='text'>TestNG備忘記</title><summary type='text'>TestNG(Testing, the Next Generation) 測試框架項目靈感來自 JUnit 及 NUnit,主要目的是增強舊的測試框架不足的功能, 其新增的功能如下：- JDK 5 Annotations- 新增測試設定檔 (預設 testng.xml)- 提供 data-driven testing (利用 @DataProvider 將 data 提供給測試程式)- 支持 parameters (可使用設定檔或 @DataProvider 提供參數功能)- 提供分佈式測試.- 提供功能強勁的執行模組 (不再使用 TestSuite)- 給予多種工具支援 (Eclipse, IDEA, Maven, etc...)- 嵌入 BeanShell- 預設的執行時期 JDK 功能及日誌- 給予應用程式提供相依的 methods詳細的介紹請參閱以下官方文檔.(注意, </summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/testng.html' title='TestNG備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115608815539433479/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115608815539433479&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608815539433479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608815539433479'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/testng.html' title='TestNG備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115608812269438499</id><published>2006-08-20T23:34:00.000+08:00</published><updated>2006-08-20T23:38:26.110+08:00</updated><title type='text'>JBoss jBPM(Workflow Management Engine)備忘記</title><summary type='text'>JBoss jBPM (JAVA Business Process Management) 為開源工作流程引擎,具有非常高的彈性及可擴展性, 可使用圖形介面事先定義工作流程序述,提供非同步, 排程, 自動觸發動作等功能,JBoss jBPM 可以與任何的資料庫集成, 並能嵌入於任何的JAVA企業應用系統.開始備忘記：[1] 安裝 jdk 5[2] 安裝 JBoss jBPM server[3] 安裝 Eclipse WTP[4] 安裝 JBoss IDE[5] 建立第一個 jBPM project[1] 安裝 jdk 5：下載 jdk-1_5_0_07-nb-5_0-win-ml.exehttp://java.sun.com/j2se/1.5.0/download-netbeans.html安裝至 D:\jdk1.5.0_07新增環境變數 JAVA_HOME=D:\jdk1.5.0_</summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/jboss-jbpmworkflow-management-engine.html' title='JBoss jBPM(Workflow Management Engine)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115608812269438499/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115608812269438499&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608812269438499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115608812269438499'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/jboss-jbpmworkflow-management-engine.html' title='JBoss jBPM(Workflow Management Engine)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115468617712155576</id><published>2006-08-04T18:09:00.000+08:00</published><updated>2006-08-04T18:11:19.293+08:00</updated><title type='text'>JAMon(Java Application Monitor)備忘記</title><summary type='text'>JAMon (JAva Application Monitor) 為一套開源, 以 J2EE 為主的性能監視工具.其以 簡單易用 及 性能高 的優點, 取得眾多 J2EE 開發員的愛戴.可以用來監視性能的瓶頸, 用戶及應用程式間互動, 並能測試應用程式的擴展性.JAMon 主要用來監測 點擊數, 執行時間 及 同步應用程式訪問數. 並以報表形式顯示.開始備忘記：[1] 第一個 JAMon 例子[2] 下載及安裝工具[3] 簡單的 J2EE 測試[1] 第一個 JAMon 例子：將 jamon-2.1.jar 加入 CLASSPATH 中 [ 後面有說明如何下載jamon-2.1.jar ]./*----------------- JAMonitorTest.java -----------------*/package jamon.joeyta.test;import </summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/jamonjava-application-monitor.html' title='JAMon(Java Application Monitor)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115468617712155576/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115468617712155576&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115468617712155576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115468617712155576'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/jamonjava-application-monitor.html' title='JAMon(Java Application Monitor)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115468611311564150</id><published>2006-08-04T18:07:00.000+08:00</published><updated>2006-08-04T18:10:30.853+08:00</updated><title type='text'>JBoss EJB3(Message Driven Beans)備忘記</title><summary type='text'>第一編介紹如何安裝 JBoss 及建立第一個 Stateless Session Beans HelloWorld：http://blog.matrix.org.cn/page/joeyta?entry=jboss_ejb3_helloworld_%E5%82%99%E5%BF%98%E8%A8%98第二編介紹 Stateful Session Beans：http://blog.matrix.org.cn/page/joeyta?entry=jboss_ejb3_stateful_session_beans第三編介紹 Entity Beans：http://blog.matrix.org.cn/page/joeyta?entry=jboss_ejb3_entity_beans_%E5%82%99%E5%BF%98%E8%A8%98EJB 提供 messaging 的功能, </summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/jboss-ejb3message-driven-beans.html' title='JBoss EJB3(Message Driven Beans)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115468611311564150/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115468611311564150&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115468611311564150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115468611311564150'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/jboss-ejb3message-driven-beans.html' title='JBoss EJB3(Message Driven Beans)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115466145182016084</id><published>2006-08-04T11:17:00.001+08:00</published><updated>2006-08-04T11:20:09.860+08:00</updated><title type='text'>JBoss EJB3(Stateful Session Beans)備忘記</title><summary type='text'>上一編介紹如何安裝 JBoss 及建立第一個 Stateless Session Beans HelloWorld：http://blog.matrix.org.cn/page/joeyta?entry=jboss_ejb3_helloworld_%E5%82%99%E5%BF%98%E8%A8%98很多書對 Entity Beans , Stateful 及 Stateless Session Beans 有非常詳細的說明,小弟愚昧, 當初看 Mastering EJB 時, 看完了還是一頭問號, 現在亦了解不深.由於這編只是以簡潔實作為主的備忘記, 故以最簡單的表示方法作簡介.Session Beans 的主要作用是訪問 Entity Beans, Sesseion Beans 可看作 domain story,它描述幾個 Beans 之間的工作流程, 所以 Session </summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/jboss-ejb3stateful-session-beans.html' title='JBoss EJB3(Stateful Session Beans)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115466145182016084/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115466145182016084&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115466145182016084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115466145182016084'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/jboss-ejb3stateful-session-beans.html' title='JBoss EJB3(Stateful Session Beans)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115466149432689423</id><published>2006-08-04T11:17:00.000+08:00</published><updated>2006-08-04T11:19:29.303+08:00</updated><title type='text'>JBoss EJB3(Entity Beans)備忘記</title><summary type='text'>第一編介紹如何安裝 JBoss 及建立第一個 Stateless Session Beans HelloWorld：http://blog.matrix.org.cn/page/joeyta?entry=jboss_ejb3_helloworld_%E5%82%99%E5%BF%98%E8%A8%98第二編介紹 Stateful Session Beans：http://blog.matrix.org.cn/page/joeyta?entry=jboss_ejb3_stateful_session_beansEJB3 不只是標準的 J2EE 編程接口, 它還提供新的企業應用程式開發方案.EJB3 使用 POJOs (Plain Old Java Object), Java annotation 及 依賴注入設計模式.使代碼分離及便於測試.在 multi tier 的企業應用系統中, </summary><link rel='related' href='http://joeyta.blogspot.com/2006/08/jboss-ejb3entity-beans.html' title='JBoss EJB3(Entity Beans)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115466149432689423/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115466149432689423&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115466149432689423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115466149432689423'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/08/jboss-ejb3entity-beans.html' title='JBoss EJB3(Entity Beans)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115308135552623215</id><published>2006-07-17T04:21:00.000+08:00</published><updated>2006-08-04T11:18:51.363+08:00</updated><title type='text'>JBoss EJB3(HelloWorld)備忘記</title><summary type='text'>EJB (Enterprise JavaBeans) 是 J2EE 的核心組件,主要目的是提供開發員一個企業基建架構, 使其更容易開發實用的應用程式.由於這個目的在 EJB2 時徹底失敗. 更加重開發員的工作.故 EJB3 的主要目標是修正及改良 EJB2 的問題. 期望能夠真正簡化開發員的工作.這裡並不打算介紹 EJB2 的不足及 EJB3 增強的特性. 亦不打算對 EJB 作簡介.因為這些在網路上很容易找到相關的教學. 亦不是這編文章的目的.這編備忘記主要是實作 Stateless Session Beans HelloWorld.JBoss 是一個開源的 J2EE 服務器, JBoss 4 版本之後支持 EJB3 ,當其他 J2EE 應用系統需要重啟動才能檢測發佈時, JBoss 2.0 版本後便提供自動發佈檢測,這是第一個 J2EE 應用系統提供自動發佈及重發佈檢測. JBoss</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/jboss-ejb3helloworld.html' title='JBoss EJB3(HelloWorld)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115308135552623215/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115308135552623215&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115308135552623215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115308135552623215'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/jboss-ejb3helloworld.html' title='JBoss EJB3(HelloWorld)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115277486398431389</id><published>2006-07-13T15:14:00.000+08:00</published><updated>2006-07-13T15:15:11.736+08:00</updated><title type='text'>Apache Maven(Project Management)備忘記</title><summary type='text'>Maven 為 Apache 一項開源的軟件項目管理工具計劃,它建基於項目物件模型(Project Object Model, POM)上,就能一併對項目進行編譯, 測試, 發佈, 並能產生文檔及報告.Maven 主要的目的是縮短開發員在開發過程對項目管理所需的時間.使用 Maven, 只需要使用 Ant 的一半功夫,就能自動建立更彈性的 project.以下是 Maven 的目標：(1) 使項目開發過程更輕鬆.(2) 提供統一開發系統.(3) 提供項目品質資訊.(4) 提供更容易開發的指南.(5) 允許輕鬆更新功能.開始進行備忘：[1] 安裝 Maven[2] 建立第一個 Maven 管理的 porject[3] 使用 Maven 對 Project 進行編譯[4] 使用 Maven 對 Project 進行單元測試[5] 使用 Maven 產生 Project Jar file[6]</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/apache-mavenproject-management.html' title='Apache Maven(Project Management)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115277486398431389/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115277486398431389&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115277486398431389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115277486398431389'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/apache-mavenproject-management.html' title='Apache Maven(Project Management)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115262895073811863</id><published>2006-07-11T22:41:00.000+08:00</published><updated>2006-07-13T15:15:58.536+08:00</updated><title type='text'>Apache Axis2(java web service)備忘記:</title><summary type='text'>Axis (Apache Extensible Interaction System) 為 Apache web service 開源計劃,Web Service 功能為提供兩個遠端程式互相溝通,其溝通使用的協定為 SOAP (Simple Object Access Protocol).Axis2 增強舊版 Axis 的效能, 加入模組化及使其更面向 XML,Axis2 設計成更容易嵌入 如 security 及其他可靠模組. 官方網站有更詳細的說明.Web service 其運作原理如下 (下圖引用官方網站簡介)：  +--------------------------------------+           web service registry                   (aka service broker)</summary><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115262895073811863/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115262895073811863&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115262895073811863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115262895073811863'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/apache-axis2java-web-service.html' title='Apache Axis2(java web service)備忘記:'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115245700158796679</id><published>2006-07-09T22:54:00.000+08:00</published><updated>2006-07-13T15:17:10.056+08:00</updated><title type='text'>Apache Lucene(Search Engine)備忘記</title><summary type='text'>Apache Lucene 是一個以java編寫, 具有高效率, 支持全文檢索的開源搜索引擎.主要功能是對數據作索引及搜索,它與其他工具配合能處理 word, html, pdf, excel 的全文搜尋.Lucene 名字的來源是取其始創人 Doug Cutting 的妻子中間名及她外祖母的首名.Lucene 已成功地應用在 Eclipse , Jive , Ifinder 等不同的領域.開始備忘記：首先安裝Tomcat 5.x.http://apache.seekmeup.com/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.exe下載後直接安裝到目錄 D:\tomcat由於本人電腦安裝了幾個 tomcat , 故把 port設為8083 ( 預設port是8080 )http://localhost:8083/ 測試是否安裝成功.</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/apache-lucene.html' title='Apache Lucene(Search Engine)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115245700158796679/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115245700158796679&amp;isPopup=true' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115245700158796679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115245700158796679'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/apache-lucenesearch-engine.html' title='Apache Lucene(Search Engine)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115237571659749018</id><published>2006-07-09T00:21:00.000+08:00</published><updated>2006-07-13T15:18:24.053+08:00</updated><title type='text'>db4o(Object Database)備忘記</title><summary type='text'>db4o 為一項以java 及 .NET 為主的物件資料庫開源計劃.應用它能節省開發資金及減少開發時間, 使開發員更專注於business logic,它尤其適合於沒有DBA的嵌入式設備, 提供這些設備更理想的儲存方案.db4o 以源生物件儲存, 不像一般的 ORM (object relational mapping)解決方案,由於它應用物件源始儲存概念 , 故儲存效率比 ORM 更階, 其速度 與 hibernate + mysql 相差幾個級數比.以下是官方的測試報告：http://www.db4o.com/about/productinformation/benchmarks/db4o 目前被不同的 168 個國家下載超過三十萬次,開始備忘記：下載 db4o-5.2-java.ziphttp://developer.db4o.com/Files/解壓後 把下面的 library </summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/db4oobject-database.html' title='db4o(Object Database)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115237571659749018/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115237571659749018&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115237571659749018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115237571659749018'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/db4oobject-database.html' title='db4o(Object Database)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115226929277871318</id><published>2006-07-07T18:47:00.000+08:00</published><updated>2006-07-13T15:18:57.570+08:00</updated><title type='text'>ZK(Ajax but no JavaScript)備忘記</title><summary type='text'>ZK 為Ajax Web開源框架, 它帶給我們能以最少編程能力,提供Rich client介面而不需要編寫Javascript. 是一種以事件驅動組件的開發過程.開發員就像開發桌面應用程式般輕鬆, 類似設計及編寫HTML標記語言般簡單..ZK 於2006年3月, 獲得2006年社區精選獎項,並在2006年5月, 成為SourceForge第一熱門項目.開始備忘記：首先安裝Tomcat 5.x.http://apache.seekmeup.com/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.exe下載後直接安裝到目錄 D:\tomcat由於本人電腦安裝了幾個 tomcat , 故把 port設為8083 ( 預設port是8080 )http://localhost:8083/ 測試是否安裝成功.測試 ZK：下載 zk-demo-</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/zkajax-but-no-javascript.html' title='ZK(Ajax but no JavaScript)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115226929277871318/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115226929277871318&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115226929277871318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115226929277871318'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/zkajax-but-no-javascript.html' title='ZK(Ajax but no JavaScript)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115226923842516557</id><published>2006-07-07T18:46:00.000+08:00</published><updated>2006-07-13T15:19:39.233+08:00</updated><title type='text'>JSUnit備忘記</title><summary type='text'>JSUnit 是網頁View開發過程的品質保證. 用以測試客戶端的代碼.它能測試javascript的function是否與預期一致..還能保證代碼後期變得巨大時, 更方便進行 Refactoring 的工作.使代碼更能Reusable 及減少bad smell.下載 jsunit2.2alpha11.ziphttps://sourceforge.net/project/showfiles.php?group_id=28041把它解壓至 c:\jsunit 下.建立測試用的目錄 c:\jsunit\mytest建立測試檔案 c:\jsunit\mytest\HelloWorld.html內容為：&lt;html&gt; &lt;head&gt;  &lt;title&gt;Test Page for Hello Joeyta&lt;/title&gt;  &lt;script language="javascript" src="../</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/jsunit.html' title='JSUnit備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115226923842516557/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115226923842516557&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115226923842516557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115226923842516557'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/jsunit.html' title='JSUnit備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115226917868138814</id><published>2006-07-07T18:45:00.000+08:00</published><updated>2006-07-13T15:20:18.666+08:00</updated><title type='text'>Javascript Debugger(IE &amp; Firefox)備忘記</title><summary type='text'>以下這些工具對網頁開發員來說, 可以說是雪中送碳.因為網頁開發員的工作一般來說有點枯燥,尤其是專注於View開發的同仁.Firefox：到 https://addons.mozilla.org/firefox/216/ 點選 Install now.Firefox 重啟後就會自動安裝.然後選 工具 -&gt; javascript debugger 就可以開始使用了.這裡有官方FAQ使用教學：http://www.hacksrus.com/~ginda/venkman/faq/venkman-faq.htmlInternet Explorer：下載 Script Debugger for Windowshttp://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&amp;</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/javascript-debuggerie-firefox.html' title='Javascript Debugger(IE &amp; Firefox)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115226917868138814/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115226917868138814&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115226917868138814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115226917868138814'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/javascript-debuggerie-firefox.html' title='Javascript Debugger(IE &amp; Firefox)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115217168494246890</id><published>2006-07-06T15:41:00.001+08:00</published><updated>2006-07-13T15:21:37.160+08:00</updated><title type='text'>OPENSYMPHONY Quartz(java cron job)備忘記</title><summary type='text'>在java裡,自己寫一個Scheduler實在是煩人的事,有些人選擇依靠OS的Scheduler或Crontab job.在java的世界裡,可以使用Quartz來實作定時執行工作,就像在unix like系統裡設定crontab job一樣簡單.首先下載 quartz-1.5.2.ziphttp://www.opensymphony.com/quartz/download.action解壓後把 quartz-all-1.5.2.jar 加入環境變數 CLASSPATH 裡.由於Quartz logging使用了Apache Commons logging.故需要同時下載 commons-logging-1.1.ziphttp://jakarta.apache.org/site/downloads/downloads_commons-logging.cgi解壓後把 </summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/opensymphony-quartzjava-cron-job.html' title='OPENSYMPHONY Quartz(java cron job)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115217168494246890/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115217168494246890&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217168494246890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217168494246890'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/opensymphony-quartzjava-cron-job.html' title='OPENSYMPHONY Quartz(java cron job)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115217172978668062</id><published>2006-07-06T15:41:00.000+08:00</published><updated>2006-07-13T15:20:58.560+08:00</updated><title type='text'>Subversion &amp; Subclipse 備忘記</title><summary type='text'>Subversion 項目的目標是取代現在開源社區流行使用的代碼版本控制系統 CVS,用戶介面類似 CVS, 並修正 CVS 大部份的缺點.尤其是對目錄, 複製, 更名 的等版本控制不足.以下是官方的 FAQ, 有更多 Subversion 的簡介：http://subversion.tigris.org/faq.html開始備忘記：這裡為求簡潔, 安裝在 windows 下, 在 linux 下配置亦是類似.下載 svn-1.3.2-setup.exehttp://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91下載 TortoiseSVN-1.3.5.6804-svn-1.3.2.msihttp://prdownloads.sourceforge.net/tortoisesvn/TortoiseSVN-</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/subversion-subclipse.html' title='Subversion &amp; Subclipse 備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115217172978668062/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115217172978668062&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217172978668062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217172978668062'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/subversion-subclipse.html' title='Subversion &amp; Subclipse 備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115217165030651922</id><published>2006-07-06T15:40:00.000+08:00</published><updated>2006-07-13T15:22:34.166+08:00</updated><title type='text'>Apache Commons(UploadFile)備忘記</title><summary type='text'>以前一向以 JspSmartUpload 或 Oreilly MultiPartRequest 上載文件到伺服器.今次使用 Apache Commons FileUpload .首先下載 commons-fileupload-1.1.1.ziphttp://jakarta.apache.org/site/downloads/downloads_commons-fileupload.cgi下載後將 commons-fileupload-1.1.1.jar 放進 Project_name/WEB-INF/lib 裡.下載 commons-io-1.2.zip ：http://jakarta.apache.org/site/downloads/downloads_commons-io.cgi如果沒有下載這個library,會出現下面這個Exception,這個花了我不了的時間找.</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/apache-commonsuploadfile.html' title='Apache Commons(UploadFile)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115217165030651922/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115217165030651922&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217165030651922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217165030651922'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/apache-commonsuploadfile.html' title='Apache Commons(UploadFile)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115217161695241526</id><published>2006-07-06T15:39:00.000+08:00</published><updated>2006-07-13T15:23:09.963+08:00</updated><title type='text'>iText(PDF)備忘記</title><summary type='text'>下載 itext-1.4.2.jar:http://prdownloads.sourceforge.net/itext/itext-1.4.2.jar這個工具真的很好用,當時使用的時候大概兩年前,現在回頭把它記錄下來.官方的教學文件很充足.而且編寫完成後，很容易就能將它從產生pdf的檔轉成html或rtf.這裡不打算將我當初寫的案例作為簡介，由於太多太大了.只把官方的其中一個例子作為簡介.拋專引玉.希望對我日後回憶及有意無意間觀看到的讀者有所幫助.但我記得中文的輸出還需要下載iTextAsian.jar (這個比較雖要注意)http://itextdocs.lowagie.com/examples/com/lowagie/examples/objects/tables/MyFirstTable.javapublic class MyFirstTable { public static </summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/itextpdf.html' title='iText(PDF)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115217161695241526/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115217161695241526&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217161695241526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217161695241526'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/itextpdf.html' title='iText(PDF)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115217156964030670</id><published>2006-07-06T15:38:00.000+08:00</published><updated>2006-07-13T15:23:50.173+08:00</updated><title type='text'>JDOM(generate xml)備忘記</title><summary type='text'>續上一編讀取Excel後,最後還需要將資料轉成為xml,發佈到其他地方或資料庫.下載jdom-1.0.ziphttp://www.jdom.org/dist/binary/解壓後將jdom.jar加入到classpath中.Account.javapublic class Account{   private String name;   private String password;   private String email;   public String getName(){      return this.name;   }   public void setName(String name){      this.name = name;   }   public String getPassword(){      return this.password;   }</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/jdomgenerate-xml.html' title='JDOM(generate xml)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115217156964030670/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115217156964030670&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217156964030670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217156964030670'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/jdomgenerate-xml.html' title='JDOM(generate xml)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115217147808435109</id><published>2006-07-06T15:37:00.000+08:00</published><updated>2006-07-13T15:24:29.590+08:00</updated><title type='text'>POI HSSF(Read Excel)備忘記</title><summary type='text'>由於最近工作需要讀取某些Excel,故將測試的過程簡單的記錄下來.下載poi-bin-3.0-alpha2-20060616.ziphttp://apache.mirrors.hoobly.com/jakarta/poi/dev/bin/解壓縮後把下面三個 library 加入 CLASSPATH 中：poi-3.0-alpha2-20060616.jarpoi-contrib-3.0-alpha2-20060616.jarpoi-scratchpad-3.0-alpha2-20060616.jaraccount.xls 內容:name    password       emailjoeyta   123456           joeyta@matrix.org.cnjane      123123           jane@</summary><link rel='related' href='http://joeyta.blogspot.com/2006/07/poi-hssfread-excel.html' title='POI HSSF(Read Excel)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115217147808435109/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115217147808435109&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217147808435109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115217147808435109'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/07/poi-hssfread-excel.html' title='POI HSSF(Read Excel)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115044969366507145</id><published>2006-06-16T17:21:00.000+08:00</published><updated>2006-07-13T15:26:00.056+08:00</updated><title type='text'>MyEclipse - JSF Spring Hibernate備忘記</title><summary type='text'>這次主要使用MyEclpse對Spring Hibernate JSF作簡單的備忘過程,首先自行安裝 jdk, tomcat, mysql, eclipse.http://java.sun.com/j2se/1.5.0/download.jsphttp://jakarta.apache.org/site/downloads/downloads_tomcat-5.htmlhttp://dev.mysql.com/downloads/mysql/5.0.htmlhttp://www.eclipse.org/downloads/在Mysql建立資料庫及表格:DB user: root   password: rootpasswordcreate database mysurvey;create table survey(id int(10) not null auto_increment,</summary><link rel='related' href='http://joeyta.blogspot.com/2006/06/myeclipse-jsf-spring-hibernate.html' title='MyEclipse - JSF Spring Hibernate備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115044969366507145/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115044969366507145&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044969366507145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044969366507145'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/06/myeclipse-jsf-spring-hibernate.html' title='MyEclipse - JSF Spring Hibernate備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115044965012394713</id><published>2006-06-16T17:20:00.000+08:00</published><updated>2006-07-13T15:28:03.043+08:00</updated><title type='text'>java security備忘記</title><summary type='text'>在SDI(http://www2.cpttm.org.mo/cyberlab/SDI/2005-001/index.html.en)的開發的過程中.我覺得比較值得記錄下來的是security的部份,這裡只記下generate keys及一些測試程式.而原本的PKCS12 storetype , 我把它改成 JKS.在security方面,Applet 及 Web communication的部份我覺得比較容易,就沒有記下來.開始備忘記：首先要安裝jdk.產生keystore:[joeyta]$keytool -genkey -alias joeyta -keystore joeyta.ks -keyalg RSA -sigalg SHA1withRSA( 在 java 裡, 預設的 keystore type 為 JKS )其他的看需要輸入,但下面這兩個password就要記住</summary><link rel='related' href='http://joeyta.blogspot.com/2006/06/java-security.html' title='java security備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115044965012394713/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115044965012394713&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044965012394713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044965012394713'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/06/java-security.html' title='java security備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115044960023722409</id><published>2006-06-16T17:18:00.000+08:00</published><updated>2006-07-13T15:26:52.583+08:00</updated><title type='text'>JDeveloper(Struts &amp; JSF)備忘記</title><summary type='text'>Oracle Jdeveloper 10g 是開發 J2EE Struts 或 JSF 的優良IDE,它以組件為概念, 就像開發桌面應用程式般簡單 ( 像使用Delphi開發 ),它內置了 embedded OC4J , 使開發及測試環境更加輕鬆.在開發階段不用煩惱怎樣配置容器, 使初學者更快進入狀況.Jdeveloper 10g的新能在下面連結裡官方有詳細說明：http://www.oracle.com/technology/products/jdev/collateral/1013newfeatures.htm#New%20look%20and%20feel開始備忘記：雖然整個備忘過程需要配合大量圖片說明, 但由於數量太多,故這裡只簡單地用文字表達, 以求備忘過程更簡潔.安裝JDK安裝 Oracle 10g requirement:Windows NT Server 4.0, </summary><link rel='related' href='http://joeyta.blogspot.com/2006/06/jdeveloperstruts-jsf.html' title='JDeveloper(Struts &amp; JSF)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115044960023722409/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115044960023722409&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044960023722409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044960023722409'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/06/jdeveloperstruts-jsf.html' title='JDeveloper(Struts &amp; JSF)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115044949586629002</id><published>2006-06-16T17:17:00.000+08:00</published><updated>2006-07-13T15:28:36.703+08:00</updated><title type='text'>Ruby on Rails備忘記</title><summary type='text'>Ruby on Rails 為開源Web框架,其主要目的是使開發過程更優美簡單, 更具效率,開發員能使用個人喜好的配置習慣, 使開發變得更漂亮簡單.Instant Rails 為一站式安裝 Rails 運行的解決方案, 包含 Ruby, Rails, Apache 及 MySQL,其預配置一切就緒, 不需要安裝, 只要簡單地解壓到目錄裡就能運行.開始備忘記：進入網站 http://instantrails.rubyforge.org/wiki/wiki.pl?Instant_Rails 選擇[Download] 下載 Instant Rails 1.3http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started 裡有安裝的詳細內容解壓至C:\InstantRails , 點選InstantRails.exe會自動檢查 </summary><link rel='related' href='http://joeyta.blogspot.com/2006/06/ruby-on-rails.html' title='Ruby on Rails備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115044949586629002/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115044949586629002&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044949586629002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044949586629002'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/06/ruby-on-rails.html' title='Ruby on Rails備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115044363745582618</id><published>2006-06-16T15:38:00.000+08:00</published><updated>2006-07-13T15:42:50.346+08:00</updated><title type='text'>AJAX(JSON)備忘記</title><summary type='text'>在上一編"Ajax備忘記"中,使用了Array及JAVA裡的getter,setter概念來存取property.這在管理上有點不方便,現在把它改成使用JSON來實作.下面主要包含3個文檔:news.xml // xml data filenews.js // logical filenews.html // configuration file&lt;!-----------news.xml--------------&gt;&lt;?xml version="1.0" ?&gt;&lt;ROWSET&gt;&lt;NEWS&gt;&lt;NEWS_ITEM num="1"&gt;&lt;ID&gt;TEST 1&lt;/ID&gt;&lt;TITLE&gt;TITLE TEST 1&lt;/TITLE&gt;&lt;CONTENT&gt;CONTENT TEST 1&lt;/CONTENT&gt;&lt;/NEWS_ITEM&gt;&lt;NEWS_ITEM num="2"&gt;&lt;ID&gt;TEST 2&lt;/ID&gt;&lt;TITLE&gt;TITLE </summary><link rel='related' href='http://joeyta.blogspot.com/2006/06/ajaxjson.html' title='AJAX(JSON)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115044363745582618/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115044363745582618&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044363745582618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044363745582618'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/06/ajaxjson.html' title='AJAX(JSON)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29796827.post-115044311039586304</id><published>2006-06-16T15:28:00.000+08:00</published><updated>2006-07-17T04:24:24.516+08:00</updated><title type='text'>AJAX(PROTOTYPE)備忘記</title><summary type='text'>由於公司網站瀏覽數量非常驚人, 更新資料亦非常頻繁.就形成前門火災, 後門進賊 的困景, 這雖然錢能解決以上問題, 但實在不是長期的辦法.雖然 flash 搭配 xml 是一個很好的解決方案, 但當頁面設計變更時,開發員往往需要花上很多時間處理 flash 裡 Layout 的重整, 那是件非常累人的事情.所以使用 Ajax 技術能有效解決以上問題.對於門戶網站的前門, 能減少不小頻寬, 這可節省不少金錢.對於後門, 能更快地更新到網站上, 尤其是對於實時性很注重的網站.話說回來, 在1年多前,一位同事在別的網站抄了別人的ajax代碼再更改,非常凌亂,實在是不好維護,而且不能處理 firefox, 後來我也鮮少去看.由於此原因, 故想自己從頭開始編寫一次, 並將整個過程記錄下來, 以供日後參考.編寫Ajax(Asyncronous Javascript and XML), 必需對</summary><link rel='related' href='http://joeyta.blogspot.com/2006/06/ajaxprototype.html' title='AJAX(PROTOTYPE)備忘記'/><link rel='replies' type='application/atom+xml' href='http://joeyta.blogspot.com/feeds/115044311039586304/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=29796827&amp;postID=115044311039586304&amp;isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044311039586304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29796827/posts/default/115044311039586304'/><link rel='alternate' type='text/html' href='http://joeyta.blogspot.com/2006/06/ajaxprototype.html' title='AJAX(PROTOTYPE)備忘記'/><author><name>joeyta</name><uri>http://www.blogger.com/profile/02277213087181303847</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
