<?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-7313728394348676131</id><updated>2011-12-24T22:02:07.971-08:00</updated><category term='web application'/><category term='java fx'/><category term='反圖靈測試'/><category term='OpenSSO'/><category term='bug'/><category term='dtd'/><category term='DB Viewer'/><category term='GoogleAppEngine'/><category term='HttpServletRequest'/><category term='populate  before calling'/><category term='AXIS2'/><category term='applet'/><category term='learn eclipse'/><category term='jdk1.6'/><category term='Test'/><category term='Https'/><category term='EJB'/><category term='auto submit'/><category term='VPN'/><category term='JU'/><category term='OWASP'/><category term='timer'/><category term='HSSFCellStyle'/><category term='portal'/><category term='email'/><category term='Hudson'/><category term='http header'/><category term='spam blog'/><category term='中文'/><category term='Apache'/><category term='持續整合'/><category term='亂碼'/><category term='Eclipse 3.3'/><category term='transform'/><category term='Java script'/><category term='GMail'/><category term='native2ascii'/><category term='tab'/><category term='jdk1.4'/><category term='java-gnome'/><category term='System'/><category term='jsf'/><category term='java 7'/><category term='java'/><category term='Java EE'/><category term='PDF'/><category term='schedule'/><category term='Patriarch'/><category term='not found'/><category term='css expression'/><category term='AdMob'/><category term='HI NET'/><category term='HtmlParser'/><category term='validationQuery'/><category term='雲端運算'/><category term='Mylar'/><category term='SimpleTagSupport'/><category term='CachedRowSet'/><category term='z-index'/><category term='xmlUnit'/><category term='jaxp'/><category term='modalDialog'/><category term='content-disposition'/><category term='was'/><category term='framework'/><category term='DateFormat'/><category term='ubuntu'/><category term='simpleCaptcha'/><category term='xsltc'/><category term='java web star'/><category term='BIRT'/><category term='mail'/><category term='Vista'/><category term='java one'/><category term='comment'/><category term='dom'/><category term='WTP'/><category term='POI'/><category term='cluster'/><category term='custom tag'/><category term='europa'/><category term='import'/><category term='Acrobat'/><category term='option'/><category term='paging'/><category term='Mock'/><category term='event'/><category term='tomcat'/><category term='jQuery UI'/><category term='JS'/><category term='URI'/><category term='tomcat6'/><category term='OC4J'/><category term='java calendar'/><category term='buffer'/><category term='classloader'/><category term='避免在JSP中處理二元串流'/><category term='excel'/><category term='response'/><category term='OGNL'/><category term='GCJ'/><category term='Java Script 經典封裝'/><category term='sax'/><category term='WST'/><category term='tomcat 6'/><category term='flex builder'/><category term='JSON'/><category term='lomboz'/><category term='列印'/><category term='HSSFCell'/><category term='JavaBean'/><category term='tag library'/><category term='jsp-config'/><category term='GlassFish'/><category term='jQuery Mobile'/><category term='Mylyn'/><category term='Thread Safe'/><category term='分頁'/><category term='web services'/><category term='Google'/><category term='JDBC'/><category term='properties'/><category term='AWS'/><category term='打印'/><category term='print'/><category term='sql'/><category term='container'/><category term='synchornized'/><category term='ANT'/><category term='HSSF'/><category term='index'/><category term='WEB-INF'/><category term='exception'/><category term='type mapping'/><category term='VPN同時上網'/><category term='fx'/><category term='equals'/><category term='ftp'/><category term='TabActivity'/><category term='java script 選單'/><category term='瀏覽器'/><category term='parseInt'/><category term='EasyMock'/><category term='attachment'/><category term='Google Data API'/><category term='Pivot'/><category term='quartz'/><category term='Java Tutorial'/><category term='encoding'/><category term='swing'/><category term='DB著魔錄'/><category term='javadoc'/><category term='Amazon'/><category term='clob'/><category term='javalobby'/><category term='printing'/><category term='struts2'/><category term='word'/><category term='hadoop'/><category term='EL function'/><category term='SUN Application Server'/><category term='stackoverflow'/><category term='firefox'/><category term='pool'/><category term='RAP'/><category term='liferay'/><category term='java script 菜單'/><category term='css'/><category term='facelet'/><category term='websphere'/><category term='JDK 7'/><category term='Apache DS'/><category term='serverdef'/><category term='IP'/><category term='servlet'/><category term='eclipse'/><category term='Resin'/><category term='色碼表'/><category term='barcode'/><category term='java EE 6'/><category term='xml'/><category term='IE7'/><category term='jQuery'/><category term='select'/><category term='XSLT'/><category term='MySQL'/><category term='Jakarta'/><category term='security'/><category term='AST'/><category term='jBPM'/><category term='CVS'/><category term='JSTL'/><category term='utf-8'/><category term='com'/><category term='註解'/><category term='ContextPath'/><category term='cloud'/><category term='xalan'/><category term='趨勢科技'/><category term='JACOB'/><category term='Filter'/><category term='global'/><category term='android'/><category term='struts'/><category term='UAC'/><category term='jpa'/><category term='bamboo'/><category term='ssl'/><category term='java doc'/><category term='Java Server Face'/><category term='euroua'/><category term='JavaMail'/><category term='TEI'/><category term='ORACLE'/><category term='getIndex'/><category term='datasource'/><category term='SilverStream'/><category term='server.xml'/><category term='saaj'/><category term='propertiesEditor'/><category term='javascript'/><category term='Paros'/><category term='connection'/><category term='cache'/><category term='xls'/><category term='window.open'/><category term='Calendar'/><category term='Date'/><category term='AJAX'/><category term='網際網路'/><category term='CI'/><category term='Log4j'/><category term='CellStyle'/><category term='GNOME'/><category term='GTK'/><category term='Directory Server'/><category term='jcs'/><category term='GSON'/><category term='RowSet'/><category term='JNDI'/><category term='onscroll'/><category term='TLD'/><category term='load balance'/><category term='Sprig'/><category term='browser'/><category term='Google Map'/><category term='Derby'/><category term='dbcp'/><category term='JUnit'/><category term='JST'/><category term='deploy'/><category term='linux'/><category term='debug'/><category term='hibernate'/><category term='EL'/><category term='eclpse JDK1.6 java6 bug lomboz'/><category term='office'/><category term='JTable'/><category term='EJB3'/><category term='Face'/><category term='stream'/><category term='HttpClent'/><category term='jsp'/><category term='YouTube'/><category term='book'/><category term='NoSQL'/><category term='Single Thread'/><category term='OnJava'/><category term='tcp'/><category term='getProperty'/><category term='Geocode'/><category term='DateFormatSymbols'/><category term='Sun'/><category term='captcha'/><category term='blogger'/><category term='timerTask'/><category term='Jenkins'/><category term='xml schema'/><category term='jboss'/><category term='雲端'/><category term='IE'/><category term='TPTP'/><category term='web.xml'/><category term='MS SQL SERVER 2005'/><category term='axis'/><category term='ChinShelf'/><category term='zip'/><title type='text'>My Java Note [我的爪哇筆記]</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default?start-index=101&amp;max-results=100'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>243</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5509387782970611571</id><published>2011-12-23T00:43:00.000-08:00</published><updated>2011-12-23T00:44:38.754-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Log4j'/><title type='text'>Log4j File Appender: TimeAndSizeRollingAppender</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://logging.apache.org/log4j/1.2/images/logo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://logging.apache.org/log4j/1.2/images/logo.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;Apache Log4j 內建提供的Rolling File Appender還不夠合用嗎?&lt;br /&gt;&lt;br /&gt;目前Log4j內建有:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;RollingFileApender (&amp;nbsp;&lt;a href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html"&gt;http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html&lt;/a&gt; )&lt;/li&gt;&lt;li&gt;DailyRollingFileApender (&amp;nbsp;&lt;a href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html"&gt;http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html&lt;/a&gt;&amp;nbsp;)&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Extra提供有:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;rolling.RollingFileAppender (&lt;a href="http://logging.apache.org/log4j/companions/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html"&gt;http://logging.apache.org/log4j/companions/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html&lt;/a&gt;&amp;nbsp;) [可配合&lt;a href="http://logging.apache.org/log4j/companions/extras/apidocs/org/apache/log4j/rolling/FixedWindowRollingPolicy.html" style="background-color: white;" title="class in org.apache.log4j.rolling"&gt;&lt;b&gt;FixedWindowRollingPolicy&lt;/b&gt;&lt;/a&gt;&amp;nbsp;或是&amp;nbsp;&lt;a href="http://logging.apache.org/log4j/companions/extras/apidocs/org/apache/log4j/rolling/TimeBasedRollingPolicy.html" style="background-color: white;" title="class in org.apache.log4j.rolling"&gt;&lt;b&gt;TimeBasedRollingPolicy&lt;/b&gt;&lt;/a&gt;&amp;nbsp;使用]&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;還不夠合用? &amp;nbsp;可以試試下面的TimeAndSizeRollingAppender : Time-and-Size Rolling, Scavenging Appender (&lt;a href="http://www.simonsite.org.uk/"&gt;http://www.simonsite.org.uk/&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;另外log4j.xml設定檔範例可見:&lt;br /&gt;&lt;a href="http://wiki.apache.org/logging-log4j/Log4jXmlFormat"&gt;http://wiki.apache.org/logging-log4j/Log4jXmlFormat&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5509387782970611571?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5509387782970611571/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5509387782970611571' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5509387782970611571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5509387782970611571'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/12/log4j-file-appender-timeandsizerollinga.html' title='Log4j File Appender: TimeAndSizeRollingAppender'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7161228764516303731</id><published>2011-11-14T06:40:00.001-08:00</published><updated>2011-11-14T06:51:53.688-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JU'/><category scheme='http://www.blogger.com/atom/ns#' term='xmlUnit'/><category scheme='http://www.blogger.com/atom/ns#' term='JUnit'/><title type='text'>XmlUnit</title><content type='html'>&lt;a href="http://xmlunit.sourceforge.net/xmlunit.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="96" src="http://xmlunit.sourceforge.net/xmlunit.png" width="320" /&gt;&lt;/a&gt;寫JUnit測試時，若想針對XML dom做測試、比較等處理，XmlUnit是很稱職的Library呀~&lt;br /&gt;只不過比較可惜的是, 現仍只支援JUnit1.3版~&lt;br /&gt;&lt;br /&gt;更多XmlUnit的相關資訊請參考: &amp;nbsp;&lt;a href="http://xmlunit.sourceforge.net/" target="_blank"&gt;http://xmlunit.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;另外xmlUnit還有for .NET版本喔....&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7161228764516303731?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7161228764516303731/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7161228764516303731' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7161228764516303731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7161228764516303731'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/11/xmlunit.html' title='XmlUnit'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-703701692924117183</id><published>2011-09-20T19:59:00.000-07:00</published><updated>2011-09-20T20:01:16.116-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC'/><category scheme='http://www.blogger.com/atom/ns#' term='RowSet'/><title type='text'>IBM developer works: Java 6 RowSet使用完全剖析</title><content type='html'>&lt;br /&gt;&lt;div class="separator" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"&gt;&lt;img border="0" height="200" src="http://www.celumobile.com/wp-content/uploads/java7.jpg" width="200" /&gt;&lt;/div&gt;&lt;br /&gt;請參見:&lt;br /&gt;&lt;a href="http://www.ibm.com/developerworks/cn/java/j-lo-java6rowset/index.html" target="_blank"&gt;http://www.ibm.com/developerworks/cn/java/j-lo-java6rowset/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-703701692924117183?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/703701692924117183/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=703701692924117183' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/703701692924117183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/703701692924117183'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/09/ibm-developer-works-java-6-rowset.html' title='IBM developer works: Java 6 RowSet使用完全剖析'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6339920751428228595</id><published>2011-09-02T10:25:00.000-07:00</published><updated>2011-09-02T10:26:25.944-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CI'/><category scheme='http://www.blogger.com/atom/ns#' term='bamboo'/><title type='text'>Bamboo CI Server介紹與展示影片</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://saucelabs.com/images/logos/bamboo_logo.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://saucelabs.com/images/logos/bamboo_logo.gif" /&gt;&lt;/a&gt;&lt;/div&gt;Bamboo CI Server介紹與展示影片&lt;br /&gt;&lt;br /&gt;請參見:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.atlassian.com/software/bamboo/demo.jsp" target="_blank"&gt;http://www.atlassian.com/software/bamboo/demo.jsp&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6339920751428228595?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6339920751428228595/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6339920751428228595' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6339920751428228595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6339920751428228595'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/09/bamboo-ci-server.html' title='Bamboo CI Server介紹與展示影片'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2382974671561490716</id><published>2011-08-21T18:30:00.000-07:00</published><updated>2011-08-21T18:30:21.303-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NoSQL'/><title type='text'>NoSQL職缺趨勢~</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://css.dzone.com/sites/all/themes/dzone/images/mh_dzone_logo.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://css.dzone.com/sites/all/themes/dzone/images/mh_dzone_logo.gif" /&gt;&lt;/a&gt;&lt;/div&gt;詳參見:&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Helvetica, Arial, sans-serif; font-size: 30px; font-weight: bold; line-height: 28px;"&gt;&lt;a href="http://css.dzone.com/news/nosql-job-trends%20?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29&amp;amp;utm_content=Google+Reader"&gt;NoSQL Job Trends – August 2011&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2382974671561490716?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2382974671561490716/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2382974671561490716' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2382974671561490716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2382974671561490716'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/nosql.html' title='NoSQL職缺趨勢~'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7233428271634360090</id><published>2011-08-12T08:45:00.000-07:00</published><updated>2011-08-12T08:45:54.448-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><category scheme='http://www.blogger.com/atom/ns#' term='AdMob'/><title type='text'>霸道~</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://zhtw.admob.com/img/ad_mob_logo_header.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="https://zhtw.admob.com/img/ad_mob_logo_header.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;今天心血來潮，想到好久沒登入AdMob，想說去看看有沒有人用我寫的Android軟體，展示率和點閱率不知道如何?&lt;br /&gt;&lt;br /&gt;沒想到一登入就看到這畫面:&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #fcfcfc; color: #a00a0a; font-family: tahoma, 'lucida grande', sans-serif; font-size: 12px; line-height: 18px;"&gt;您的帳戶因為無效活動或屢次違反政策，目前已經遭到停權。&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-RqHin1ucsaI/TkVISvNdTDI/AAAAAAAABi4/8zg2it_aIUU/s1600/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="167" src="http://1.bp.blogspot.com/-RqHin1ucsaI/TkVISvNdTDI/AAAAAAAABi4/8zg2it_aIUU/s400/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;說真的我也不是靠這賺錢(事實上要靠這個賺錢 先餓死吧)，寫Android程式到目前為止也是玩票性質，&amp;nbsp;但我的AdMob帳號被鎖了我竟然一點也不曉得，到現在才知道XD&lt;br /&gt;&lt;br /&gt;想了解到底我做了甚麼(是我嗎?)會被鎖?&lt;br /&gt;沒想到Google已經先聲明了「&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px;"&gt;由於我們必須保護專利偵測系統，因此無法提供這些帳戶活動的任何相關資訊給發佈者&lt;/span&gt;」.... &amp;nbsp;啥跟啥??&lt;br /&gt;&lt;br /&gt;說真的 &amp;nbsp;給人挺霸道的感覺~ &lt;br /&gt;申訴? &amp;nbsp;七刀 &amp;nbsp;我一點都不想再浪費時間在上面~ &amp;nbsp;我倒還寧願來這寫寫我的怨言~ &amp;nbsp;吐吐怨氣~&lt;br /&gt;&lt;br /&gt;我對Google印象不差~ &lt;br /&gt;但是就事論事~ &amp;nbsp; 如果想在Google身上鑽到一塊半毛，那就先體驗它的霸道吧~&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7233428271634360090?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7233428271634360090/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7233428271634360090' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7233428271634360090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7233428271634360090'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/blog-post.html' title='霸道~'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-RqHin1ucsaI/TkVISvNdTDI/AAAAAAAABi4/8zg2it_aIUU/s72-c/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1303537931052220634</id><published>2011-08-11T10:29:00.000-07:00</published><updated>2011-08-11T10:30:57.078-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>如何調整Android Tab元件的高度~</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;使用TabActivity或TabHost時，若想調整分頁(Tab標籤)高度時，可使用下列程式碼:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;//reduce tab height&lt;br /&gt;for(int i=0;i&amp;lt;tabHost.getTabWidget().getChildCount();i++){&lt;br /&gt;	        ((TextView)((RelativeLayout)tabHost.getTabWidget().getChildTabViewAt(i)).getChildAt(1)).setHeight(30);&lt;br /&gt;	        tabHost.getTabWidget().getChildAt(i).getLayoutParams().height = 40;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1303537931052220634?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1303537931052220634/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1303537931052220634' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1303537931052220634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1303537931052220634'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/android-tab.html' title='如何調整Android Tab元件的高度~'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7258487292223239162</id><published>2011-08-10T09:46:00.000-07:00</published><updated>2011-08-10T09:50:16.286-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CI'/><category scheme='http://www.blogger.com/atom/ns#' term='Jenkins'/><title type='text'>Jenkins CI 及 關於CI的兩篇文章</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://agentdero.cachefly.net/continuousblog/newlogo/headshot.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://agentdero.cachefly.net/continuousblog/newlogo/headshot.png" /&gt;&lt;/a&gt;&lt;/div&gt;最近CI真是夯~ 好多國內外文章都在討論CI~&lt;br /&gt;&lt;br /&gt;繼上篇「&lt;a href="http://myjavanote.blogspot.com/2011/08/continuous-integrationhudson.html" target="_blank"&gt;Continuous Integration與Hudson&lt;/a&gt;」一文~&lt;br /&gt;&lt;br /&gt;今天再推兩篇文章:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://java.dzone.com/news/how-get-started-ci-series?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29&amp;amp;utm_content=Google+Reader" target="_blank"&gt;How to get started with CI -serial&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://java.dzone.com/articles/seven-phases-introducing?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29&amp;amp;utm_content=Google+Reader" target="_blank"&gt;The Seven Phases of Introducing Continuous Integration into Your Organization&lt;/a&gt;&lt;br /&gt;此內所述文的七個階段也就是 &amp;nbsp;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;"&gt;&lt;a target="_blank" href="http://www.slideshare.net/javatwo2011/hudson-8759926"&gt;Java Two 2011&amp;nbsp;「使用Hudson打造你專屬軟體建構機器人」簡報&lt;/a&gt; 所提到的 導入CI 的七個等級&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 20px;"&gt;然而，還發現了一件事:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 20px;"&gt;原Hudson的建立者因為與Oracle內部的意見不一，所以另起爐灶建立了Hudson的分支 -- &lt;a href="http://jenkins-ci.org/" target="_blank"&gt;Jenkins CI 專案&lt;/a&gt;&amp;nbsp;(話說兩個專案的圖示都是以管家作為標誌, 一個白頭髮, 一個前額禿)~&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 20px;"&gt;選Hudson 還是選 Jenkins? &amp;nbsp;看看別人怎麼說吧: &amp;nbsp;&lt;a href="http://tedone.typepad.com/blog/2011/03/hudson-vs-jenkins-ci.html" target="_blank"&gt;Hudson vs Jenkins CI?&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7258487292223239162?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7258487292223239162/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7258487292223239162' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7258487292223239162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7258487292223239162'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/jenkins-ci-ci.html' title='Jenkins CI 及 關於CI的兩篇文章'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6528282230142293555</id><published>2011-08-10T07:39:00.001-07:00</published><updated>2011-08-10T07:40:38.421-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>如何設定Android TabHost元件的Tab文字顏色??</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;如何設定Android TabHost元件的Tab文字顏色??&lt;br /&gt;&lt;br /&gt;詳請參考:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/5155441/android-tab-text-color" target="_blank"&gt;http://stackoverflow.com/questions/5155441/android-tab-text-color&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6528282230142293555?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6528282230142293555/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6528282230142293555' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6528282230142293555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6528282230142293555'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/android-tabhosttab.html' title='如何設定Android TabHost元件的Tab文字顏色??'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1370226541750464</id><published>2011-08-06T11:55:00.001-07:00</published><updated>2011-08-10T07:41:23.583-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JDK 7'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu上安裝JDK7</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.celumobile.com/wp-content/uploads/java7.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://www.celumobile.com/wp-content/uploads/java7.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;請參見：&lt;br /&gt;&lt;a href="http://nikolavp.blogspot.com/2010/05/installing-jdk7-in-ubuntu.html" target="_blank"&gt;http://nikolavp.blogspot.com/2010/05/installing-jdk7-in-ubuntu.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1370226541750464?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1370226541750464/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1370226541750464' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1370226541750464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1370226541750464'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/ubuntujdk7.html' title='Ubuntu上安裝JDK7'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3043663111756326164</id><published>2011-08-05T09:43:00.000-07:00</published><updated>2011-08-05T09:43:09.147-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CI'/><category scheme='http://www.blogger.com/atom/ns#' term='Hudson'/><category scheme='http://www.blogger.com/atom/ns#' term='持續整合'/><title type='text'>Continuous Integration與Hudson</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://wiki.hudson-ci.org/download/attachments/39583745/global.logo?version=1&amp;amp;modificationDate=1269033984000" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://wiki.hudson-ci.org/download/attachments/39583745/global.logo?version=1&amp;amp;modificationDate=1269033984000" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;小弟不才，一直只知道埋頭寫程式便不去思索在軟體開發中其他重要的事情是甚麼，就像閉門造車一樣....&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;有幸在今年的JavaTwo 2011聽了&lt;a target="_blank"  href="http://gplus.to/maoyang"&gt;MaoYang&lt;/a&gt;的「使用Hudson打造你專屬軟體建構機器人」一課，雖然課程短短一小時，但讓我初步了解了持續整合(Continuous Integration;CI)的概念，與Hudson這個OpenSource的CI Server。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;關於CI的概念，可參閱:&lt;br /&gt;&lt;a target="_blank"  href="http://www.josephj.com/entry.php?id=251"&gt;http://www.josephj.com/entry.php?id=251&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Java Two 2011&amp;nbsp;「使用Hudson打造你專屬軟體建構機器人」簡報:&lt;br /&gt;&lt;a target="_blank" href="http://www.slideshare.net/javatwo2011/hudson-8759926"&gt;http://www.slideshare.net/javatwo2011/hudson-8759926&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Learn About Continuous Integration With Hudson &amp;nbsp;(另一份相當完整的課程影片及簡報; 英文)&lt;br /&gt;&lt;a  target="_blank" href="http://marakana.com/forums/java/general/79.html"&gt;http://marakana.com/forums/java/general/79.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Hudson 官網簡介:&lt;br /&gt;&lt;a target="_blank"  href="http://wiki.hudson-ci.org/display/HUDSON/Meet+Hudson"&gt;http://wiki.hudson-ci.org/display/HUDSON/Meet+Hudson&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3043663111756326164?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3043663111756326164/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3043663111756326164' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3043663111756326164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3043663111756326164'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/continuous-integrationhudson.html' title='Continuous Integration與Hudson'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8702247062437387706</id><published>2011-08-05T01:17:00.000-07:00</published><updated>2011-08-05T01:20:40.395-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mock'/><category scheme='http://www.blogger.com/atom/ns#' term='EasyMock'/><category scheme='http://www.blogger.com/atom/ns#' term='Test'/><title type='text'>EasyMock + JUnit4 做單元測試</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://easymock.org/img/easymock.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="37" src="http://easymock.org/img/easymock.gif" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;詳請參見良葛格的JUnit學習筆記:&lt;br /&gt;&lt;a target="_blank" href="http://caterpillar.onlyfun.net/Gossip/JUnit/EasyMock.html"&gt;http://caterpillar.onlyfun.net/Gossip/JUnit/EasyMock.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;更詳細的使用說明可參考官網:&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://easymock.org/EasyMock3_0_Documentation.html"&gt;http://easymock.org/EasyMock3_0_Documentation.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8702247062437387706?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8702247062437387706/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8702247062437387706' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8702247062437387706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8702247062437387706'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/08/easymock-junit4.html' title='EasyMock + JUnit4 做單元測試'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7987230979379975779</id><published>2011-07-31T09:59:00.000-07:00</published><updated>2011-07-31T10:00:45.261-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tab'/><category scheme='http://www.blogger.com/atom/ns#' term='TabActivity'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android: 如何在TabActivity裡面開啟Activity?</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;在設計Android程式時，我們使用了(繼承)TabActivity，以實現有分頁的畫面。&lt;br /&gt;今天我們在分頁裡面有一個ListView列表元件，我們希望點選了某個ListItem時會出現另個Activity畫面(並且是在該Tab中)，接著我們按下手機上的返回按鈕時，畫面又會回到剛剛的ListView列表的畫面，這該如何時做呢？&lt;br /&gt;&lt;br /&gt;這裡有一個很詳盡的範例可參考：&lt;br /&gt;&lt;a href="http://androidgenuine.com/?tag=open-intent-in-tabactivity-android" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;How you can open Activities in tabActivity(Nested activities)&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7987230979379975779?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7987230979379975779/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7987230979379975779' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7987230979379975779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7987230979379975779'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/07/android-tabactivityactivity.html' title='Android: 如何在TabActivity裡面開啟Activity?'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6176424619119516813</id><published>2011-07-12T00:27:00.000-07:00</published><updated>2011-07-12T00:27:15.736-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><category scheme='http://www.blogger.com/atom/ns#' term='Paros'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>以 Paros 掃描 Web 程式漏洞</title><content type='html'>&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, sans-serif; font-size: 16px; line-height: 25px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h1 class="rt-article-title" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.openfoundry.org/templates/rt_quantive_j15/images/body/light/modules/module-title-bg.png); background-origin: initial; background-position: 50% 100%; background-repeat: repeat no-repeat; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #1e1e1e; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 33px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 30px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; visibility: visible; width: auto;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;以&lt;/span&gt;&amp;nbsp;Paros 掃描 Web 程式漏洞 (OpenFoundry)&lt;/h1&gt;&lt;div&gt;詳見:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.openfoundry.org/tw/tech-column/8385--paros-web-" target="_blank"&gt;http://www.openfoundry.org/tw/tech-column/8385--paros-web-&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6176424619119516813?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6176424619119516813/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6176424619119516813' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6176424619119516813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6176424619119516813'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/07/paros-web.html' title='以 Paros 掃描 Web 程式漏洞'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-423331630027623931</id><published>2011-07-11T23:24:00.000-07:00</published><updated>2011-07-11T23:25:12.881-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java 7'/><title type='text'>Java 7 語言新功能</title><content type='html'>&lt;div class="separator" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"&gt;&lt;img border="0" height="200" src="http://www.celumobile.com/wp-content/uploads/java7.jpg" width="200" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;詳見:&lt;br /&gt;&lt;a href="http://java.dzone.com/articles/new-java-7-language-features?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29&amp;amp;utm_content=Google+Reader" target="_blank"&gt;http://java.dzone.com/articles/new-java-7-language-features&lt;br /&gt;?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29&amp;amp;utm_content=Google+Reader&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-423331630027623931?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/423331630027623931/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=423331630027623931' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/423331630027623931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/423331630027623931'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/07/java-7.html' title='Java 7 語言新功能'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3849536551616393437</id><published>2011-06-10T02:15:00.000-07:00</published><updated>2011-06-10T02:17:17.992-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='web services'/><category scheme='http://www.blogger.com/atom/ns#' term='AXIS2'/><title type='text'>使用Eclipse配合AXIS2來建立WebService (Service及Client)</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: right;"&gt;&lt;a target="_blank" href="http://axis.apache.org/axis2/java/core/images/axis.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="113" src="http://axis.apache.org/axis2/java/core/images/axis.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;用Eclipse來建立WebService真的是很方便又簡單，下列這篇文章介紹了如何使用Eclipse配合AXIS2來建立WebService (Service及Client)：&lt;br /&gt;&lt;a  target="_blank" href="http://hans0713.blogspot.com/2008/07/eclipsewebservice.html"&gt;http://hans0713.blogspot.com/2008/07/eclipsewebservice.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;建立完WebService後，若需要整合AXIS2與Spring Framework，可參考官方文件：&lt;br /&gt;&lt;a  target="_blank" href="http://axis.apache.org/axis2/java/core/docs/spring.html"&gt;http://axis.apache.org/axis2/java/core/docs/spring.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3849536551616393437?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3849536551616393437/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3849536551616393437' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3849536551616393437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3849536551616393437'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/06/eclipseaxis2webservice-serviceclient.html' title='使用Eclipse配合AXIS2來建立WebService (Service及Client)'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4607457491770480519</id><published>2011-05-19T01:43:00.000-07:00</published><updated>2011-05-19T01:57:16.335-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='struts2'/><title type='text'>Struts2 中設定indexed properties內容(JSP 到 Action屬性)</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://struts.apache.org/2.2.1/images/struts2.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="67" src="http://struts.apache.org/2.2.1/images/struts2.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;lt;s:textfield name="&lt;b style="background-color: #ffd966;"&gt;person[%{#status.index}].name&lt;/b&gt;"&amp;gt;&amp;lt;/s:textfield&amp;gt;&lt;br /&gt;詳見:&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/2032746/struts-2-problem-setting-back-indexed-properties-from-jsp-to-action-class" target="_blank"&gt;http://stackoverflow.com/questions/2032746/struts-2-problem-setting-back-indexed-properties-from-jsp-to-&lt;/a&gt;&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/2032746/struts-2-problem-setting-back-indexed-properties-from-jsp-to-action-class"&gt;action-class&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4607457491770480519?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4607457491770480519/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4607457491770480519' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4607457491770480519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4607457491770480519'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/05/struts2-indexed-propertiesjsp-action.html' title='Struts2 中設定indexed properties內容(JSP 到 Action屬性)'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5616287911791527977</id><published>2011-05-17T02:38:00.000-07:00</published><updated>2011-05-17T02:39:26.574-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='struts2'/><category scheme='http://www.blogger.com/atom/ns#' term='OGNL'/><title type='text'>Struts 2 tags OGNL裡的單字元字串</title><content type='html'>Struts2 的OGNL真的是滿難用的東西,&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://struts.apache.org/2.2.1/images/struts2.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="67" src="http://struts.apache.org/2.2.1/images/struts2.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;但是用了Struts2的tag就不得不碰,&lt;br /&gt;在使用OGNL時若需比較單一字元內容的字串時,&lt;br /&gt;請參考:&lt;br /&gt;&lt;a target="_blank" href="http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html"&gt;http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5616287911791527977?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5616287911791527977/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5616287911791527977' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5616287911791527977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5616287911791527977'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/05/struts-2-tags-ognl.html' title='Struts 2 tags OGNL裡的單字元字串'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-9065343503363805326</id><published>2011-04-25T05:12:00.000-07:00</published><updated>2011-04-25T05:13:18.650-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery Mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery Mobile的history Stack與Login</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.webappers.com/img/2010/10/jquery-mobile.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://www.webappers.com/img/2010/10/jquery-mobile.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;故事是這樣的,在使用jQueryMobile時進入第一頁點連結進入其他頁時,&lt;br /&gt;畫面上的Header左上角就會跑出'Back'回上頁的按鈕,這算是貼心的設計。&lt;br /&gt;&lt;br /&gt;但是我現在在進入第一頁前多了一個Login頁面,&lt;br /&gt;login成功後便會導向第一頁,但在此時進入第一頁,我不希望左上角有'back'按鈕&lt;br /&gt;讓使用者按下後又跑回登入頁。這我該如何解決呢?&lt;br /&gt;&lt;br /&gt;很簡單的我只要在登入頁的&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;form&gt;&lt;b&gt;多加一個data-ajax="false"屬性&lt;/b&gt;,就OK拉~&lt;/form&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-9065343503363805326?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/9065343503363805326/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=9065343503363805326' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/9065343503363805326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/9065343503363805326'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/04/jquery-mobilehistorylogin.html' title='jQuery Mobile的history Stack與Login'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5346171800909411903</id><published>2011-04-20T01:40:00.000-07:00</published><updated>2011-04-20T01:40:15.302-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery Mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery Mobile</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.webappers.com/img/2010/10/jquery-mobile.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://www.webappers.com/img/2010/10/jquery-mobile.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;jQuery Mobile是一組針對觸控裝置(智慧型手機,PAD)的jQuery 外掛,詳細介紹請見:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.cc.ntu.edu.tw/chinese/epaper/0016/20110320_1609.html" target="_blank"&gt;跨平台手機服務開發 jQuery Mobile&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://jquerymobile.com/" target="_blank"&gt;jQuery Mobile&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5346171800909411903?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5346171800909411903/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5346171800909411903' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5346171800909411903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5346171800909411903'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/04/jquery-mobile.html' title='jQuery Mobile'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1068680190965673416</id><published>2011-04-19T22:54:00.001-07:00</published><updated>2011-04-19T22:55:25.727-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='struts2'/><title type='text'>Apache Struts2 筆記簡報</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://struts.apache.org/2.2.1/images/struts2.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="67" src="http://struts.apache.org/2.2.1/images/struts2.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;iframe frameborder="0" height="342" src="https://docs.google.com/present/embed?id=dgj2zz2n_634fbnrmwgw" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1068680190965673416?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1068680190965673416/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1068680190965673416' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1068680190965673416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1068680190965673416'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/04/apache-struts2.html' title='Apache Struts2 筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2326452751141418355</id><published>2011-04-13T05:46:00.000-07:00</published><updated>2011-04-13T05:46:41.929-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stackoverflow'/><category scheme='http://www.blogger.com/atom/ns#' term='struts2'/><title type='text'>Struts2在JSP中使用&lt;s:iterator&gt;迭代Map物件</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://struts.apache.org/2.2.1/images/struts2.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="67" src="http://struts.apache.org/2.2.1/images/struts2.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;詳見:&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/4433357/iterate-over-a-list-of-maps-using-siterator"&gt;http://stackoverflow.com/questions/4433357/iterate-over-a-list-of-maps-using-siterator&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2326452751141418355?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2326452751141418355/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2326452751141418355' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2326452751141418355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2326452751141418355'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/04/struts2jsp-map.html' title='Struts2在JSP中使用&amp;lt;s:iterator&amp;gt;迭代Map物件'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3238025782039387689</id><published>2011-03-03T23:38:00.000-08:00</published><updated>2011-03-03T23:40:19.205-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android上取得手機上設定的Google帳號</title><content type='html'>詳見：&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://abgne.tw/android/android-code-snippets/android-get-account-info.html"&gt;http://abgne.tw/android/android-code-snippets/android-get-account-info.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://developer.android.com/reference/android/accounts/AccountManager.html"&gt;http://developer.android.com/reference/android/accounts/AccountManager.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3238025782039387689?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3238025782039387689/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3238025782039387689' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3238025782039387689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3238025782039387689'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/03/androidgoogle.html' title='Android上取得手機上設定的Google帳號'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2683862320022299351</id><published>2011-02-25T00:38:00.000-08:00</published><updated>2011-02-25T00:41:21.900-08:00</updated><title type='text'>Google App Engine上使用Commons Upload實做檔案上傳</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://commons.apache.org/images/logo.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" target="_blank"&gt;&lt;img border="0" height="56" src="http://commons.apache.org/images/logo.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Google App Engine上使用Commons Upload實做檔案上傳&lt;br /&gt;請參考：&lt;br /&gt;&lt;a href="http://shogi-software.blogspot.com/2009/04/google-app-engine-and-file-upload.html" target="_blank"&gt;http://shogi-software.blogspot.com/2009/04/google-app-engine-and-file-upload.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2683862320022299351?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2683862320022299351/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2683862320022299351' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2683862320022299351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2683862320022299351'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/google-app-enginecommons-upload.html' title='Google App Engine上使用Commons Upload實做檔案上傳'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-619694060543820613</id><published>2011-02-24T08:07:00.000-08:00</published><updated>2011-02-24T08:15:38.741-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Map'/><category scheme='http://www.blogger.com/atom/ns#' term='Geocode'/><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><title type='text'>GAE與Google Map Geocoding API 每日2500限制</title><content type='html'>&lt;table&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td&gt;&lt;br /&gt;&lt;img border="0" height="164" src="http://code.google.com/intl/zh-TW/apis/maps/images/thumbnail_web_services.jpg" width="200" /&gt;&lt;/td&gt; &lt;td&gt;&lt;br /&gt;&lt;img border="0" height="150" src="http://www.gstatic.com/codesite/ph/images/search-48.gif" width="150" /&gt;&lt;/td&gt; &lt;td&gt;&lt;br /&gt;&lt;img border="0" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" /&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Google Map地理編碼API將一堆地址轉換成可在地圖上顯示的經緯度，程式都寫好了，沒想到在測試時才發生了QUERY_OVER_LIMIT的錯誤，回頭仔細看了下Google Map地理編碼API的文件該API有每日只能要求2500個地理位置的限制(參考Geocoding Strategies)，更糟糕的是他還是IP-based的限制，也就是說在GAE這種共用基礎建設的平台上，由於IP也是共用的所以你可能連2500個都得不到(最壞的狀況是額度已經被同IP的其他人的程式用光了囧)，沒辦法，畢竟是免費的，雖然說要錢的Google Maps API Premier 使用者每天最多可查詢 100,000 個要求，但我的用量不大也沒經費可拿來花在Premier上，只能想想其他辦法囉～&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-619694060543820613?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/619694060543820613/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=619694060543820613' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/619694060543820613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/619694060543820613'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/gaegoogle-map-geocoding-api-2500.html' title='GAE與Google Map Geocoding API 每日2500限制'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8518262684784801024</id><published>2011-02-22T19:34:00.000-08:00</published><updated>2011-02-24T08:16:49.273-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSON'/><category scheme='http://www.blogger.com/atom/ns#' term='GSON'/><title type='text'>JSON與JAVA物件的轉換- GSON</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.gstatic.com/codesite/ph/images/search-48.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" target="_blank"&gt;&lt;img border="0" height="150" src="http://www.gstatic.com/codesite/ph/images/search-48.gif" width="150" /&gt;&lt;/a&gt;&lt;/div&gt;GSON是一套專司JSON與JAVA物件的轉換的Java library,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;關於JSON的簡介:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;a href="http://myjavanote.blogspot.com/2010/06/json.html" target="_blank"&gt;http://myjavanote.blogspot.com/2010/06/json.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;關於GSON的使用請參考:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;a href="http://nadacode.com/2010/06/30/using-json-in-your-google-app-engine-java-app/" target="_blank"&gt;http://nadacode.com/2010/06/30/using-json-in-your-google-app-engine-java-app/&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;a href="http://sites.google.com/site/gson/gson-user-guide" target="_blank"&gt;http://sites.google.com/site/gson/gson-user-guide&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;a href="http://code.google.com/p/google-gson/" target="_blank"&gt;http://code.google.com/p/google-gson/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8518262684784801024?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8518262684784801024/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8518262684784801024' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8518262684784801024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8518262684784801024'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/jsonjava-gson.html' title='JSON與JAVA物件的轉換- GSON'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1372563869709159181</id><published>2011-02-21T08:33:00.000-08:00</published><updated>2011-02-21T08:34:14.281-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>關於Android裡的Handler類別的使用</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;簡言之,可以把Handler看成是 非GUI thread 與 Activity 之間的橋樑...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;實際範例及解說可參考此篇：&lt;br /&gt;&lt;br /&gt;&lt;h2 class="storytitle" id="android_當透過非gui_thread更新畫面時" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: initial; background-origin: initial; background-position: 0px 0.25em; color: #940f04; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, sans-serif; font-size: 16px; font-weight: bold; font: normal normal normal 95%/normal Georgia, Times, serif; line-height: 1.4em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0.25em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;a href="http://www.javaworld.com.tw/roller/koji/entry/android_%E7%95%B6%E9%80%8F%E9%81%8E%E9%9D%9Egui_thread%E6%9B%B4%E6%96%B0%E7%95%AB%E9%9D%A2%E6%99%82" style="color: #940f04; text-decoration: none;" target="_blank"&gt;[Android]當透過非GUI Thread更新畫面時&lt;/a&gt;&lt;/h2&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1372563869709159181?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1372563869709159181/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1372563869709159181' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1372563869709159181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1372563869709159181'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/androidhandler.html' title='關於Android裡的Handler類別的使用'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4880900172337824162</id><published>2011-02-20T23:01:00.000-08:00</published><updated>2011-02-20T23:05:31.556-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>台彩最新獎號小工具 發佈 (免費)</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://sites.google.com/site/dolphsworkshopdolphgongfang/_/rsrc/1298260028441/gong-fang-ruan-ti-ji/android-ruan-ti/tai-cai-zui-xin-jiang-haowidget/icon512_512.png?height=200&amp;amp;width=200" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="https://sites.google.com/site/dolphsworkshopdolphgongfang/_/rsrc/1298260028441/gong-fang-ruan-ti-ji/android-ruan-ti/tai-cai-zui-xin-jiang-haowidget/icon512_512.png?height=200&amp;amp;width=200" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;終於這幾天將Desire HD入手了,&lt;br /&gt;稍作實機測試後,把之前花了點時間寫的『台彩最新獎號小工具』發布到Android Market上了。&lt;br /&gt;『台彩最新獎號小工具』以小工具(Widget)形式讓您可擺放桌面上，隨時得知最新獎號，另也可查詢顯示上期、上上期之獎號。另按下開獎獎號文字可顯示該期更詳細資訊。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;詳細介紹頁面如下：&lt;br /&gt;&lt;a target="_blank"  href="https://sites.google.com/site/dolphsworkshopdolphgongfang/gong-fang-ruan-ti-ji/android-ruan-ti/tai-cai-zui-xin-jiang-haowidget"&gt;https://sites.google.com/site/dolphsworkshopdolphgongfang/gong-fang-ruan-ti-ji/android-ruan-ti/tai-cai-zui-xin-jiang-haowidget&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;或直接前往Market頁面下載︰&lt;br /&gt;&lt;a target="_blank" href="https://market.android.com/details?id=idv.dolph.lottoappwidget"&gt;https://market.android.com/details?id=idv.dolph.lottoappwidget&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a target="_blank" href="https://ssl.gstatic.com/android/market/idv.dolph.lottoappwidget/ss-0-320-480-160-0-f99848f86a1568a7abe265199adb31591cff32a7" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://ssl.gstatic.com/android/market/idv.dolph.lottoappwidget/ss-0-320-480-160-0-f99848f86a1568a7abe265199adb31591cff32a7" width="213" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4880900172337824162?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4880900172337824162/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4880900172337824162' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4880900172337824162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4880900172337824162'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/blog-post.html' title='台彩最新獎號小工具 發佈 (免費)'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-276732724651248269</id><published>2011-02-15T23:47:00.000-08:00</published><updated>2011-02-15T23:49:34.939-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android PendingIntent中放置Extra值問題</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;.....(略)&lt;br /&gt;&amp;nbsp;Intent it= &amp;nbsp;new Intent(this , MyActivity.class);&lt;br /&gt;&amp;nbsp;it.putExtra("myFlag", dynamicFlag);&lt;br /&gt;&lt;br /&gt;PendingIntent pit= PendingIntent.getActivity(this, 0, it, 0);&lt;br /&gt;&amp;nbsp;remoteViews.setOnClickPendingIntent(R.id.btnMyButton, pit);&lt;br /&gt;....(略)&lt;br /&gt;&lt;br /&gt;上列是我在寫AppWidget時的程式片段，這段程式主要是要在App Widget上的按鈕按下時,開啟某Actitity(並傳遞myFlag extra值給該Activity)以顯示所需資訊，但當我在MyActivity取得myFlag值時卻一直都是0,百思不解，後來修改程式，將PendingIntent.getActitity的最後個參數換成:&lt;br /&gt;PendingIntent pit= PendingIntent.getActivity(this, 0, it,&amp;nbsp;PendingIntent.FLAG_UPDATE_CURRENT);後竟然就正常了～&lt;br /&gt;&lt;br /&gt;關於該參數該使用那個FLAG請參考：&lt;br /&gt;&lt;a href="http://developer.android.com/reference/android/app/PendingIntent.html#getActivity(android.content.Context, int, android.content.Intent, int)"&gt;http://developer.android.com/reference/android/app/PendingIntent.html#getActivity(android.content.Context, int, android.content.Intent, int)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/4472447/confusing-behavior-when-starting-new-activity-with-pendingintent/5013713#5013713"&gt;http://stackoverflow.com/questions/4472447/confusing-behavior-when-starting-new-activity-with-pendingintent/5013713#5013713&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-276732724651248269?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/276732724651248269/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=276732724651248269' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/276732724651248269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/276732724651248269'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/android-pendingintentextra.html' title='Android PendingIntent中放置Extra值問題'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6640447738840895204</id><published>2011-02-11T04:30:00.000-08:00</published><updated>2011-02-11T04:32:20.398-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse 3.6.1的儲存動作(Save Actions)功能</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;所謂的 &amp;nbsp;儲存動作(Save Actions)功能 ,就是在儲存檔案的時候自動的作些附加的處理,&lt;br /&gt;詳見:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://java.dzone.com/tips/eclipse-save-actions?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)" target="_blank"&gt;http://java.dzone.com/tips/eclipse-save-actions?&lt;br /&gt;utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6640447738840895204?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6640447738840895204/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6640447738840895204' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6640447738840895204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6640447738840895204'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/eclipse-361save-actions.html' title='Eclipse 3.6.1的儲存動作(Save Actions)功能'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1623991749028436062</id><published>2011-02-10T22:43:00.000-08:00</published><updated>2011-02-10T22:44:52.157-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>關於 動態Android App Widget大小 的討論 與 一個範例</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;關於 動態Android App Widget大小 的討論：&lt;br /&gt;&lt;a href="http://groups.google.com/group/android-developers/browse_thread/thread/17d79c52a1e4f83d?pli=1" target="_blank"&gt;http://groups.google.com/group/&lt;br /&gt;android-developers/browse_thread/&lt;br /&gt;thread/17d79c52a1e4f83d?pli=1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;App Widget範例 Android-SKY天氣預報widget:&lt;br /&gt;&lt;a href="http://code.google.com/p/android-sky/" target="_blank"&gt;http://code.google.com/p/android-sky/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jsharkey.org/blog/2009/04/24/forecast-widget-for-android-15-with-source/" target="_blank"&gt;http://jsharkey.org/blog/2009/04/24/forecast-widget-for-android-15-with-source/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1623991749028436062?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1623991749028436062/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1623991749028436062' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1623991749028436062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1623991749028436062'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/02/android-app-widget.html' title='關於 動態Android App Widget大小 的討論 與 一個範例'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6009616540553763498</id><published>2011-01-28T23:22:00.000-08:00</published><updated>2011-01-28T23:24:22.496-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android App Widget偵測螢幕方向變換以作相對應處理</title><content type='html'>&lt;div class="separator" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/div&gt;&lt;br /&gt;Android App Widget偵測螢幕方向變換&lt;br /&gt;以作相對應處理&lt;br /&gt;&lt;br /&gt;程式範例請參閱:&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/2610536/android-how-to-get-a-widget-to-recognize-when-the-phones-orientation-has-change" target="_blank"&gt;http://stackoverflow.com/questions/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/2610536/android-how-to-get-a-widget-to-recognize-when-the-phones-orientation-has-change" target="_blank"&gt;2610536/android-how-to-get-a-&lt;/a&gt;&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/2610536/android-how-to-get-a-widget-to-recognize-when-the-phones-orientation-has-change" target="_blank"&gt;widget-to-recognize-when-the-&lt;/a&gt;&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/2610536/android-how-to-get-a-widget-to-recognize-when-the-phones-orientation-has-change" target="_blank"&gt;phones-orientation-has-change&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6009616540553763498?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6009616540553763498/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6009616540553763498' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6009616540553763498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6009616540553763498'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/01/android-app-widget.html' title='Android App Widget偵測螢幕方向變換以作相對應處理'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6734203499722367735</id><published>2011-01-21T02:21:00.000-08:00</published><updated>2011-03-01T00:00:14.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Data API'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android與Google Spreadsheet Data API</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://t1.gstatic.com/images?q=tbn:ANd9GcTYb9DUd-6wnb-GghF0Q5ATkwWpyyjmmDy8y5ENn3F01OuLDaCG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;/a&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href="http://t1.gstatic.com/images?q=tbn:ANd9GcTYb9DUd-6wnb-GghF0Q5ATkwWpyyjmmDy8y5ENn3F01OuLDaCG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://t1.gstatic.com/images?q=tbn:ANd9GcTYb9DUd-6wnb-GghF0Q5ATkwWpyyjmmDy8y5ENn3F01OuLDaCG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;今天在Android的專案中使用Google官方下載的Spreadsheet Data API jar檔,&lt;br /&gt;寫了程式要從Google試算表擷取資料，沒寫到在模擬器執行時卻發生了錯誤:&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: arial, sans-serif; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: arial, sans-serif; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;ERROR/AndroidRuntime(3522): *java.lang.VerifyError:&amp;nbsp;&amp;nbsp;com.google.gdata.client.Service*&lt;/div&gt;&lt;div style="font-family: arial, sans-serif; font-size: 12px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: arial, sans-serif; font-size: 12px;"&gt;&lt;br /&gt;&lt;/div&gt;看來Google官方的GData API java client library似乎不能在Android上正常使用，&lt;br /&gt;我寫了一個下午的程式沒想到在執行時才知道，真是浪費我的生命呀～&lt;br /&gt;&lt;br /&gt;找了資料似乎一直沒看到有人提到在Android中存取Google Spreadsheet的java library,&lt;br /&gt;在努力不懈找了許久發現了這篇網誌：&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3 class="post-title entry-title" style="color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font: normal normal normal 30px/normal Georgia, Utopia, 'Palatino Linotype', Palatino, serif; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; position: relative;"&gt;&lt;a href="http://prasanta-paul.blogspot.com/2010/12/google-spreadsheet-library-for-android.html" style="color: #ff3300;" target="_blank"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Google SpreadSheet Library for Android&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;網誌作者提到說自己開了個專案，主要就是開發一個能在Android上存取Google Spreadsheet的library，該專案已經hosting在Google code了:&lt;br /&gt;&lt;a href="http://code.google.com/p/google-spreadsheet-lib-android/" target="_blank"&gt;http://code.google.com/p/google-spreadsheet-lib-android/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;找時間在試試看了，先感謝這位印度的Prasanta Paul囉～&lt;br /&gt;&lt;br /&gt;另外,Google Spreadsheet列數、欄數、儲存格數限制請參考:&lt;br /&gt;&lt;a target="_blank" href="http://www.google.com/support/forum/p/Google%20Docs/thread?tid=6248d49306db8a85&amp;amp;hl=en"&gt;http://www.google.com/support/forum/p/Google%20Docs/thread?tid=6248d49306db8a85&amp;amp;hl=en&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6734203499722367735?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6734203499722367735/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6734203499722367735' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6734203499722367735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6734203499722367735'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/01/androidgoogle-spreadsheet-data-api.html' title='Android與Google Spreadsheet Data API'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8222403027361654813</id><published>2011-01-20T08:25:00.001-08:00</published><updated>2011-01-20T08:26:11.046-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Proguard.cfg(the file can't find)</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://itddcutw.files.wordpress.com/2009/12/android_vector.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;今天在Eclipse開新的Android專案時發生了&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: red;"&gt;&lt;b&gt;Proguard.cfg(the file can't find)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;錯誤,&amp;nbsp;解決方法請參照：&lt;br /&gt;&lt;a href="http://blog.csdn.net/Baiduluckyboy/archive/2010/12/22/6091677.aspx" target="_blank"&gt;http://blog.csdn.net/Baiduluckyboy/archive/2010/12/22/6091677.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8222403027361654813?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8222403027361654813/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8222403027361654813' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8222403027361654813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8222403027361654813'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/01/proguardcfgthe-file-cant-find.html' title='Proguard.cfg(the file can&apos;t find)'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-925686587115332237</id><published>2011-01-18T07:15:00.000-08:00</published><updated>2011-01-18T07:17:38.228-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jpa'/><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><title type='text'>GAE/j 上實做分頁</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="109" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" width="142" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;撈取大量資料時,使用分頁的方式避免效能問題是常見的方式...&lt;br /&gt;&lt;br /&gt;但在GAE上的data store畢竟不是RDBMS,不是直接使用JPA 或JDO api就可以無痛使用～&lt;br /&gt;&lt;br /&gt;目前在網路上找到的相關網頁如下：&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;JPA&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://groups.google.com/group/google-appengine-java/browse_thread/thread/5223215ff24c3b3e/d22297d1d76a9c8b?pli=1" target="_blank"&gt;http://groups.google.com/group/google-appengine-java/browse_thread/thread/5223215ff24c3b3e/d22297d1d76a9c8b?pli=1&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/datanucleus-appengine/source/browse/trunk/src/org/datanucleus/store/appengine/query/JPACursorHelper.java" target="_blank"&gt;http://code.google.com/p/datanucleus-appengine/source/browse/trunk/src/org/datanucleus/store/appengine/query/JPACursorHelper.java&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://blog.vivavivu.com/2010/11/gae-full-text-search-with-jpa.html" target="_blank"&gt;http://blog.vivavivu.com/2010/11/gae-full-text-search-with-jpa.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;JDO&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://doganberktas.com/2010/08/12/implementing-paging-on-google-app-engine-java-gaej-and-gwt-the-query-cursor-way/" target="_blank"&gt;http://doganberktas.com/2010/08/12/implementing-paging-on-google-app-engine-java-gaej-and-gwt-the-query-cursor-way/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;先記下來，有空再來實做看看是否OK，再和大家分想囉～&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-925686587115332237?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/925686587115332237/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=925686587115332237' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/925686587115332237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/925686587115332237'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/01/gaej.html' title='GAE/j 上實做分頁'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3068918756723174009</id><published>2011-01-18T00:04:00.001-08:00</published><updated>2011-01-18T00:15:24.054-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery UI'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery UI 筆記簡報</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://static.jquery.com/ui/images/logo.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="55" src="http://static.jquery.com/ui/images/logo.gif" width="235" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe frameborder="0" height="342" src="https://docs.google.com/present/embed?id=dgj2zz2n_531ddkhq855" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3068918756723174009?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3068918756723174009/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3068918756723174009' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3068918756723174009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3068918756723174009'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/01/jquery-ui.html' title='jQuery UI 筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5075760375833001412</id><published>2011-01-06T01:31:00.000-08:00</published><updated>2011-01-06T01:38:25.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><title type='text'>GAE/J 的servlet request計時器與cron service</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="109" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" width="142" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;在GAE上寫了程式要透過cron服務排程來撈取網頁資料存進data store,&lt;br /&gt;當寫好servlet直接使用瀏覽器觸發servlet url執行, 由於我撈的資料較多處理時間較常,沒想到就出現了exception了。&lt;br /&gt;&lt;br /&gt;原來在&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;GAE上的request是有時間限制的,若request進來處理了30秒還沒完成就會被終止並丟出exception&lt;/span&gt;,詳閱:&amp;nbsp;&lt;a href="http://code.google.com/intl/zh-TW/appengine/docs/java/runtime.html#The_Request_Timer" target="_blank"&gt;http://code.google.com/intl/zh-TW/appengine/docs/java/runtime.html#The_Request_Timer&lt;/a&gt;。&lt;br /&gt;&lt;br /&gt;GAE上的排程乃是經由定義cron.xml讓GAE的cron service在設定的時間點或區間觸發我們servlet程式的URL。&lt;br /&gt;&lt;br /&gt;然而好消息是最近新的&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;GAE1.4版,把Cron service的30秒限制拿掉了&lt;/span&gt;,也就是說經由Cron觸發的servlet的&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;最大處理時限是10分鐘&lt;/span&gt;,太棒啦。（詳見:&lt;a href="http://googleappengine.blogspot.com/2010/12/happy-holidays-from-app-engine-team-140.html" target="_blank"&gt;http://googleappengine.blogspot.com/2010/12/happy-holidays-from-app-engine-team-140.html&lt;/a&gt;）&lt;br /&gt;&lt;br /&gt;另外發現&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;許多的GAE英文文件在中文的文件中是沒有的&lt;/span&gt;，比如說像是Task Queue(&lt;a href="http://code.google.com/intl/en/appengine/docs/java/taskqueue/" target="_blank"&gt;http://code.google.com/intl/en/appengine/docs/java/taskqueue/&lt;/a&gt;),所以看完中文版的官方文件(&lt;a href="http://code.google.com/intl/zh-TW/appengine/docs/" target="_blank"&gt;http://code.google.com/intl/zh-TW/appengine/docs/&lt;/a&gt;)後還是要再去逛逛英文版的文件(&lt;a href="http://code.google.com/intl/en/appengine/docs/" target="_blank"&gt;http://code.google.com/intl/en/appengine/docs/&lt;/a&gt;)看看有沒有其他可參考的有用資訊～&lt;br /&gt;&lt;br /&gt;另外有個東西讓我搞了很久，就是&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;cron.xml裡面若有中文字可是會Deploy失敗的&lt;/span&gt;～&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5075760375833001412?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5075760375833001412/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5075760375833001412' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5075760375833001412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5075760375833001412'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/01/gaej-servlet-requestcron-service.html' title='GAE/J 的servlet request計時器與cron service'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4912391173891536289</id><published>2011-01-01T09:41:00.000-08:00</published><updated>2011-01-01T09:42:29.045-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Data API'/><title type='text'>Google Developer Day 2008 Taiwan - GData API</title><content type='html'>&lt;a target="_blank" href="http://sites.google.com/site/developerdaytaiwan/google-developer-day-2008-taiwan/gdata-api"&gt;http://sites.google.com/site/developerdaytaiwan/google-developer-day-2008-taiwan/gdata-api&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://t1.gstatic.com/images?q=tbn:ANd9GcTYb9DUd-6wnb-GghF0Q5ATkwWpyyjmmDy8y5ENn3F01OuLDaCG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://t1.gstatic.com/images?q=tbn:ANd9GcTYb9DUd-6wnb-GghF0Q5ATkwWpyyjmmDy8y5ENn3F01OuLDaCG" /&gt;&lt;/a&gt;&lt;/div&gt;這是一個介紹Google Data API的課程，雖然是2008的課程活動，但相當簡潔清楚，推薦想用GData API的同好可以參考一下～&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4912391173891536289?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4912391173891536289/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4912391173891536289' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4912391173891536289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4912391173891536289'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2011/01/google-developer-day-2008-taiwan-gdata.html' title='Google Developer Day 2008 Taiwan - GData API'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6280099318340990628</id><published>2010-12-31T05:24:00.000-08:00</published><updated>2010-12-31T06:23:47.124-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jpa'/><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><title type='text'>GAE上使用JPA的inheritance</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a target="_blank" href="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;GAE/J&lt;/span&gt;上的data store並不是關聯式資料庫所以對於JPA不的功能並不是百分百的支援，像是對於JPA對應於物件繼承的支援就&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;只支援InheritanceType.TABLE_PER_CLASS&lt;/span&gt;&lt;br /&gt;（關於InheritanceType.TABLE_PER_CLASS詳見：&lt;a target="_blank" href="http://caterpillar.onlyfun.net/Gossip/EJB3Gossip/TableperConcreteClass.html"&gt;http://caterpillar.onlyfun.net/Gossip/EJB3Gossip/TableperConcreteClass.html&lt;/a&gt;），若是指定其他InhreitanceType則在執行時會拋出Exception~&lt;br /&gt;&lt;br /&gt;另外JPA Query物件的方法getSingleResult()若撈取到無資料料會丟出&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;NoResultException，若撈取到的資料超過一筆會丟出NonUniqueResultException。而getResultList()若撈取無資料則會傳回一個size為空的List物件（詳見：&lt;/span&gt;&lt;a href="http://download.oracle.com/javaee/5/api/javax/persistence/Query.html#getSingleResult()"&gt;http://download.oracle.com/javaee/5/api/javax/persistence/Query.html#getSingleResult()&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;）&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6280099318340990628?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6280099318340990628/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6280099318340990628' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6280099318340990628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6280099318340990628'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/12/gaejpainheritance.html' title='GAE上使用JPA的inheritance'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5758339588428251044</id><published>2010-12-22T08:26:00.000-08:00</published><updated>2010-12-22T08:34:19.815-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQueryWTP - 讓你在eclipse寫jQuery時也有程式碼提示</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a target="_blank" href="http://static.jquery.com/org/images/logos/core.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://static.jquery.com/org/images/logos/core.png" /&gt;&lt;/a&gt;&lt;/div&gt;寫java程式的工程師是很幸福的，隨便一款IDE都會有程式碼提示功能，那麼在寫jQuery script時呢?&lt;br /&gt;&lt;a target="_blank" href="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" /&gt;&lt;/a&gt;有的。如果你使用Eclipse，使用jQueryWTP就可以達到。jQueryWTP並不是Eclipse的plugin，他只提供一個工具來patch現有的Eclipse WTP plugin 來加入對jQuery的支援~&lt;br /&gt;&lt;br /&gt;話不多說，就裝來用用看吧~&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;首先到&lt;a target="_blank" href="http://sourceforge.net/projects/jquerywtp/"&gt;http://sourceforge.net/projects/jquerywtp/&lt;/a&gt;下載jQueryWTP 工具，我使用的Eclipse是Helios(3.6)的JavaEE英文版，在這我便下載了jqueryWTP0.40foEn.jar&lt;br /&gt;&lt;/li&gt;&lt;li&gt;執行java -jar&amp;nbsp;jqueryWTP0.40foEn.jar&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_NglROazfYbs/TRIkc7z6tvI/AAAAAAAABT0/hdR7VdlS0mQ/s1600/Screenshot_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="92" src="http://2.bp.blogspot.com/_NglROazfYbs/TRIkc7z6tvI/AAAAAAAABT0/hdR7VdlS0mQ/s320/Screenshot_1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;〔Jar File〕選擇你eclipse\plugin目錄下的org.eclipse.wst.jsdt.core_?????.jar&lt;br /&gt;〔Output Folder〕選擇另一個暫存的資料夾，這裡我先選存到我的桌面&lt;br /&gt;按下Generate會在〔Output Folder〕產生一新的org.eclipse.wst.jsdt.core_?????.jar&lt;br /&gt;&lt;/li&gt;&lt;li&gt;先備份你eclipse\plugin目錄下的org.eclipse.wst.jsdt.core_?????.jar，在將新產生的org.eclipse.wst.jsdt.core_?????.jar覆蓋掉原本eclipse\plugin目錄下的檔案&lt;br /&gt;&lt;/li&gt;&lt;li&gt;接著使用-clean參數來執行eclipse (用來清除plugin快取，使新的jar生效)&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_NglROazfYbs/TRIlTyIl6OI/AAAAAAAABT4/s96vykylOag/s1600/Screenshot_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_NglROazfYbs/TRIlTyIl6OI/AAAAAAAABT4/s96vykylOag/s320/Screenshot_2.jpg" style="cursor: move;" width="249" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;接著開啟你的eclipse，就可以快快樂樂的在Eclipse裡面使用jQuery的程式碼提示功能囉～爽的啦～&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_NglROazfYbs/TRImjrCmwEI/AAAAAAAABT8/WANchYwWn6s/s1600/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="221" src="http://2.bp.blogspot.com/_NglROazfYbs/TRImjrCmwEI/AAAAAAAABT8/WANchYwWn6s/s320/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D.png" style="cursor: move;" width="320" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;另外，如果你使用DreamWeaver也想要有jQuery程式碼提示功能，可以到&lt;a target="_blank" href="http://xtnd.us/dreamweaver/jquery"&gt;http://xtnd.us/dreamweaver/jquery&lt;/a&gt;下載jQuery Extension for DreamWeaver來使用~&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5758339588428251044?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5758339588428251044/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5758339588428251044' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5758339588428251044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5758339588428251044'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/12/jquerywtp-eclipsejquery.html' title='jQueryWTP - 讓你在eclipse寫jQuery時也有程式碼提示'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_NglROazfYbs/TRIkc7z6tvI/AAAAAAAABT0/hdR7VdlS0mQ/s72-c/Screenshot_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2666422509866349500</id><published>2010-12-13T06:10:00.000-08:00</published><updated>2010-12-13T06:27:25.203-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='Sprig'/><title type='text'>HibernateTransactionManager 與 TransactionDefinition.PROPAGATION_REQUIRES_NEW</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.springsource.org/sites/all/themes/dotorg09/images/dotorg09_logo.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://www.springsource.org/sites/all/themes/dotorg09/images/dotorg09_logo.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;關於Spring+Hibernate裡設定HibernateTransactionManager的TransactionDefinition.PROPAGATION_REQUIRES_NEW一直都沒有作用，&lt;br /&gt;關於問題描述可參考此篇:&amp;nbsp;&lt;a href="http://forum.springsource.org/archive/index.php/t-50039.html" target="_blank"&gt;http://forum.springsource.org/archive/index.php/t-50039.html&lt;/a&gt;&lt;br /&gt;一直不了解為什麼?&lt;br /&gt;&lt;br /&gt;搞了半天原來只有JTATransactionManager支援REQUIRES_NEW，&lt;br /&gt;詳參考:&amp;nbsp;&lt;a href="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/transaction/TransactionDefinition.html#PROPAGATION_REQUIRES_NEW" target="_blank"&gt;http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/transaction/TransactionDefinition.html#PROPAGATION_REQUIRES_NEW&lt;/a&gt;及以下截圖:&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_NglROazfYbs/TQYoo2cSUWI/AAAAAAAABTI/jCCPeDIpdgE/s1600/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D+-+1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;" target="_blank"&gt;&lt;img border="0" height="194" src="http://3.bp.blogspot.com/_NglROazfYbs/TQYoo2cSUWI/AAAAAAAABTI/jCCPeDIpdgE/s320/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D+-+1.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;點圖放大&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;蔡董，原來一切都是我們把它想得太完美了...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2666422509866349500?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2666422509866349500/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2666422509866349500' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2666422509866349500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2666422509866349500'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/12/hibernatetransactionmanager.html' title='HibernateTransactionManager 與 TransactionDefinition.PROPAGATION_REQUIRES_NEW'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_NglROazfYbs/TQYoo2cSUWI/AAAAAAAABTI/jCCPeDIpdgE/s72-c/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D+-+1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7533581258423853922</id><published>2010-11-30T23:38:00.000-08:00</published><updated>2010-11-30T23:38:22.144-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jpa'/><category scheme='http://www.blogger.com/atom/ns#' term='EJB3'/><title type='text'>EJB3 &amp; JPA 筆記簡報</title><content type='html'>&lt;iframe frameborder="0" height="342" src="https://docs.google.com/present/embed?id=dgj2zz2n_506djd7gtd6" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7533581258423853922?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7533581258423853922/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7533581258423853922' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7533581258423853922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7533581258423853922'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/11/ejb3-jpa.html' title='EJB3 &amp; JPA 筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2114357053660760980</id><published>2010-11-30T18:50:00.000-08:00</published><updated>2010-11-30T18:51:05.357-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pivot'/><title type='text'>基於JAVA的開源碼RIA - Apache Pivot</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://java.dzone.com/sites/all/files/pivotlogo.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://java.dzone.com/sites/all/files/pivotlogo.png" width="185" /&gt;&lt;/a&gt;&lt;/div&gt;相較於Java FX令人懷疑的前途，Apache Pivot相對穩健。&lt;br /&gt;或許Java FX非常"炫"，但體驗過Pivot後相形下執行很順暢。&lt;br /&gt;&lt;br /&gt;Pivot能以Java 或其他JVM language(如Groovy、JavaScript等)開法，可以Standalone方式或是Applet方式執行。&lt;br /&gt;Pivot和Swing一樣是Base on Java2D，也使用MVC pattern來分離元件與資料，此外它還有宣告式的UI(WTKX: XML方式宣告UI)、data binding、web service整合、特效等功能。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;關於基本的介紹可參考:&lt;br /&gt;&lt;a href="http://java.dzone.com/articles/pivot-top-project-ready"&gt;Pivot a Top Project: Ready to Challenge Flex, Silverlight, and JavaFX&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Apache Pivot官方網站:&lt;br /&gt;&lt;a href="http://pivot.apache.org/index.html"&gt;http://pivot.apache.org/index.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Apache Pivot Demo:&lt;br /&gt;&lt;a href="http://pivot.apache.org/demos/"&gt;http://pivot.apache.org/demos/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2114357053660760980?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2114357053660760980/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2114357053660760980' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2114357053660760980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2114357053660760980'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/11/javaria-apache-pivot.html' title='基於JAVA的開源碼RIA - Apache Pivot'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7460722156583859352</id><published>2010-11-26T00:14:00.000-08:00</published><updated>2010-11-26T00:14:33.594-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazon'/><category scheme='http://www.blogger.com/atom/ns#' term='AWS'/><title type='text'>Amazon 雲端服務免費試用 - AWS Free Usage Tier</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://awsmedia.s3.amazonaws.com/logo_aws.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://awsmedia.s3.amazonaws.com/logo_aws.gif" /&gt;&lt;/a&gt;&lt;/div&gt;Amazon最近終於在2010/11/1為其雲端服務提供了免費方案，以提供新客戶能在有限的額度內體驗、評估Amazon的雲端服務。&lt;br /&gt;&lt;br /&gt;Google App Engine在很早前就可以在有限額度的免費使用了。&lt;br /&gt;Amazon如今總算是敞開了試用的大門了。&lt;br /&gt;&lt;br /&gt;關於AWS Free Usage Tier請參考:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://aws.amazon.com/free/" target="_blank"&gt;http://aws.amazon.com/free/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;詳細的中文介紹，可參考 軟體玩家 的文章:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://blog.soft.idv.tw/?p=823&amp;amp;utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+quicktop+(Software+Player)&amp;amp;utm_content=Google+Reader" target="_blank"&gt;http://blog.soft.idv.tw/?p=823&amp;amp;utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+quicktop+(Software+Player)&amp;amp;utm_content=Google+Reader&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7460722156583859352?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7460722156583859352/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7460722156583859352' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7460722156583859352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7460722156583859352'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/11/amazon-aws-free-usage-tier.html' title='Amazon 雲端服務免費試用 - AWS Free Usage Tier'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-930932868046496174</id><published>2010-11-17T08:35:00.000-08:00</published><updated>2010-11-17T08:35:00.198-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ChinShelf'/><title type='text'>ChinShelf勤學 學習資源管理系統</title><content type='html'>如果你也和我一樣有下載蒐集電子書的習慣，或許可以試試看這套軟體「ChinShelf勤學 學習資源管理系統」。&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_NglROazfYbs/TOKv_9tC8VI/AAAAAAAABSk/8G0BSmrKecU/s1600/splash.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="175" src="http://3.bp.blogspot.com/_NglROazfYbs/TOKv_9tC8VI/AAAAAAAABSk/8G0BSmrKecU/s320/splash.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_NglROazfYbs/TOKvSzAVBFI/AAAAAAAABSg/MD28kmG2OTA/s1600/Screenshot_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="191" src="http://1.bp.blogspot.com/_NglROazfYbs/TOKvSzAVBFI/AAAAAAAABSg/MD28kmG2OTA/s320/Screenshot_1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;ChinShelf可以用來管理、紀錄您電腦裡的電子書(PDF、CHM、DOC等)、教學網頁書籤、您轉存在電腦硬碟裡的教學光碟等，該系統使用Java開發，只要有安裝Java 6執行環境的電腦都可以安裝、使用該系統。&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;ChinShelf以GPL v3授權發布，原始碼開放並Hosting在Google code專案代管。&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;ChinShelf的專案網址：&lt;a href="http://code.google.com/p/chinshelf/" target="_blank"&gt;http://code.google.com/p/chinshelf/&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;ChinShelf的下載頁面：&lt;a href="http://code.google.com/p/chinshelf/downloads/list" target="_blank"&gt;http://code.google.com/p/chinshelf/downloads/list&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-930932868046496174?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/930932868046496174/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=930932868046496174' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/930932868046496174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/930932868046496174'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/11/chinshelf.html' title='ChinShelf勤學 學習資源管理系統'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_NglROazfYbs/TOKv_9tC8VI/AAAAAAAABSk/8G0BSmrKecU/s72-c/splash.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7812318339330876062</id><published>2010-10-03T18:25:00.000-07:00</published><updated>2010-10-03T18:25:00.841-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><title type='text'>Hibernate筆記簡報</title><content type='html'>&lt;iframe src="https://docs.google.com/present/embed?id=dgj2zz2n_248dxv2jthq" frameborder="0" width="410" height="342"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7812318339330876062?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7812318339330876062/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7812318339330876062' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7812318339330876062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7812318339330876062'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/10/hibernate.html' title='Hibernate筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-854801761139145604</id><published>2010-09-08T22:06:00.000-07:00</published><updated>2010-09-08T22:06:09.501-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='swing'/><title type='text'>JAVA Swing 筆記簡報</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img.viralpatel.net/2009/05/java-duke-teaching.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="178" src="http://img.viralpatel.net/2009/05/java-duke-teaching.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;iframe frameborder="0" height="342" src="https://docs.google.com/present/embed?id=dgj2zz2n_41d64cqmdn" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-854801761139145604?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/854801761139145604/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=854801761139145604' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/854801761139145604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/854801761139145604'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/09/java-swing.html' title='JAVA Swing 筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7321305287064747923</id><published>2010-09-07T18:50:00.000-07:00</published><updated>2010-09-07T18:51:14.127-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Java Lobby: Storing passwords in Java web application</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://java.dzone.com/sites/all/themes/dzone/images/mh_logo_java.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://java.dzone.com/sites/all/themes/dzone/images/mh_logo_java.gif" /&gt;&lt;/a&gt;&lt;/div&gt;在儲存密碼時，要如何增加安全性以防止被破解呢？&lt;br /&gt;&lt;div&gt;此文提到使用加密的話，因為加密是雙向性的，加密過後的結果只要使用正確的方法解密就可以得到原來的密碼。所以此文建議使用密碼雜湊(Password Hashing)來演算後再將密碼存入檔案或資料庫。&lt;/div&gt;&lt;div&gt;那麼，要如何使用密碼雜湊呢？&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;請直接看原文的程式碼範例，該範例簡單明瞭，很快就能將該方法套用在您的系統上使用了~&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;全文詳見:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;a href="http://java.dzone.com/articles/storing-passwords-java-web?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)" target="_blank"&gt;Java Lobby: Storing passwords in Java web application&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7321305287064747923?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7321305287064747923/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7321305287064747923' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7321305287064747923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7321305287064747923'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/09/java-lobby-storing-passwords-in-java.html' title='Java Lobby: Storing passwords in Java web application'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3329315154180581470</id><published>2010-08-29T01:32:00.000-07:00</published><updated>2010-08-29T01:35:26.871-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java web star'/><title type='text'>Java Web Start - 「splash:recv failed」問題</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBggGBQkIBwgKCQkKDRYODQwMDRoTFBAWHxwhIB8cHh4jJzIqIyUvJR4mKzssLzM1ODg4LDQ9PEI+PDY1LEEBCQoKDQsNGQ8OGTUkHiQ1KSw1NTU1NTUpNTU1NSw1NTU1LTU1NTU1NSk1KjU1NTUsKTU1NTUsLDU1NTU1NTU0Nv/AABEIADAAMAMBIgACEQEDEQH/xAAaAAADAQADAAAAAAAAAAAAAAADBAUCAQYH/8QANhAAAQMDAgEHCgcBAAAAAAAAAQIDBAAFEQYSMRMVIUFRcbEUUlRhY2RzkZOyJCUycoHR4SL/xAAXAQEBAQEAAAAAAAAAAAAAAAAEAQID/8QAIBEAAQQBBAMAAAAAAAAAAAAAAQACESHwBGGh4QMiMf/aAAwDAQACEQMRAD8A9J0Xo+1WDTUWPHisqUW0lxwoGXDjiavc2wvRGPpigWdebNE+CnwpzdVJMqAIXNsL0Rj6YpdLVvXcVxEw2CpDYWo7B0ZPQKWul6WzJTBgID01Yzg/pbHaqlbM44S4iEeXUpeZE1zgpXYkdePlRnaj3DG5tnxJbp/Qvdm+fVb5theiMfTFRNYaTtN803LYkw2OhpRQsIGUHHEeur4V0DJyaUvC8WaX8FXhSQSjEIFlXmxwj7FHhTu+pFiczYIJ93R9opbUPOHIB6JPZiR2hl7lARkfuGcVYkqTAWnIhjXyYVdCbi1tbd81WMbT38azpGW6iK9bpDex2Grb3g0vHuE5yKkNt251s4UCqUVE/MVuE7LElSUP21tby96whZcWrwog0pZ5A5pq+e0s6oP8Za4XXHS7LvpK9LxY5p9ivwqFcHnWtRwm7Y+6t5TgMtvduQGs9JI6j2VTvzn5BOPu6/A0uIhEmZQtP5OnLee2M39orgXeJPecixfxagML2jchPef6qJoTXFjumk4W+fGjPMNJbcbedCSCBjr48KakR9IPrK03CAwvzmZSEHxqxdqTVKaq1PtLIkaYjvq8+O7tSf4zVKw29xuUVu2KPASB/wAuJWCsUIRtPjoTqt1I7BcUVx5HppSsvalL3qcuCCK2TKwBCvM+SRZHkzPJodWCspTxPrP+0HUGRpy4HsjOfaaDBnaYtqCmJcba3niRIRk95zUnXeuLHa9JzdlwjSXn2lNttsuhRJIx1cONc4tbml//2Q==" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBggGBQkIBwgKCQkKDRYODQwMDRoTFBAWHxwhIB8cHh4jJzIqIyUvJR4mKzssLzM1ODg4LDQ9PEI+PDY1LEEBCQoKDQsNGQ8OGTUkHiQ1KSw1NTU1NTUpNTU1NSw1NTU1LTU1NTU1NSk1KjU1NTUsKTU1NTUsLDU1NTU1NTU0Nv/AABEIADAAMAMBIgACEQEDEQH/xAAaAAADAQADAAAAAAAAAAAAAAADBAUCAQYH/8QANhAAAQMDAgEHCgcBAAAAAAAAAQIDBAAFEQYSMRMVIUFRcbEUUlRhY2RzkZOyJCUycoHR4SL/xAAXAQEBAQEAAAAAAAAAAAAAAAAEAQID/8QAIBEAAQQBBAMAAAAAAAAAAAAAAQACESHwBGGh4QMiMf/aAAwDAQACEQMRAD8A9J0Xo+1WDTUWPHisqUW0lxwoGXDjiavc2wvRGPpigWdebNE+CnwpzdVJMqAIXNsL0Rj6YpdLVvXcVxEw2CpDYWo7B0ZPQKWul6WzJTBgID01Yzg/pbHaqlbM44S4iEeXUpeZE1zgpXYkdePlRnaj3DG5tnxJbp/Qvdm+fVb5theiMfTFRNYaTtN803LYkw2OhpRQsIGUHHEeur4V0DJyaUvC8WaX8FXhSQSjEIFlXmxwj7FHhTu+pFiczYIJ93R9opbUPOHIB6JPZiR2hl7lARkfuGcVYkqTAWnIhjXyYVdCbi1tbd81WMbT38azpGW6iK9bpDex2Grb3g0vHuE5yKkNt251s4UCqUVE/MVuE7LElSUP21tby96whZcWrwog0pZ5A5pq+e0s6oP8Za4XXHS7LvpK9LxY5p9ivwqFcHnWtRwm7Y+6t5TgMtvduQGs9JI6j2VTvzn5BOPu6/A0uIhEmZQtP5OnLee2M39orgXeJPecixfxagML2jchPef6qJoTXFjumk4W+fGjPMNJbcbedCSCBjr48KakR9IPrK03CAwvzmZSEHxqxdqTVKaq1PtLIkaYjvq8+O7tSf4zVKw29xuUVu2KPASB/wAuJWCsUIRtPjoTqt1I7BcUVx5HppSsvalL3qcuCCK2TKwBCvM+SRZHkzPJodWCspTxPrP+0HUGRpy4HsjOfaaDBnaYtqCmJcba3niRIRk95zUnXeuLHa9JzdlwjSXn2lNttsuhRJIx1cONc4tbml//2Q==" /&gt;&lt;/a&gt;&lt;/div&gt;此問題乃是因為系統上安裝的comdo firewall所造成，詳見:&lt;br /&gt;&lt;a href="http://forums.comodo.com/help-for-v3/java-web-start-splashrecv-failed-t24784.0.html" target="_blank"&gt;http://forums.comodo.com/help-for-v3/java-web-start-splashrecv-failed-t24784.0.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;解決方法是 暫時停用 comdo firewall 或是移除掉comdo firewall&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3329315154180581470?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3329315154180581470/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3329315154180581470' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3329315154180581470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3329315154180581470'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/08/java-web-star-splashrecv-failed.html' title='Java Web Start - 「splash:recv failed」問題'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-489789396894267825</id><published>2010-08-15T22:05:00.000-07:00</published><updated>2010-08-15T22:56:41.330-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE'/><category scheme='http://www.blogger.com/atom/ns#' term='Sun'/><title type='text'>Oracle與開放原始碼：一列表的不滿與抱怨</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.oracleimg.com/admin/images/ocom/hp/oralogo_small.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="43" src="http://www.oracleimg.com/admin/images/ocom/hp/oralogo_small.gif" width="320" /&gt;&lt;/a&gt;&lt;a href="http://t3.gstatic.com/images?q=tbn:6YyLB1qsBow_qM:http://act.perl.org.il/ilpw2007/img/sun_logo_white.png&amp;amp;t=1" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="88" src="http://t3.gstatic.com/images?q=tbn:6YyLB1qsBow_qM:http://act.perl.org.il/ilpw2007/img/sun_logo_white.png&amp;amp;t=1" width="200" /&gt;&lt;/a&gt;&lt;a href="http://java.dzone.com/sites/all/themes/dzone/images/mh_logo_java.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://java.dzone.com/sites/all/themes/dzone/images/mh_logo_java.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;詳全文請閱原文:&lt;br /&gt;&lt;a href="http://java.dzone.com/articles/oracle-and-open-source-list?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)" target="_blank"&gt;http://java.dzone.com/articles/oracle-and-open-source-list?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5. 拔掉Postgres的插頭&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;幾周前，Oracle無預警的中止之前Sun同意Postgres SQL專案開發使用的伺服器。毫無預警與知會。完全就是顧慮Postgres對Oracle和MySQL的競爭~&lt;br /&gt;&lt;br /&gt;4. 浪費Sun有才幹的開發人員，尤其是Gosling(Java之父)&lt;br /&gt;&amp;nbsp;&amp;nbsp; 一堆有才幹的人因為Sun被Oracle併購而走人，有些甚至在併購完成前就走了&lt;br /&gt;&lt;br /&gt;3. 殺了OpenSolaris&lt;br /&gt;&lt;br /&gt;2. JCP和Harmony建議書 開倒車&lt;br /&gt;&lt;br /&gt;1. 控告Google&lt;br /&gt;&lt;br /&gt;-----------------------------------------------------&lt;br /&gt;&lt;br /&gt;希望官僚的Oracle能有所體悟，不要把Java Developer一個個的給氣走....&lt;br /&gt;看來已經有許多人開始懷念被併購前的SUN了....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-489789396894267825?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/489789396894267825/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=489789396894267825' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/489789396894267825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/489789396894267825'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/08/oracle.html' title='Oracle與開放原始碼：一列表的不滿與抱怨'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5429516755290151494</id><published>2010-08-14T23:54:00.001-07:00</published><updated>2010-08-14T23:55:54.201-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Derby'/><title type='text'>JavaDB / Derby 筆記簡報</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://db.apache.org/derby/images/derby-logo-web.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://db.apache.org/derby/images/derby-logo-web.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;iframe frameborder="0" height="342" src="https://docs.google.com/present/embed?id=dgj2zz2n_460d6bsz3hr" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5429516755290151494?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5429516755290151494/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5429516755290151494' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5429516755290151494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5429516755290151494'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/08/javadb-derby.html' title='JavaDB / Derby 筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5390052547644163839</id><published>2010-08-01T20:54:00.000-07:00</published><updated>2010-08-01T21:57:42.245-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><title type='text'>Dolph's Toolbox - Dolph的工具箱</title><content type='html'>&lt;a href="http://dolphstoolbox.appspot.com/" target="_blank"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" height="192" src="http://2.bp.blogspot.com/_NglROazfYbs/TFZPGJx92VI/AAAAAAAAA60/9Wy8HubiwWE/s400/Screenshot_1.png" width="400" /&gt;&lt;/div&gt;http://dolphstoolbox.appspot.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;這個小型WebApplication主要是我體驗GAE(Google App Engine)的一個小作業，主要的功能有：&lt;br /&gt;&lt;br /&gt;1. 資料遮蔽SQL指令產製 --&amp;gt; &lt;br /&gt;使用者輸入table名稱、column名稱，此程式產出SQL statement可以用來做資料表格更新，將在資料庫的一些敏感資料以遮罩字元取代，如「王曉明」--&amp;gt; 「王*明」&lt;br /&gt;2. native2ascii、URL encode/decode、base64 encode/decode、Hex encode/decode&lt;br /&gt;&lt;br /&gt;實作用到的技術也很簡單，主要只用到了JSP、JSP custom tag lib、jQuery，&lt;br /&gt;而GAE方面的service有用到JDO API做資料儲存、User Service做登入檢查、Java Mail配合Mail service做建議的電子表單結果寄送。&lt;br /&gt;&lt;br /&gt;這類簡單的小程式各位應該也能很快就做出來的，一起來玩玩GAE吧。&lt;br /&gt;&lt;br /&gt;&lt;a href="http://code.google.com/intl/zh-TW/appengine/"  target="_blank"&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" /&gt;&lt;/div&gt;http://code.google.com/intl/zh-TW/appengine/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5390052547644163839?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5390052547644163839/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5390052547644163839' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5390052547644163839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5390052547644163839'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/08/dolphs-toolbox-dolph.html' title='Dolph&apos;s Toolbox - Dolph的工具箱'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_NglROazfYbs/TFZPGJx92VI/AAAAAAAAA60/9Wy8HubiwWE/s72-c/Screenshot_1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3138927534037801727</id><published>2010-07-28T22:27:00.000-07:00</published><updated>2010-08-01T00:50:58.593-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jdk1.6'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse在Oracle/Sun Java 6 Update 21上會當掉問題</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" /&gt;&lt;/a&gt;&lt;/div&gt;最近重裝了電腦，並且下載了Eclipse Helios來使用，但很奇怪的是都用沒幾分鐘就當掉，剛開始一直以為是Eclipse的問題，後來才發現是因為Oracle在JDK6u21裡改了Vendor name才造成Eclipse會當掉。&lt;br /&gt;&lt;br /&gt;最快的解決方法，直接在eclpse.ini裡加上一行&lt;br /&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;-XX:MaxPermSize=256m&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;詳細請參閱：&lt;br /&gt;&lt;a href="http://java.dzone.com/articles/latest-java-update-fixes?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)" target="_blank"&gt;Latest Java Update Fixes Eclipse Crash Issue&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3138927534037801727?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3138927534037801727/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3138927534037801727' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3138927534037801727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3138927534037801727'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/07/eclipseoraclesun-java-6-update-21.html' title='Eclipse在Oracle/Sun Java 6 Update 21上會當掉問題'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-218578947979934430</id><published>2010-07-17T03:55:00.001-07:00</published><updated>2010-08-01T00:53:03.507-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HtmlParser'/><title type='text'>HtmlParser 筆記簡報</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://htmlparser.sourceforge.net/images/htmlparserlogo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://htmlparser.sourceforge.net/images/htmlparserlogo.jpg" width="55px" height="50px"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;iframe frameborder="0" height="342" src="http://docs.google.com/present/embed?id=dgj2zz2n_455gfcjwkcc" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-218578947979934430?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/218578947979934430/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=218578947979934430' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/218578947979934430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/218578947979934430'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/07/htmlparser.html' title='HtmlParser 筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4161451354583181948</id><published>2010-07-04T23:53:00.000-07:00</published><updated>2010-07-05T00:08:30.233-07:00</updated><title type='text'>使用JDK內建的URLConnection送一個HTTP POST request</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://java.sun.com/docs/books/tutorial/images/penduke.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="100" src="http://java.sun.com/docs/books/tutorial/images/penduke.gif" width="120" /&gt;&lt;/a&gt;&lt;/div&gt;請參考:&lt;a href="http://www.exampledepot.com/egs/java.net/post.html" target="_blank"&gt;&lt;br /&gt;http://www.exampledepot.com/egs/java.net/post.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4161451354583181948?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4161451354583181948/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4161451354583181948' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4161451354583181948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4161451354583181948'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/07/jdkurlconnectionhttp-post-request.html' title='使用JDK內建的URLConnection送一個HTTP POST request'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-895228109292718319</id><published>2010-06-30T23:37:00.000-07:00</published><updated>2010-06-30T23:37:29.573-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java EE 6'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>[燒]Tomcat 7釋出</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://tomcat.apache.org/images/tomcat10.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://tomcat.apache.org/images/tomcat10.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;Tomcat7釋出了~&lt;br /&gt;主要支援了最新的Java EE 6規格裡的：&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Servlet 3.0&lt;/li&gt;&lt;li&gt;JSP 2.2&lt;/li&gt;&lt;li&gt;EL 2.2&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tomcat.apache.org/download-70.cgi" target="_blank"&gt;按這裡下載&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;另外，&lt;a href="http://download.oracle.com/docs/cd/E17410_01/javaee/6/tutorial/doc/" target="_blank"&gt;Java EE 6 Tutorial文件 按這裡 可以找到～&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-895228109292718319?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/895228109292718319/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=895228109292718319' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/895228109292718319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/895228109292718319'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/tomcat-7.html' title='[燒]Tomcat 7釋出'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6394255748220466188</id><published>2010-06-30T23:05:00.000-07:00</published><updated>2010-06-30T23:10:28.220-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><title type='text'>Google App Engine 筆記簡報</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" width="55px" height="48px"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;iframe frameborder="0" height="342" src="http://docs.google.com/present/embed?id=dgj2zz2n_442dj7m27cx" width="410"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6394255748220466188?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6394255748220466188/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6394255748220466188' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6394255748220466188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6394255748220466188'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/google-app-engine.html' title='Google App Engine 筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6071070553997084225</id><published>2010-06-29T18:51:00.000-07:00</published><updated>2010-06-29T18:53:57.365-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSON'/><title type='text'>JSON</title><content type='html'>&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.json.org/img/json160.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="100" src="http://www.json.org/img/json160.gif" width="100" /&gt;&lt;/a&gt;&lt;/div&gt;JSON (JavaScript Object Notation)簡介：&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.json.org/" target="_blank"&gt;JSON.org&lt;/a&gt;&lt;/div&gt;&lt;a href="http://www.skill-guru.com/blog/2010/01/27/json-javascript-tutorial/" target="_blank"&gt;JSON Javascript Tutorial&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://diary.tw/tim/22" target="_blank"&gt;有趣的JSON技術&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6071070553997084225?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6071070553997084225/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6071070553997084225' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6071070553997084225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6071070553997084225'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/json.html' title='JSON'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5030190287551523359</id><published>2010-06-28T09:45:00.000-07:00</published><updated>2010-11-28T23:24:27.685-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='native2ascii'/><title type='text'>Native2Ascii 程式碼參考</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.google.com/intl/en-US/images/logos/code_search_logo.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.google.com/intl/en-US/images/logos/code_search_logo.gif" /&gt;&lt;/a&gt;&lt;a href="http://www.kaffe.org/img/header-title.gif" imageanchor="1" style="clear: right; display: inline !important; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://www.kaffe.org/img/header-title.gif" /&gt;&lt;/a&gt;&lt;/div&gt;許多framework會使用到.properties檔案來做為多國語言的訊息儲存格式，&lt;br /&gt;&lt;div&gt;而像是非英文語系的語言在存成.properties後還會需要使用JDK內帶的native2ascii.exe將&lt;/div&gt;&lt;div&gt;中文字轉換成unicode十六進位的編碼形式，在runtime時才能正確讀取。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;今天心血來潮，想看看native2ascii的原始碼，在google code search找到了一個開源碼版本的JVM Kaffe的native2ascii原始碼可參考，而且程式碼比想像中的簡單與簡潔：&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://kaffe.org/cgi-bin/viewcvs.cgi/kaffe/tools/javatools/javalib/gnu/classpath/tools/native2ascii/Attic/Native2ASCII.java?view=markup"&gt;http://kaffe.org/cgi-bin/viewcvs.cgi/kaffe/tools/javatools/javalib/gnu/classpath/tools/native2ascii/Attic/Native2ASCII.java?view=markup&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5030190287551523359?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5030190287551523359/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5030190287551523359' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5030190287551523359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5030190287551523359'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/native2ascii.html' title='Native2Ascii 程式碼參考'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1370672101927365136</id><published>2010-06-27T22:04:00.000-07:00</published><updated>2010-06-27T22:08:46.758-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse 3.6 (Helios) 發佈了</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;燒燙燙的 Eclipse 3.6 (Helios)發佈了，&lt;br /&gt;下載：&lt;br /&gt;&lt;a href="http://www.eclipse.org/downloads/" target="_blank"&gt;http://www.eclipse.org/downloads/&lt;/a&gt;&lt;br /&gt;新增功能Demo影片：&lt;br /&gt;&lt;a href="http://eclipse.org/helios/demos.php" target="_blank"&gt;http://eclipse.org/helios/demos.php&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1370672101927365136?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1370672101927365136/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1370672101927365136' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1370672101927365136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1370672101927365136'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/eclipse-36-helios.html' title='Eclipse 3.6 (Helios) 發佈了'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8497245914986232495</id><published>2010-06-19T05:37:00.000-07:00</published><updated>2010-06-27T22:07:04.286-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><title type='text'>Google App Engine開發程式檢視local  data store資料方法</title><content type='html'>&lt;div style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;在開發Google App Engine程式時，我們會經由JDO/JPA API來將資料寫入data store，&lt;br /&gt;在App Engine上可使用網頁介面的Admin Console來查看我們寫入data store的資料，&lt;br /&gt;但在未部屬上App Engine前，我們在local環境要怎樣查看我們的data store呢？&lt;br /&gt;可直接使用瀏覽器開啟：&lt;br /&gt;http://localhost:8888/_ah/admin/&lt;br /&gt;便可查看～&lt;br /&gt;&lt;br /&gt;詳參照：&lt;a href="http://googleappengine.blogspot.com/2009/07/google-app-engine-for-java-sdk-122.html" target="_blank"&gt;&lt;br /&gt;http://googleappengine.blogspot.com/2009/07/google-app-engine-for-java-sdk-122.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8497245914986232495?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8497245914986232495/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8497245914986232495' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8497245914986232495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8497245914986232495'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/google-app-enginelocal-data-store.html' title='Google App Engine開發程式檢視local  data store資料方法'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-372702093412555227</id><published>2010-06-19T02:51:00.000-07:00</published><updated>2010-06-19T05:32:00.998-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaBean'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>操作JavaBeans利器 - Commons BeanUtils</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://commons.apache.org/images/logo.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="56" src="http://commons.apache.org/images/logo.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Java &amp;nbsp;專案裡不免常用到JavaBean，而Commons BeanUtils是操作JavaBean的好用工具，&lt;br /&gt;詳細介紹可參考：&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.javaworld.com.tw/confluence/pages/viewpage.action?pageId=1861" target="_blank"&gt;BeanUtils 介紹 (from JavaWorld)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://commons.apache.org/beanutils/" target="_blank"&gt;官方網站&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://commons.apache.org/beanutils/api/index.html" target="_blank"&gt;API 文件&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;而另外一提的是，BeanUtil裡的 PropertyUtils.copyProperties() 相當的好用，&lt;br /&gt;其用法可參考：&lt;a href="http://www.blogjava.net/kenzhh/archive/2008/09/03/226592.html" target="_blank"&gt;http://www.blogjava.net/kenzhh/archive/2008/09/03/226592.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-372702093412555227?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/372702093412555227/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=372702093412555227' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/372702093412555227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/372702093412555227'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/javabeans-commons-beanutils.html' title='操作JavaBeans利器 - Commons BeanUtils'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1649630682902675308</id><published>2010-06-18T17:09:00.000-07:00</published><updated>2010-06-29T18:55:26.706-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java fx'/><category scheme='http://www.blogger.com/atom/ns#' term='javalobby'/><title type='text'>JavaFX composer in NetBeans 6.9</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://netbeans.org/images_www/v5/nb-logo2.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://netbeans.org/images_www/v5/nb-logo2.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;這個展示影片介紹了新的NetBeans 6.9ˇ的JavaFX GUI設計工具- JavaFX composer：&lt;br /&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" height="322" id="flashObj" width="486"&gt;&lt;param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;param name="flashVars" value="videoId=95732631001&amp;playerID=1640183659&amp;domain=embed&amp;dynamicStreaming=true" /&gt;&lt;param name="base" value="http://admin.brightcove.com" /&gt;&lt;param name="seamlesstabbing" value="false" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;param name="swLiveConnect" value="true" /&gt;&lt;param name="allowScriptAccess" value="always" /&gt;&lt;embed src="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1" bgcolor="#FFFFFF" flashVars="videoId=95732631001&amp;playerID=1640183659&amp;domain=embed&amp;dynamicStreaming=true" base="http://admin.brightcove.com" name="flashObj" width="486" height="322" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" swLiveConnect="true" allowScriptAccess="always" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;原文請參考：&lt;br /&gt;&lt;a href="http://java.dzone.com/polls/does-jfx-composer-satisfy?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)" target="_blank"&gt;http://java.dzone.com/polls/does-jfx-composer-satisfy?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;&lt;br /&gt;utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1649630682902675308?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1649630682902675308/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1649630682902675308' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1649630682902675308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1649630682902675308'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/javafx-composer-in-netbeans-69.html' title='JavaFX composer in NetBeans 6.9'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4146902863933957064</id><published>2010-06-04T08:04:00.001-07:00</published><updated>2010-06-29T18:58:51.272-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>JQuery表格交換顏色</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://static.jquery.com/org/images/logos/core.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://static.jquery.com/org/images/logos/core.png" /&gt;&lt;/a&gt;&lt;/div&gt;請參考:&lt;br /&gt;&lt;a href="http://www.mrdtime.com/Article/200.aspx"&gt;http://www.mrdtime.com/Article/200.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4146902863933957064?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4146902863933957064/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4146902863933957064' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4146902863933957064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4146902863933957064'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/jquery.html' title='JQuery表格交換顏色'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8514402869292693623</id><published>2010-06-02T23:11:00.000-07:00</published><updated>2011-01-13T18:29:09.282-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GoogleAppEngine'/><category scheme='http://www.blogger.com/atom/ns#' term='雲端運算'/><category scheme='http://www.blogger.com/atom/ns#' term='雲端'/><title type='text'>Will it play in App Engine? 看看你要用的framework和library能不能在AppEngine上運行</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" target="_blank"&gt;&lt;img border="0" src="http://code.google.com/intl/zh-TW/appengine/images/appengine_lowres.gif" /&gt;&lt;/a&gt;&lt;/div&gt;Will it play in App Engine?&lt;br /&gt;看看你要用的framework和library能不能在AppEngine上運行:&lt;br /&gt;&lt;a href="http://code.google.com/p/googleappengine/wiki/WillItPlayInJava"&gt;http://code.google.com/p/googleappengine/wiki/WillItPlayInJava&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine?pli=1" target="_blank"&gt;http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine?pli=1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8514402869292693623?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8514402869292693623/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8514402869292693623' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8514402869292693623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8514402869292693623'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/will-it-play-in-app-engine.html' title='Will it play in App Engine? 看看你要用的framework和library能不能在AppEngine上運行'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1886960368019104655</id><published>2010-06-02T01:10:00.000-07:00</published><updated>2010-06-02T01:10:01.816-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='雲端'/><title type='text'>寫的不錯的雲端運算文件 - 《剖析雲計算》</title><content type='html'>&amp;nbsp;寫的不錯的雲端運算文件 - &lt;span style="font-size: large;"&gt;&lt;b&gt;《剖析雲計算》&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;請參見:&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;a href="http://peopleyun.com/?p=597" target="_blank"&gt;http://peopleyun.com/?p=597&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1886960368019104655?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1886960368019104655/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1886960368019104655' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1886960368019104655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1886960368019104655'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/06/blog-post.html' title='寫的不錯的雲端運算文件 - 《剖析雲計算》'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-32625041728950007</id><published>2010-05-26T00:20:00.000-07:00</published><updated>2010-05-26T00:20:26.803-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='YouTube'/><title type='text'>入門JAVA YouTube API</title><content type='html'>入門JAVA YouTube API&lt;br /&gt;內有簡單實用的範例程式 &lt;br /&gt;&lt;a href="http://www.blogger.com/goog_1819713511"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://java.dzone.com/announcements/getting-started-youtube-java?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29&amp;amp;utm_content=Google+Reader" target="_blank"&gt;Javalobby:&amp;nbsp; Getting started with YouTube JAVA API&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-32625041728950007?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/32625041728950007/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=32625041728950007' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/32625041728950007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/32625041728950007'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/05/java-youtube-api.html' title='入門JAVA YouTube API'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2209438217101108145</id><published>2010-03-15T09:37:00.000-07:00</published><updated>2010-06-29T19:00:31.506-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='struts'/><title type='text'>Struts 1.3的ActionError類別</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://struts.apache.org/images/struts.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://struts.apache.org/images/struts.gif" /&gt;&lt;/a&gt;&lt;/div&gt;Struts 1.3的ActionError類別已經棄用了,要改用ActionMessage&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2209438217101108145?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2209438217101108145/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2209438217101108145' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2209438217101108145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2209438217101108145'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/03/struts-13actionerror.html' title='Struts 1.3的ActionError類別'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2091834366903585102</id><published>2010-03-10T23:50:00.000-08:00</published><updated>2010-06-18T17:27:10.012-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jboss'/><title type='text'>JBOSS 5.1上使用EJB2與META-INF/jboss.xml的關係</title><content type='html'>（web client &amp;amp; java client）&lt;br /&gt;1. 沒設定jboss.xml,則用 Object objRef = ctx.lookup("&lt;span style="color: red; font-weight: bold;"&gt;the-ejb-name&lt;/span&gt;"); 取得home&lt;br /&gt;2. 若有設定jboss.xml裡的jndi,則會把把Bean綁到global JNDI, 用 Object objRef = ctx.lookup("&lt;span style="color: red; font-weight: bold;"&gt;xx/the-jndi-name&lt;/span&gt;"); 取得home&lt;br /&gt;&lt;br /&gt;3. jboss.xml範例&lt;br /&gt;&lt;pre&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;jboss xmlns:xs="http://www.jboss.org/j2ee/schema"&lt;br /&gt;xs:schemaLocation=&lt;/pre&gt;&lt;pre&gt;"http://www.jboss.org/j2ee/schema　jboss_5_0.xsd"&lt;br /&gt;version="5.0"&amp;gt;　&lt;br /&gt;&amp;lt;!-- 把Bean綁到global JNDI ,&lt;br /&gt;取得用Object objRef = ctx.lookup("ejb/the-jndi-name"); --&amp;gt;&lt;br /&gt;　　　&amp;lt;enterprise-beans&amp;gt;&lt;br /&gt;　　　　　　&amp;lt;session&amp;gt;&lt;br /&gt;　　　　　　　　　&amp;lt;ejb-name&amp;gt;the-ejb-name&amp;lt;/ejb-name&amp;gt;&lt;br /&gt;　　　　　　　　　&amp;lt;jndi-name&amp;gt;ejb/the-jndi-namer&amp;lt;/jndi-name&amp;gt;&lt;br /&gt;　　　　　　&amp;lt;/session&amp;gt;&lt;br /&gt;　　　&amp;lt;/enterprise-beans&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/jboss&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2091834366903585102?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2091834366903585102/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2091834366903585102' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2091834366903585102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2091834366903585102'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/03/jboss-51ejb2meta-infjbossxml.html' title='JBOSS 5.1上使用EJB2與META-INF/jboss.xml的關係'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1719099478973114190</id><published>2010-03-10T23:40:00.000-08:00</published><updated>2010-06-18T17:15:23.394-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='EJB'/><category scheme='http://www.blogger.com/atom/ns#' term='jboss'/><title type='text'>JBoss 5.1上WebApp叫用EJB2錯誤...</title><content type='html'>由於工作需要需要學EJB2,便想在JBoss 5.1上作測試,但遇到在&lt;br /&gt;JBOSS 5上的web app呼叫EJB2 SessionBean,出錯：&lt;br /&gt;&lt;pre&gt;javax.ejb.EJBException: Invalid invocation,&lt;br /&gt;check your deployment packaging, method=public .....&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;1. 下列文章指出在jboss 4的解決設定方法：&lt;br /&gt;&lt;a href="http://forums.sun.com/thread.jspa?threadID=557629"&gt;http://forums.sun.com/thread.jspa?threadID=557629&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.javaworld.com.tw/roller/secretguest0824/entry/jboss_ejb_%E9%96%8B%E7%99%BC%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A0%85%E6%95%B4%E7%90%86_ejb2_0"&gt;http://www.javaworld.com.tw/roller/secretguest0824/entry/&lt;br /&gt;jboss_ejb_%E9%96%8B%E7%99%BC%E6%B3%A8%E6%84%8F%E4%&lt;br /&gt;BA%8B%E9%A0%85%E6%95%B4%E7%90%86_ejb2_0&lt;/a&gt;&lt;br /&gt;&lt;a href="http://xmh517.javaeye.com/blog/209056"&gt;http://xmh517.javaeye.com/blog/209056&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. 下列文章指出 此問題應該是 classloader策略造成的問題：&lt;br /&gt;&lt;a href="http://daivd.tao.jdon.com/jivejdon/thread/35659"&gt;http://daivd.tao.jdon.com/jivejdon/thread/35659&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. 下列文章指出 jboss 5上的web程式設定classloader策略的方法：&lt;br /&gt;&lt;a href="http://community.jboss.org/wiki/useJBossWebClassLoaderinJboss5"&gt;http://community.jboss.org/wiki/useJBossWebClassLoaderinJboss5&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;所以我們要做的就是在WAR的web-inf下新增一個  &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;jboss-classloading.xm&lt;/span&gt;l檔案,讓其classloading path domain能與EJB的domain區隔開來,其內容為：&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br /&gt;&amp;lt;classloading xmlns="urn:jboss:classloading:1.0"&lt;br /&gt;name="ejb01_web.war"&lt;br /&gt;domain="DefaultDomain"&lt;br /&gt;parent-domain="Ignored"&lt;br /&gt;export-all="NON_EMPTY"&lt;br /&gt;import-all="true"&amp;gt;&lt;br /&gt;&amp;lt;/classloading&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1719099478973114190?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1719099478973114190/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1719099478973114190' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1719099478973114190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1719099478973114190'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/03/jboss-51webappejb2.html' title='JBoss 5.1上WebApp叫用EJB2錯誤...'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8503757418000951788</id><published>2010-03-10T17:59:00.000-08:00</published><updated>2010-03-10T18:03:09.297-08:00</updated><title type='text'>這篇不關技術～</title><content type='html'>今天在ZDNet看到一篇報導：&lt;br /&gt;&lt;h5&gt;&lt;a href="http://www.zdnet.com.tw/news/software/0,2000085678,20144543,00.htm" target="_blank"&gt;[看HTC被蘋果告] 前昇陽CEO提跟蘋果、微軟交手侵權內幕&lt;/a&gt;&lt;/h5&gt;撇開技術好壞不講,某些大公司財大氣粗總是拿法律來嚇人,&lt;br /&gt;看了這篇文章覺的：&lt;br /&gt;Jonathan Schwartz幹得好～&lt;br /&gt;&lt;br /&gt;（以上純屬小弟個人觀點..）&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8503757418000951788?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8503757418000951788/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8503757418000951788' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8503757418000951788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8503757418000951788'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/03/blog-post.html' title='這篇不關技術～'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1153308629054167305</id><published>2010-03-07T23:06:00.000-08:00</published><updated>2010-06-18T17:24:09.745-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaMail'/><title type='text'>JavaMail 郵件附檔中文檔名亂碼解決</title><content type='html'>JavaMail 郵件附檔中文檔名亂碼解決方法~&lt;br /&gt;請參考：&lt;br /&gt;&lt;a href="http://www.javaworld.com.tw/jute/post/view?bid=6&amp;amp;id=200880&amp;amp;sty=3" target="_blank"&gt;http://www.javaworld.com.tw/jute/post/view?bid=6&amp;amp;id=200880&amp;amp;sty=3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;重點在49行的：&lt;br /&gt;&lt;span class="javascript" id="text200880"&gt;&lt;pre&gt;mbp2.setFileName(&lt;span style="color: rgb(255, 0, 0);"&gt;MimeUtility.encodeText(fds.getName(), &lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="java-string"&gt;"MS950"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="java-string"&gt;"B"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;)&lt;/span&gt;);&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1153308629054167305?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1153308629054167305/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1153308629054167305' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1153308629054167305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1153308629054167305'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/03/javamail.html' title='JavaMail 郵件附檔中文檔名亂碼解決'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8758622867079726610</id><published>2010-02-07T17:11:00.000-08:00</published><updated>2010-02-07T17:13:27.093-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><title type='text'>Run!PC 雲端運算智庫～</title><content type='html'>Run!PC 雲端運算智庫：&lt;br /&gt;&lt;a href="http://www.runpc.com.tw/index_cloud.aspx" target="_blank"&gt;http://www.runpc.com.tw/index_cloud.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;裡頭有許多關於雲端運算的文章,推~~&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8758622867079726610?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8758622867079726610/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8758622867079726610' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8758622867079726610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8758622867079726610'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/02/runpc.html' title='Run!PC 雲端運算智庫～'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4859510471033629409</id><published>2010-01-27T01:36:00.000-08:00</published><updated>2010-07-01T08:13:07.731-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RowSet'/><title type='text'>JDBC RowSet API筆記簡報</title><content type='html'>&lt;span style="font-weight: bold;"&gt;JDBC RowSet API筆記簡報&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://docs.google.com/present/embed?id=dgj2zz2n_23583b63gf" frameborder="0" width="410" height="342"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4859510471033629409?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4859510471033629409/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4859510471033629409' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4859510471033629409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4859510471033629409'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/01/jdbc-rowset-api.html' title='JDBC RowSet API筆記簡報'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4627113458564263142</id><published>2010-01-26T05:49:00.000-08:00</published><updated>2010-07-01T08:13:45.817-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='Amazon'/><category scheme='http://www.blogger.com/atom/ns#' term='雲端運算'/><category scheme='http://www.blogger.com/atom/ns#' term='雲端'/><category scheme='http://www.blogger.com/atom/ns#' term='AWS'/><title type='text'>Amazon Web Services 介紹</title><content type='html'>Amazon Web Services 介紹&lt;br /&gt;&lt;iframe src="http://docs.google.com/present/embed?id=dgj2zz2n_342d4b74xdg" frameborder="0" width="410" height="342"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4627113458564263142?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4627113458564263142/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4627113458564263142' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4627113458564263142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4627113458564263142'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/01/amazon-web-services.html' title='Amazon Web Services 介紹'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-7298704663813469308</id><published>2010-01-11T01:47:00.000-08:00</published><updated>2010-06-18T17:26:41.467-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSTL'/><category scheme='http://www.blogger.com/atom/ns#' term='facelet'/><category scheme='http://www.blogger.com/atom/ns#' term='jsf'/><title type='text'>JSF/Facelet中使用JSTL</title><content type='html'>在JSF內使用Facelet並要使用JSTL,要注意：&lt;br /&gt;&lt;br /&gt;JSTL的URI是 http://java.sun.com/jstl/core，&lt;br /&gt;不能寫成http://java.sun.com/jsp/jstl/core&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/pre&gt;&lt;pre&gt;"&amp;gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&lt;br /&gt;xmlns:h="http://java.sun.com/jsf/html"&lt;br /&gt;xmlns:f="http://java.sun.com/jsf/core"&lt;br /&gt;xmlns:ui="http://java.sun.com/jsf/facelets"&lt;br /&gt;xmlns:a4j="http://richfaces.org/a4j"&lt;br /&gt;xmlns:rich="http://richfaces.org/rich" &lt;br /&gt;xmlns:c="http://java.sun.com/jstl/core"&amp;gt;&lt;br /&gt;.....(略)&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-7298704663813469308?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/7298704663813469308/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=7298704663813469308' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7298704663813469308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/7298704663813469308'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/01/jsffaceletjstl.html' title='JSF/Facelet中使用JSTL'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2186780721138400947</id><published>2010-01-03T05:02:00.000-08:00</published><updated>2010-01-03T05:25:43.478-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HttpClent'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>Apache HttpClient 4.x版</title><content type='html'>新的HttpClient 4.x版（API）在使用上與舊有的3.x版似乎有很大的差異,例如HTTP Post表單資料要設定form parameter時的用法：&lt;br /&gt;&lt;table border="1" bordercolor="black"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;pre&gt;&lt;br /&gt;//HttpClient 3.x&lt;br /&gt;//......&lt;br /&gt;HttpPost post = new HttpPost( URL );&lt;br /&gt;post.getParams().setParameter("input1", "val1");&lt;br /&gt;HttpResponse response=httpClient.execute(post);&lt;br /&gt;//.....&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;&lt;pre&gt;//HttpClient 4.x&lt;br /&gt;//......&lt;br /&gt;HttpPost post = new HttpPost( URL );&lt;br /&gt;List&lt;namevaluepair&gt; formparams = new ArrayList&lt;namevaluepair&gt;();&lt;br /&gt;formparams.add(new BasicNameValuePair( "input1", "val1" ));&lt;br /&gt;UrlEncodedFormEntity postEntity = &lt;br /&gt;    new UrlEncodedFormEntity(formparams, "UTF-8");&lt;br /&gt;post.setEntity(postEntity);&lt;br /&gt;HttpResponse response=httpClient.execute(post);&lt;br /&gt;//.....&lt;br /&gt;&lt;/namevaluepair&gt;&lt;/namevaluepair&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;4.x似乎在資料結構與使用上繁雜許多,除此之外,還有許多不同之處,詳見&lt;br /&gt;&lt;a href="http://hc.apache.org/httpcomponents-client/tutorial/html/" target="_blank"&gt;http://hc.apache.org/httpcomponents-client/tutorial/html/&lt;/a&gt;&lt;br /&gt;然而在4.x版本如上使用3.x的寫法,跑得起來嗎？答案是可以,但是非常不幸的某些加進去的parameter會不見（到底是被其他parameter覆蓋掉還是內部運作時被誤刪掉不得而知）, 所以建議使用4.x版還是參照著4.x的文件內的寫法來使用才好.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2186780721138400947?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2186780721138400947/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2186780721138400947' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2186780721138400947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2186780721138400947'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/01/apache-httpclient-4x.html' title='Apache HttpClient 4.x版'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3128944540071360425</id><published>2010-01-01T11:21:00.000-08:00</published><updated>2010-01-01T11:33:52.023-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='趨勢科技'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='雲端'/><category scheme='http://www.blogger.com/atom/ns#' term='hadoop'/><title type='text'>趨勢科技關於雲端運算與Hadoop的訓練影片</title><content type='html'>1. Cloud computing overview&lt;br /&gt;&lt;object width="400" height="300"&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4939282&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" /&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=4939282&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;p&gt;&lt;a href="http://vimeo.com/4939282"&gt;Cloud Computing Overview&lt;/a&gt; from &lt;a href="http://vimeo.com/user1808805"&gt;trend09contest&lt;/a&gt; on &lt;a href="http://vimeo.com"&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;2.Introduction to Hadoop&lt;br /&gt;&lt;object width="400" height="300"&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4939995&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" /&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=4939995&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;p&gt;&lt;a href="http://vimeo.com/4939995"&gt;Introduction to Hadoop&lt;/a&gt; from &lt;a href="http://vimeo.com/user1808805"&gt;trend09contest&lt;/a&gt; on &lt;a href="http://vimeo.com"&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;3.Introduction to MapReduce&lt;br /&gt;&lt;object width="400" height="302"&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4940522&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" /&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=4940522&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="302"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;p&gt;&lt;a href="http://vimeo.com/4940522"&gt;Introduction to MapReduce&lt;/a&gt; from &lt;a href="http://vimeo.com/user1808805"&gt;trend09contest&lt;/a&gt; on &lt;a href="http://vimeo.com"&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;4.Introduction to HBase&lt;br /&gt;&lt;object width="400" height="300"&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4943879&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" /&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=4943879&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;p&gt;&lt;a href="http://vimeo.com/4943879"&gt;Introduction to HBase&lt;/a&gt; from &lt;a href="http://vimeo.com/user1808805"&gt;trend09contest&lt;/a&gt; on &lt;a href="http://vimeo.com"&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3128944540071360425?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3128944540071360425/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3128944540071360425' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3128944540071360425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3128944540071360425'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2010/01/hadoop.html' title='趨勢科技關於雲端運算與Hadoop的訓練影片'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6109902876100618330</id><published>2009-12-11T22:58:00.000-08:00</published><updated>2009-12-11T23:06:00.641-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web application'/><category scheme='http://www.blogger.com/atom/ns#' term='web.xml'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='jboss'/><title type='text'>WebApp從tomcat遷移到jboss的data source問題</title><content type='html'>最近將WebApp從tomcat包成war檔移到jboss上,但卻履出現deploy failed失敗訊息，&lt;br /&gt;後來發現是data source問題,若web.xml裡面有&amp;lt;resource-ref&amp;gt;參考到資料來源的話，&lt;br /&gt;就要多一個jboss-web.xml設定jndi連結，詳細請參考：&lt;br /&gt;&lt;a href="http://confluence.atlassian.com/display/JIRAKB/JBoss+deployment+failure+-+missing+resource-ref+element+in+web.xml" target="_blank"&gt;JBoss deployment failure - missing resource-ref element in web.xml&lt;/a&gt;&lt;br /&gt;&lt;a href="http://confluence.atlassian.com/display/JIRAKB/How+to+configure+the+Jira+DataSource+on+JBoss"  target="_blank"&gt;How to configure the Jira DataSource on JBoss&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6109902876100618330?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6109902876100618330/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6109902876100618330' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6109902876100618330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6109902876100618330'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/12/webapptomcatjbossdata-source.html' title='WebApp從tomcat遷移到jboss的data source問題'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8725173618314692225</id><published>2009-11-18T01:11:00.000-08:00</published><updated>2009-11-18T01:12:42.970-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jpa'/><title type='text'>JPA 使用annotation設定self join結構的Entity bean</title><content type='html'>請參考：&lt;br /&gt;&lt;a href="http://detailfocused.blogspot.com/2009/05/jpa-self-join-table.html" target="_blank"&gt;http://detailfocused.blogspot.com/2009/05/jpa-self-join-table.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8725173618314692225?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8725173618314692225/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8725173618314692225' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8725173618314692225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8725173618314692225'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/11/jpa-annotationself-joinentity-bean.html' title='JPA 使用annotation設定self join結構的Entity bean'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3717453345686724393</id><published>2009-11-18T01:06:00.000-08:00</published><updated>2009-11-18T01:10:59.783-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='jpa'/><title type='text'>JPA/hibernate 使用MySQL讓資料為UTF-8 encoding</title><content type='html'>使用JPA/hibernate時若要讓預設資料庫的encoding為utf-8,並預設engine為innodb,則設定my.cnf在[mysqld]區段加上：&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;default-character-set=utf8&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;default-collation=utf8_general_ci&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;default-storage-engine=innodb&lt;/span&gt;&lt;br /&gt;另外,Datasource JDBC url要加上&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;?characterEncoding=UTF-8&amp;amp;useUnicode=true&amp;amp;connectionCollation=utf8_general_ci&amp;amp;characterSetResults=utf8&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3717453345686724393?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3717453345686724393/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3717453345686724393' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3717453345686724393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3717453345686724393'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/11/jpahibernate-mysqlutf-8-encoding.html' title='JPA/hibernate 使用MySQL讓資料為UTF-8 encoding'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4796849263249210222</id><published>2009-10-27T19:43:00.000-07:00</published><updated>2010-07-01T08:15:45.481-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='websphere'/><category scheme='http://www.blogger.com/atom/ns#' term='liferay'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat 6'/><category scheme='http://www.blogger.com/atom/ns#' term='portal'/><title type='text'>Liferay Portal Server 5.2.3安裝於tomcat 6 &amp; Websphere AP Server 6.1筆記</title><content type='html'>&lt;iframe src="http://docs.google.com/present/embed?id=dgj2zz2n_249d8m7dntx" frameborder="0" width="410" height="342"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4796849263249210222?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4796849263249210222/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4796849263249210222' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4796849263249210222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4796849263249210222'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/10/liferay-portal-server-523tomcat-6.html' title='Liferay Portal Server 5.2.3安裝於tomcat 6 &amp; Websphere AP Server 6.1筆記'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3412561385587209323</id><published>2009-10-19T10:52:00.000-07:00</published><updated>2009-10-19T10:53:17.165-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>兩篇關於Eclipse的線上教學</title><content type='html'>&lt;a href="http://www.fosslc.org/drupal/node/557"&gt;Introduction to Eclipse and Mylyn&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.fosslc.org/drupal/node/451"&gt;EclipseLink and Dali integration in Eclipse Galileo&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3412561385587209323?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3412561385587209323/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3412561385587209323' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3412561385587209323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3412561385587209323'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/10/eclipse.html' title='兩篇關於Eclipse的線上教學'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-8066946817161572464</id><published>2009-10-18T22:15:00.000-07:00</published><updated>2009-10-18T22:23:34.598-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='captcha'/><category scheme='http://www.blogger.com/atom/ns#' term='反圖靈測試'/><category scheme='http://www.blogger.com/atom/ns#' term='simpleCaptcha'/><title type='text'>Captcha反圖靈測試</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://simplecaptcha.sourceforge.net/i/example_outline_noisy.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 50px;" src="http://simplecaptcha.sourceforge.net/i/example_outline_noisy.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://simplecaptcha.sourceforge.net/i/example_big.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 225px; height: 75px;" src="http://simplecaptcha.sourceforge.net/i/example_big.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;關於Captcha的介紹請參閱：&lt;a href="http://zh.wikipedia.org/wiki/CAPTCHA" target="_blank"&gt;http://zh.wikipedia.org/wiki/CAPTCHA&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;而Captcha的JAVA開源碼實作品為 &lt;a href="http://simplecaptcha.sourceforge.net/" target="_blank"&gt;SimpleCaptcha&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-8066946817161572464?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/8066946817161572464/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=8066946817161572464' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8066946817161572464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/8066946817161572464'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/10/captcha.html' title='Captcha反圖靈測試'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3749482603409322564</id><published>2009-10-15T01:21:00.000-07:00</published><updated>2010-07-01T08:16:40.188-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='liferay'/><category scheme='http://www.blogger.com/atom/ns#' term='portal'/><title type='text'>Liferay Portal繁體中文翻譯外掛</title><content type='html'>Liferay Portal是一套功能相當齊全的open source portal server，&lt;br /&gt;但國內似乎不是很多人用，&lt;br /&gt;然而其內附的介面中文翻譯說真的是辭不達意容易令人造成誤解(或不解)，&lt;br /&gt;我猜應該是外國人用翻譯軟體做的。&lt;br /&gt;今小弟重新整理了zh_TW的中文翻譯，&lt;a href="http://www.box.net/shared/ar8mx5mguc" target="_blank"&gt;並做成了外掛，放在這裡，&lt;/a&gt;&lt;br /&gt;歡迎有需要的人下載使用。&lt;br /&gt;&lt;br /&gt;安裝方法 -&lt;br /&gt;將此 WAR 檔案放到 ${liferay_home_dir}/deploy 後，&lt;br /&gt;Liferay portal會自動進行安裝，&lt;br /&gt;待安裝完後，請刪除Tomcat的Work內的所有檔案，重啟Tomcat。&lt;br /&gt;&lt;br /&gt;關於如何使用Plug-in SDK 來修改語言 properties可參考:&lt;br /&gt;&lt;a href="http://wikis.sun.com/display/websynergy/Customizing+Language.properties+using+hooks+plugin" target="_blank"&gt;http://wikis.sun.com/display/websynergy/&lt;br /&gt;Customizing+Language.properties+using+hooks+plugin&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3749482603409322564?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3749482603409322564/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3749482603409322564' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3749482603409322564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3749482603409322564'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/10/liferay-portal.html' title='Liferay Portal繁體中文翻譯外掛'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1649613153756761202</id><published>2009-10-11T10:05:00.000-07:00</published><updated>2009-10-11T10:06:12.641-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>同時運行多個Tomcat instance的方法</title><content type='html'>詳請見：&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.csdn.net/hansoft/archive/2006/04/01/647060.aspx"&gt;運行多個tomcat實例兩法&lt;br /&gt;http://blog.csdn.net/hansoft/archive/2006/04/01/647060.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1649613153756761202?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1649613153756761202/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1649613153756761202' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1649613153756761202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1649613153756761202'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/10/tomcat-instance.html' title='同時運行多個Tomcat instance的方法'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1943168847938928026</id><published>2009-10-06T02:00:00.000-07:00</published><updated>2009-10-06T02:49:13.751-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenSSO'/><title type='text'>OpenSSO安裝問題</title><content type='html'>將OpenSSO WAR檔上到了tomcat,開啟Web介面執行第一次設定時，&lt;br /&gt;使用簡易設定(使用內建OpenDS)會發生NullPointException,&lt;br /&gt;tomcat console會出現「@BASE_DIR@\install.log找不到檔案路徑」訊息，&lt;br /&gt;經百般找尋解決方法，發現到&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;strong&gt;windows 控制台設定地區選項先改為英語-美國，&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;strong&gt;確認後重啟tomcat,開啟Opensso Web介面，&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;strong&gt;再次執行配置就OK了，&lt;br /&gt;接著再次將地區選項設回來&lt;/strong&gt;&lt;/span&gt;，即可正常使用。&lt;br /&gt;&lt;br /&gt;問題在於內建的OpenDS在叫用java的KeyTool工具產生金鑰時，&lt;br /&gt;若我們當前使用者設定的地區非為英文語系者，則Keytool產生的提示訊息非為英文語系，&lt;br /&gt;則此時便會無法正常產生金鑰，便會導致此失敗~~&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;詳請見:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;a target="_blank" href="http://markmail.org/message/5ne5lcjzoezxarlz#query:Error%20while%20attempting%20to%20generate%20a%20self-signed%20certificate%20ads-certificate%20in%20the%20trust%20store%20file%20config%2Fads-truststore%3A%20KeyStoreException%28Multi-prompt%20didn%27t%20match+page:1+mid:sjwepz5abub4nbmp+state:results"&gt;http://markmail.org/message/5ne5lcjzoezxarlz#query:Error%20while%20attempting%20to%20generate%20a%20self-signed%20certificate%20ads-certificate%20in%20the%20trust%20store%20file%20config%2Fads-truststore%3A%20KeyStoreException%28Multi-prompt%20didn%27t%20match+page:1+mid:sjwepz5abub4nbmp+state:results&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1943168847938928026?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1943168847938928026/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1943168847938928026' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1943168847938928026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1943168847938928026'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/10/opensso.html' title='OpenSSO安裝問題'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1127738397456994246</id><published>2009-09-18T01:16:00.000-07:00</published><updated>2009-09-20T18:52:43.463-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='Https'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>啟用tomcat內建之HTTPS</title><content type='html'>1. 到 %JAVA_HOME%\bin目錄， 執行：&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;keytool -genkey -alias tomcat -keyalg RSA&lt;/span&gt;&lt;br /&gt;輸入keystore密碼：  **********&lt;br /&gt;您的名字與姓氏是什麼？&lt;br /&gt;[Unknown]：  Lili.Wang&lt;br /&gt;您的組織單位名稱是什麼？&lt;br /&gt;[Unknown]： myCompany&lt;br /&gt;您的組織名稱是什麼？&lt;br /&gt;[Unknown]： myCompany&lt;br /&gt;您所在的城市或區域名稱是什麼？&lt;br /&gt;[Unknown]： Taipei&lt;br /&gt;您所在的州或省份名稱是什麼？&lt;br /&gt;[Unknown]： Taiwan&lt;br /&gt;該單位的兩字母國家代碼是什麼&lt;br /&gt;[Unknown]： TW&lt;br /&gt;CN=Lili.Wang, OU=myCompany, O=myCompany, L=Taipei, ST=Taiwan, C=TW正確嗎？&lt;br /&gt;[否]： y&lt;br /&gt;&lt;br /&gt;輸入&lt;tomcat&gt;的主密碼&lt;br /&gt;   （如果和 keystore 密碼相同，按回車）： {{直接按enter}}&lt;br /&gt;&lt;br /&gt;2. 編輯 tomcat 的conf\server.xml找到下面區段，取消註解，並加上紅字部分，紅字雙引號內的值與第一步的密碼要相同&lt;br /&gt;&amp;lt;Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"&lt;br /&gt;            maxThreads="150" scheme="https" secure="true" &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;keystorePass="**********"&lt;/span&gt;&lt;br /&gt;            clientAuth="false" sslProtocol="TLS" /&amp;gt;&lt;br /&gt;&lt;br /&gt;3. 重啟Tomcat&lt;br /&gt;&lt;br /&gt;4. 開啟瀏覽器 https://localhost:8443 ，測試是否成功&lt;br /&gt;&lt;br /&gt;(P.S. 要注意的是如果用admin1身份執行tomcat,則就要以admin1登入執行&lt;/tomcat&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;keytool -genkey&lt;span style="color: rgb(0, 0, 0);"&gt;指令&lt;/span&gt;&lt;/span&gt;&lt;tomcat&gt;)&lt;br /&gt;&lt;/tomcat&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1127738397456994246?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1127738397456994246/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1127738397456994246' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1127738397456994246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1127738397456994246'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/09/tomcathttps.html' title='啟用tomcat內建之HTTPS'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6475841795075935380</id><published>2009-09-17T23:42:00.000-07:00</published><updated>2009-09-17T23:46:04.603-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Tomcat 開啟 Access Log</title><content type='html'>Access Log會紀錄哪個時間哪個IP連入tomcat哪個網址，&lt;br /&gt;tomcat是使用VALV的機制達成(類似filter)，預設並無開啟，&lt;br /&gt;若要開啟則須 修改conf\server.xml，找到&lt;ENGINE&gt;內有一段&lt;br /&gt;      &lt;Valve className="org.apache.catalina.valves.AccessLogValve"&lt;br /&gt;            directory="logs" prefix="localhost_access_log." suffix=".log" &lt;br /&gt;            pattern="common" resolveHosts="false"/&gt;&lt;br /&gt;把前後包夾的註解符號拿掉後，存檔，重啟tomcat，便會在log目錄裡面看到&lt;br /&gt;localhost_access_log.開頭的紀錄檔了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6475841795075935380?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6475841795075935380/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6475841795075935380' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6475841795075935380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6475841795075935380'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/09/tomcat-access-log.html' title='Tomcat 開啟 Access Log'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5803271078059039169</id><published>2009-09-08T22:43:00.000-07:00</published><updated>2010-07-01T08:18:26.838-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='websphere'/><category scheme='http://www.blogger.com/atom/ns#' term='cluster'/><category scheme='http://www.blogger.com/atom/ns#' term='was'/><category scheme='http://www.blogger.com/atom/ns#' term='load balance'/><title type='text'>Websphere AP Server Cluster 筆記與實作</title><content type='html'>&lt;iframe src="http://docs.google.com/present/embed?id=dgj2zz2n_146g4h2pnc7" frameborder="0" width="410" height="342"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5803271078059039169?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5803271078059039169/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5803271078059039169' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5803271078059039169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5803271078059039169'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/09/websphere-ap-server-cluster.html' title='Websphere AP Server Cluster 筆記與實作'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-6956178431230191425</id><published>2009-08-19T03:19:00.000-07:00</published><updated>2009-08-19T03:35:29.074-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='global'/><category scheme='http://www.blogger.com/atom/ns#' term='mail'/><category scheme='http://www.blogger.com/atom/ns#' term='server.xml'/><category scheme='http://www.blogger.com/atom/ns#' term='datasource'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>tomcat  server.xml設定全域的DataSource / mailSession資源</title><content type='html'>所謂全域就是指同一tomcat中的所有context&lt;br /&gt;&lt;br /&gt;1. 在server.xml的&amp;lt;globalnamingresources&amp;gt;中加入新的&amp;lt;resource&amp;gt;元素。&lt;br /&gt;2. 在context.xml的&amp;lt;context&amp;gt;中加入 &amp;lt;resourcelink name="mail/MailSession" global="mail/MailSession" type="javax.sql.DataSource"&amp;gt;&amp;lt;/resourcelink&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-6956178431230191425?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/6956178431230191425/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=6956178431230191425' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6956178431230191425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/6956178431230191425'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/08/tomcat-serverxmldatasource-mailsession.html' title='tomcat  server.xml設定全域的DataSource / mailSession資源'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-185672248922541781</id><published>2009-08-04T19:05:00.000-07:00</published><updated>2009-08-04T19:10:30.698-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jcs'/><category scheme='http://www.blogger.com/atom/ns#' term='Jakarta'/><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>JAVA Cache System</title><content type='html'>Java Cache System 是Apache Jakarta下的一個子專案，&lt;br /&gt;下為一篇介紹Java Cache System的文章：&lt;br /&gt;&lt;h2&gt;&lt;a href="http://www.caughtbyjava.com/knowing-cache-and-java-cache-system/"&gt;Knowing Cache and Java Cache System(英文)&lt;/a&gt;&lt;/h2&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-185672248922541781?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/185672248922541781/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=185672248922541781' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/185672248922541781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/185672248922541781'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/08/java-cache-system.html' title='JAVA Cache System'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4412222430832226072</id><published>2009-08-04T02:18:00.000-07:00</published><updated>2009-08-04T02:27:23.801-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ftp'/><category scheme='http://www.blogger.com/atom/ns#' term='mail'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>Apache的Mail Server、FTP Server都是純JAVA的</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;a href="http://james.apache.org/index.html"&gt;Apache JAMES Mail Server&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:180%;"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;而要將JAMES使用Windows Services的方式執行:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="css-CodeEmphasize"&gt;&lt;james-dir&gt;\bin&gt;wrapper -i ..\conf\wrapper.conf&lt;br /&gt;移除windows service:&lt;br /&gt;&lt;/span&gt;&lt;span class="css-CodeEmphasize"&gt;&lt;james-dir&gt;&lt;/span&gt;&lt;span class="css-CodeEmphasize"&gt;\bin&gt;wrapper -r ..\conf\wrapper.conf&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:180%;"&gt;&lt;a href="http://mina.apache.org/ftpserver/"&gt;Apache FTP Server&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;要將FTP Server以服務方式執行:&lt;br /&gt;&lt;ftp-server-dir&gt;\bin\&lt;/span&gt;&lt;/span&gt;service install&lt;br /&gt;移除windows service:&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;ftp-server-dir&gt;\bin\&lt;/span&gt;&lt;/span&gt;service remove&lt;br /&gt;&lt;span class="css-CodeEmphasize"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4412222430832226072?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4412222430832226072/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4412222430832226072' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4412222430832226072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4412222430832226072'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/08/apachemail-serverftp-serverjava.html' title='Apache的Mail Server、FTP Server都是純JAVA的'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-3224084008196612722</id><published>2009-07-20T02:14:00.000-07:00</published><updated>2009-07-20T02:17:10.016-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='debug'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Eclipse + tomcat 遠端Debug</title><content type='html'>[Tomcat端]&lt;br /&gt;修改catalina.bat&lt;br /&gt;set JAVA_OPTS=%JAVA_OPTS% -Xmx256m  這行後面加上&lt;br /&gt; -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888&lt;br /&gt;&lt;br /&gt;[Eclipse端]&lt;br /&gt;自己google一下吧&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-3224084008196612722?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/3224084008196612722/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=3224084008196612722' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3224084008196612722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/3224084008196612722'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/07/eclipse-tomcat-debug.html' title='Eclipse + tomcat 遠端Debug'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-2417834110138147161</id><published>2009-06-21T00:27:00.000-07:00</published><updated>2009-06-21T00:35:20.205-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Apache DS'/><category scheme='http://www.blogger.com/atom/ns#' term='Directory Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>Apache Directory Server</title><content type='html'>Apache DS是一個通過LDAP v3相容性認證open source目錄伺服器。&lt;br /&gt;Apache DS是100%的JAVA應用程式，可內嵌於Java應用程式或是以獨立伺服器方式運作。&lt;br /&gt;&lt;br /&gt;官方網站: &lt;a href="http://directory.apache.org/" target="_blank"&gt;http://directory.apache.org/&lt;/a&gt;&lt;br /&gt;除了Directory Server外, 還有Apache Directory Studio是Eclipse-based工具，可用來操作Directory Server的內容。&lt;br /&gt;&lt;br /&gt;相關參考文章:&lt;br /&gt;&lt;h2 style="font-family: arial;"&gt;&lt;a href="http://www.screaming-penguin.com/node/5677" target="_blank"&gt;&lt;span style="font-size:100%;"&gt;ApacheDS and Tomcat For J2EE Authentication&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;&lt;a href="http://directory.apache.org/community%26resources/articles.html" target="_blank"&gt;Articals&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-2417834110138147161?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/2417834110138147161/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=2417834110138147161' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2417834110138147161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/2417834110138147161'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/06/apache-directory-server.html' title='Apache Directory Server'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-805980275697400502</id><published>2009-05-21T02:12:00.000-07:00</published><updated>2009-05-21T02:13:32.804-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='zip'/><title type='text'>用Java壓縮/解壓縮Zip檔案</title><content type='html'>相當實用的文章：&lt;br /&gt;&lt;a href="http://www.wretch.cc/blog/five/9180695" target="_blank"&gt;[JAVA] zip壓縮 與 解壓縮&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-805980275697400502?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/805980275697400502/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=805980275697400502' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/805980275697400502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/805980275697400502'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/05/javazip.html' title='用Java壓縮/解壓縮Zip檔案'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1002785827371164638</id><published>2009-05-21T00:48:00.000-07:00</published><updated>2009-05-21T00:57:25.953-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jBPM'/><title type='text'>jBPM 3.2.6安裝後問題</title><content type='html'>jBPM 3.2.6安裝後登入web-console後發現，&lt;br /&gt;所有資料表內的資料都被清空了，&lt;br /&gt;要解決這個問題要修改 hibernate.cfg.xml 內的 &lt;br /&gt;&amp;lt;property name="hibernate.hbm2ddl.auto"&amp;gt;create&amp;lt;/property&amp;gt;&lt;br /&gt;改為&lt;br /&gt;&amp;lt;property name="hibernate.hbm2ddl.auto"&amp;gt;update&amp;lt;/property&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1002785827371164638?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1002785827371164638/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1002785827371164638' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1002785827371164638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1002785827371164638'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/05/jbpm-326.html' title='jBPM 3.2.6安裝後問題'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-1045593900188576609</id><published>2009-05-19T23:33:00.000-07:00</published><updated>2009-05-21T19:13:25.006-07:00</updated><title type='text'>jBPM 3.2.6安裝於Tomcat 6 由eclipse啟動</title><content type='html'>1. 依&lt;br /&gt;&lt;a href="http://www.javaworld.com.tw/jute/post/view?bid=43&amp;amp;id=255869"&gt;http://www.javaworld.com.tw/jute/post/view?bid=43&amp;amp;id=255869&lt;/a&gt;&lt;br /&gt;安裝，並記得將build path 的output目錄設到/WEB-INF/classes並將hibernate.cfg.xml放到其中。&lt;br /&gt;&lt;br /&gt;2. 接著參考&lt;br /&gt;&lt;a href="http://linliangyi2007.javaeye.com/blog/176339"&gt;http://linliangyi2007.javaeye.com/blog/176339&lt;/a&gt;&lt;br /&gt;step5的sql指令將user資料插入mysql&lt;br /&gt;或使用下列sql指令:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;INSERT INTO JBPM_ID_GROUP VALUES(2,'G','admin','security-role',NULL);&lt;br /&gt;INSERT INTO JBPM_ID_GROUP VALUES(3,'G','user','security-role',NULL); &lt;br /&gt;INSERT INTO JBPM_ID_GROUP VALUES(5,'G','manager','security-role',NULL); &lt;br /&gt;&lt;br /&gt;INSERT INTO JBPM_ID_USER VALUES(1,'U','user','user@sample.domain','user');&lt;br /&gt;INSERT INTO JBPM_ID_USER VALUES(2,'U','manager','manager@sample.domain','manager'); &lt;br /&gt;INSERT INTO JBPM_ID_USER VALUES(3,'U','admin','admin@sample.domain','admin');&lt;br /&gt;&lt;br /&gt;INSERT INTO JBPM_ID_MEMBERSHIP VALUES(5,'M',NULL,NULL,1,3);&lt;br /&gt;INSERT INTO JBPM_ID_MEMBERSHIP VALUES(6,'M',NULL,NULL,2,3);&lt;br /&gt;INSERT INTO JBPM_ID_MEMBERSHIP VALUES(7,'M',NULL,NULL,3,3);&lt;br /&gt;INSERT INTO JBPM_ID_MEMBERSHIP VALUES(8,'M',NULL,NULL,3,2);&lt;br /&gt;INSERT INTO JBPM_ID_MEMBERSHIP VALUES(9,'M',NULL,NULL,2,2);&lt;br /&gt;INSERT INTO JBPM_ID_MEMBERSHIP VALUES(10,'M',NULL,NULL,2,5); &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3. 另外若在jbpm_id_group裡面若有另外新增security-role,便須修改web.xml,如下範例：&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;....略....&lt;br /&gt;  &amp;lt;security-role&amp;gt;&lt;br /&gt;    &amp;lt;role-name&amp;gt;admin&amp;lt;/role-name&amp;gt;&lt;br /&gt;  &amp;lt;/security-role&amp;gt;&lt;br /&gt;  &amp;lt;security-role&amp;gt;&lt;br /&gt;    &amp;lt;role-name&amp;gt;user&amp;lt;/role-name&amp;gt;&lt;br /&gt;  &amp;lt;/security-role&amp;gt; &lt;br /&gt;  &amp;lt;security-role&amp;gt;&lt;br /&gt;    &amp;lt;role-name&amp;gt;participant&amp;lt;/role-name&amp;gt;&lt;br /&gt;  &amp;lt;/security-role&amp;gt; &lt;br /&gt;....略....&lt;br /&gt;  &amp;lt;security-constraint&amp;gt;&lt;br /&gt;    &amp;lt;web-resource-collection&amp;gt;&lt;br /&gt;      &amp;lt;web-resource-name&amp;gt;Secure Area&amp;lt;/web-resource-name&amp;gt;&lt;br /&gt;      &amp;lt;url-pattern&amp;gt;/app/*&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;GET&amp;lt;/http-method&amp;gt;&lt;br /&gt;      &amp;lt;http-method&amp;gt;POST&amp;lt;/http-method&amp;gt;&lt;br /&gt;    &amp;lt;/web-resource-collection&amp;gt;&lt;br /&gt;    &amp;lt;auth-constraint&amp;gt;&lt;br /&gt;      &amp;lt;role-name&amp;gt;user&amp;lt;/role-name&amp;gt;&lt;br /&gt;      &amp;lt;role-name&amp;gt;admin&amp;lt;/role-name&amp;gt;&lt;br /&gt;      &amp;lt;role-name&amp;gt;participant&amp;lt;/role-name&amp;gt;&lt;br /&gt;    &amp;lt;/auth-constraint&amp;gt;&lt;br /&gt;  &amp;lt;/security-constraint&amp;gt;&lt;br /&gt;....略....&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;上列的role-name對應到jbpm_id_group的name_&lt;br /&gt;&lt;br /&gt;4.&lt;br /&gt;ok ~&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-1045593900188576609?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/1045593900188576609/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=1045593900188576609' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1045593900188576609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/1045593900188576609'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/05/jbpm-326tomcat-6-eclipse.html' title='jBPM 3.2.6安裝於Tomcat 6 由eclipse啟動'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-5957168766301200289</id><published>2009-05-11T09:52:00.000-07:00</published><updated>2009-05-11T09:55:01.666-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JTable'/><category scheme='http://www.blogger.com/atom/ns#' term='swing'/><title type='text'>Swing JTable 按下table header某欄照該欄排序</title><content type='html'>Swing JTable 按下table header某欄照該欄排序&lt;br /&gt;&lt;a href="http://www.java2s.com/Code/Java/Swing-JFC/JTablesorterclickthetableheadertosortacolumnandatable.htm" target="_blank"&gt;範例程式:&lt;br /&gt;http://www.java2s.com/Code/Java/Swing-JFC/JTablesorterclickthetableheadertosortacolumnandatable.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-5957168766301200289?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/5957168766301200289/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=5957168766301200289' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5957168766301200289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/5957168766301200289'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/05/swing-jtable-table-header.html' title='Swing JTable 按下table header某欄照該欄排序'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7313728394348676131.post-4179558368747902977</id><published>2009-05-10T03:45:00.000-07:00</published><updated>2009-05-11T09:55:33.826-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='properties'/><category scheme='http://www.blogger.com/atom/ns#' term='native2ascii'/><category scheme='http://www.blogger.com/atom/ns#' term='propertiesEditor'/><title type='text'>native2ascii與Eclipse --&gt; PropertiesEditor</title><content type='html'>請參見：&lt;br /&gt;&lt;a href="http://tw.myblog.yahoo.com/eoda227/article?mid=224&amp;amp;prev=-1&amp;amp;next=220" target="_blank"&gt;http://tw.myblog.yahoo.com/eoda227/article?mid=224&amp;amp;prev=-1&amp;amp;next=220&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7313728394348676131-4179558368747902977?l=myjavanote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myjavanote.blogspot.com/feeds/4179558368747902977/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7313728394348676131&amp;postID=4179558368747902977' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4179558368747902977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7313728394348676131/posts/default/4179558368747902977'/><link rel='alternate' type='text/html' href='http://myjavanote.blogspot.com/2009/05/native2asciieclipse-propertieseditor.html' title='native2ascii與Eclipse --&gt; PropertiesEditor'/><author><name>Dolph Lei</name><uri>https://profiles.google.com/102679520656584705437</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-w9-v7kEPa8U/AAAAAAAAAAI/AAAAAAAABiM/aDsdqI8VR4I/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
