<?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-19912771</id><updated>2011-11-25T21:27:27.070+08:00</updated><title type='text'>BEA到台灣、BEA在台灣</title><subtitle type='html'>BEA產品資訊交流</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>BEA 台灣</name><uri>http://www.blogger.com/profile/15023424161355393525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos1.blogger.com/blogger/5723/1980/1600/logo_bea_home.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19912771.post-117306448839060156</id><published>2007-03-05T11:14:00.000+08:00</published><updated>2007-03-05T11:16:37.893+08:00</updated><title type='text'>IBM on SOA 的經驗分享</title><summary type='text'>SOA Goes Vertical: But IBM Still Not There Yet.</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/117306448839060156/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=117306448839060156' title='305 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/117306448839060156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/117306448839060156'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2007/03/ibm-on-soa.html' title='IBM on SOA 的經驗分享'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>305</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-115070483818750535</id><published>2006-06-19T16:13:00.000+08:00</published><updated>2006-06-19T16:31:16.000+08:00</updated><title type='text'>Weblogic Server: Spring Console設定</title><summary type='text'>自從去年(2005)BEA宣誓力挺Opensource應用程式框架以來，BEA和Spring Framework的Interface21就走的越來越近。除了和Interface21簽訂互相技術支援的合約外，Interface21和bea的工程師更是有許多技術底層的交流。Spring Console就是這樣的交流當中所衍生出來的一種產品。首先，定位一下什麼是Spring Console。Spring Console並不是開發時期的工具，而是應用程式部署在Weblogic平台上的一個JMX監控工具。大家都知道，從Spring 1.2以來，我們就可以透過MBeanExporter將任何一個POJO註冊在MBeanServer上成為一個JMX Standard MBean，然後就可以透過MC4J這樣的JMX監控工具來管理這樣的MBean。Spring Console可以被當作是一個JMX的Web</summary><link rel='related' href='http://dev2dev.bea.com/pub/a/2005/09/spring_integration_weblogic_server.html' title='Weblogic Server: Spring Console設定'/><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/115070483818750535/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=115070483818750535' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/115070483818750535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/115070483818750535'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2006/06/weblogic-server-spring-console.html' title='Weblogic Server: Spring Console設定'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-115014057485657796</id><published>2006-06-13T03:29:00.000+08:00</published><updated>2006-06-20T10:35:51.550+08:00</updated><title type='text'>WebLogic Server: 交易的迷思</title><summary type='text'>一般的程式設計師對於單一資料源的交易處理機制都有一定的了解。所謂的交易控管，用白話文來說，就是只要我需要一次更動多筆資料，而這個更動的行為在邏輯上是一個具有業務價值的單一行為，我就需要交易的處理機制。但是比較少人花心思去了解的是J2EE裡頭規範Application Server必須Follow的XA Transaction Protocol以及更具有價值的Transaction Recovery機制。接下來我想要點出的是一般人的迷思：迷思：只有在多重資料庫的資料更新場合才需要2PC。事實上只要你有兩個以上的DataSource想要同時參與一個Transaction，你就需要2PC。除非你自行處理所有的交易補償邏輯，否則兩個以上的Local Transaction，是不會有相互關連，資料的正確性也就大大的有問題了。迷思：只要依賴資料庫的交易機制，我的資料正確性就無懈可擊！假設</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/115014057485657796/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=115014057485657796' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/115014057485657796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/115014057485657796'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2006/06/weblogic-server.html' title='WebLogic Server: 交易的迷思'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113678986041908947</id><published>2006-01-09T14:50:00.000+08:00</published><updated>2006-01-09T14:57:40.790+08:00</updated><title type='text'>WebLogic所提供的Demo Keystore密碼</title><summary type='text'>雖然不建議在Production環境使用Demo的JKS (因為Demo憑證的CA是WebLogic, 所以所有的WebLogic只要用Demo的JKS會互相信任, 會變成一個嚴重的安全漏洞), 但在開發過程還是很多朋友會用預設的環境。WebLogic 預設會找尋JDK的憑證, 然後就是這二個JKS: DemoTrust.jks與DemoIdentity.jks, 這二個檔都是在$BEA_HOME/weblogic81/server/lib裡, 開啟的密碼分別是DemoTrustKeyStorePassPhrase與DemoIdentityKeyStorePassPhrase。如果不喜歡用keytool操作的, 可以試試看這個GUI工具, KeyStore Explorer .</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113678986041908947/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113678986041908947' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113678986041908947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113678986041908947'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2006/01/weblogicdemo-keystore.html' title='WebLogic所提供的Demo Keystore密碼'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113643391860173824</id><published>2006-01-05T20:03:00.000+08:00</published><updated>2006-01-05T13:46:01.316+08:00</updated><title type='text'>監看WebLogic Server 9.1的記憶體使用狀況 - Sun HotSpot JVM</title><summary type='text'>這是個大題目，也是個AP Server管理/開發人員一定要瞭解的題目。記憶體的問題，在許多的狀況下都會發生，有時候是因為系統效能很差，這可能是因為記憶體不足，造成頻繁大量的GC而造成；有時候則是因為不時出現的OOM(Out Of Memory)錯誤。本文的目的不在教導大家如何調校記憶體，而是著重在如何使用工具來監控JVM的記憶體狀況。WebLogic Server 9.1 Admin Console可以自行加入extension，讓你用視覺化的方式監控記憶體的使用，不過目前既有的extension，只能讓你看到heap的總使用量，至於heap裡面的各個generation，或是在heap之外的記憶體，就無法獨立出來監看，例如Permanent Generation。這個時候，我們就必須藉助一些其他的工具。一般來說大家最常用的可能是Sun的JVM，除此之外目前在Windows、Linux、</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113643391860173824/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113643391860173824' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113643391860173824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113643391860173824'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2006/01/weblogic-server-91-sun-hotspot-jvm.html' title='監看WebLogic Server 9.1的記憶體使用狀況 - Sun HotSpot JVM'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113619856242360536</id><published>2006-01-02T18:41:00.000+08:00</published><updated>2006-01-02T18:42:43.810+08:00</updated><title type='text'>WebLogic SIP Server</title><summary type='text'>在Flickr放了一些關於SIP, IMS與WebLogic SIP Server的介紹, 歡迎參觀!網址在http://www.flickr.com/photos/kyhuang/sets/1726235/show/</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113619856242360536/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113619856242360536' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113619856242360536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113619856242360536'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2006/01/weblogic-sip-server.html' title='WebLogic SIP Server'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113575511333762804</id><published>2005-12-28T15:31:00.000+08:00</published><updated>2006-04-13T12:55:04.730+08:00</updated><title type='text'>AquaLogic Service Bus Deployment Resources</title><summary type='text'>AquaLogic Service Bus Deployment Resources根據上述的文件，AquaLogic Service Bus的Cluster在一個Domain當中只能夠有一個，和一個WebLogic Server能支援多個Cluster的概念是不太一樣的。另外，想要正確的設定一個AquaLogic Service Bus Cluster，請利用Configuration Wizard在一開始的時候就正確的實作Cluster的設定，否則要從單機的設定移轉到Cluster的設定是一件很麻煩的事情：你必需按照上述的文件「手動」部署所有需要用到的.war, .jar, .ear等模組，並且更新相關參數。</summary><link rel='related' href='http://e-docs.bea.com/alsb/docs21/deploy/cluster_res_appx.html' title='AquaLogic Service Bus Deployment Resources'/><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113575511333762804/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113575511333762804' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113575511333762804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113575511333762804'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/12/aqualogic-service-bus-deployment.html' title='AquaLogic Service Bus Deployment Resources'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113557730354595035</id><published>2005-12-26T14:08:00.000+08:00</published><updated>2006-04-11T18:23:37.920+08:00</updated><title type='text'>Spring Framework 2.0的新功能</title><summary type='text'>Dev2Dev有一篇文章介紹Spring 2.0的新功能。基本上，2.0新增的功能主要Focus在簡化設定檔的xml語法AOP：與AspectJ有更好的整合Post -Injection：以前Spring只能針對自己所初始化的物件Instance進行Dependency Injection，但是Spring 2.0能夠針對已經被其他Container(例如Servlet Container)所初始化的物件進行Dependency Injection。這代表著任何Servlet、POJO，甚至EJB都有可能由Spring來提供Dependency Injection的服務。排 程的新選項：CommonJ Timer/Workmanager。過去Spring主要支援兩種排程系統：JDK Timer以及Quartz。現在多加了CommonJ Timer/Workmanager的選項，</summary><link rel='related' href='http://dev2dev.bea.com/blog/jonmountjoy/archive/2005/12/javapolis_21_sp.html' title='Spring Framework 2.0的新功能'/><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113557730354595035/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113557730354595035' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113557730354595035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113557730354595035'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/12/spring-framework-20.html' title='Spring Framework 2.0的新功能'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113505698433900491</id><published>2005-12-20T13:29:00.000+08:00</published><updated>2006-04-11T18:24:53.023+08:00</updated><title type='text'>WebLogic Server 9.0:利用commons-logging API將Log寫到Server Log</title><summary type='text'>想要將Log寫到Server Log但是又不想使用NonCatalogLogger API嗎？不用改程式，做下面的幾件事情：在startWebLogic.cmd加入：set JAVA_OPTIONS=-Dorg.apache.commons.logging.LogFactory=weblogic.logging.commons.LogFactoryImpl在DOMAIN_HOME/lib下加入commons-logging API的jar到WEBLOGIC_HOME/server/lib下尋找wlcommons-logging.jar並且將jar放到DOMAIN_HOME/lib重新啟動Server之後，所有commons-logging的log就會導到server log中。</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113505698433900491/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113505698433900491' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113505698433900491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113505698433900491'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/12/weblogic-server-90commons-logging.html' title='WebLogic Server 9.0:利用commons-logging API將Log寫到Server Log'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113473197949041862</id><published>2005-11-26T23:04:00.000+08:00</published><updated>2006-01-05T10:14:25.940+08:00</updated><title type='text'>WebLogic Server 9.0: Log API 的支援</title><summary type='text'>最近在替WebLogic Server 9.0寫一個JOSSO的Plugin，就順便研究了一下WebLogic Server 9.0的Log機制有沒有什麼新功能。後來發現，9.0對於Log API的支援突然多了很多！在8.1的時代，如果要把Log寫入WebLogic Server的Server/Domain Log，一定要透過Catalog/NonCatalogLogger的API以及機制來做。9.0新增加了一個commons-logging的 Adaptor，讓開發人員能夠透過commons-logging的API來把Log寫入Server Log。另外也加入了Log4J的支援。WebLogic Server內建的Log機制在底層是用JDK本身的Logging package來做的；在這個部分，WebLogic Server 9.0允許管理人員在Runtime透過WLST或者Admin</summary><link rel='related' href='http://e-docs.bea.com/wls/docs90/i18n/app_logging.html' title='WebLogic Server 9.0: Log API 的支援'/><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113473197949041862/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113473197949041862' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113473197949041862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113473197949041862'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/11/weblogic-server-90-log-api.html' title='WebLogic Server 9.0: Log API 的支援'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530678711080460</id><published>2005-10-17T10:59:00.000+08:00</published><updated>2005-12-23T10:59:47.256+08:00</updated><title type='text'>同時使用用戶數與TPS的關係</title><summary type='text'>一般應用伺服器公佈的容量規劃(Capacity Planning)文件多是以TPS(每秒交易量; 交易的定義依測試標準而不同)計算, 但大部分的使用者需求是從多少個同時使用者(Concurrent Users)來衡量, 這有個簡單的算式來轉換TPS與同時連線使用者的關係:同時連線使用者人數 = (ETT x TPS) + TPSETT(Estimated Think Time): 預估的思考時間, 二個連續動作的休息時間依據這個算式, 如果二顆Sun Sparc 750Mhz的CPU在95%的利用率下, 可以榨出55.76 TPS, 假設思考的停留時間為4秒, 則同時連線人數可支撐到278.8 (4*55.76+55.76).</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530678711080460/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530678711080460' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530678711080460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530678711080460'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/10/tps.html' title='同時使用用戶數與TPS的關係'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113473134435279952</id><published>2005-09-30T00:13:00.000+08:00</published><updated>2006-04-21T14:41:01.200+08:00</updated><title type='text'>Weblogic Portal 8.1:整合LDAP</title><summary type='text'>LDAP的整合總是有一點神秘，但是又常常會碰到的問題。或許是因為相關書籍以及討論比較少，所以大部分的人對於這種技術並不如RDBMS那般的熟悉；但無形之中，LDAP在今天的IT系統當中仍然扮演相當重要的角色，比如說使用者帳號的存放以及管理。今天的文章當中，我準備要介紹怎麼將OpenLDAP整合到Weblogic Server 8.1的認證(Authentication)機制；為了讓各位能夠更容易了解整合的原理，我也會稍微介紹JAAS以及Weblogic Security Framework(說實話，JAAS本身就可以寫一本書了，所以有空再另外詳述)。至於Portal的部分，我則會介紹怎麼更進一步的設定LDAP整合，以及怎麼樣設定LDAP來達到巢狀使用群組(Nested Group)權限的繼承效果。有玩過Weblogic Server 8.1的朋友們應該很熟悉Weblogic Admin </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113473134435279952/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113473134435279952' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113473134435279952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113473134435279952'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/09/weblogic-portal-81ldap.html' title='Weblogic Portal 8.1:整合LDAP'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113473076015515211</id><published>2005-09-10T12:28:00.000+08:00</published><updated>2006-04-21T13:41:15.693+08:00</updated><title type='text'>Weblogic Portal 8.1: User Profile屬性以及Java型態之對應</title><summary type='text'>User Profile是Weblogic Portal 8.1個人化功能的核心。Entitlement、Campaign Management等功能都能夠以User Profile裡面的Property屬性作為底層規則引擎的判斷依據。然而，要怎麼樣才能夠在Web程式裡頭存取User Profile呢？JSP的部分有提供Tag Library，而Netui Java Pageflow的部分有提供Profile Control來作為一個API的User Profile存取介面。Profile Control的API當中，有許多方法可取得User Profile；如果你想取得的User Profile是隸屬於目前正在操作的User，則可以使用ProfileWrapper  aProfileWrapper = getProfileFromRequest( HttpServletRequest </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113473076015515211/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113473076015515211' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113473076015515211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113473076015515211'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/09/weblogic-portal-81-user-profilejava.html' title='Weblogic Portal 8.1: User Profile屬性以及Java型態之對應'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472859601223623</id><published>2005-08-31T12:25:00.000+08:00</published><updated>2005-12-16T18:23:16.156+08:00</updated><title type='text'>重新思考J2EE的意義</title><summary type='text'>最近抽空又重新拜讀了一本過去J2EE的經典書籍：Mastering Enterprise JavaBean 2nd Edition。這本書是在J2EE1.3的規格塵埃落定的時候出的，到現在少說也有大約三、四年的時間了吧！綜 觀過去三四年Enterprise Java的發展，我發現有兩種互相矛盾的現象同時在發生。第一種現象，當然就是J2EE成為許多企業的標準資訊基礎架構。Mission Critical的Deployment到處都見到了J2EE的影子，J2EE的運用不可不說是欣欣向榮；然而相對的，抱怨J2EE太複雜的聲音也越來越 多─這就是我要討論的第二種現象。   針對J2EE的檢討最有建設性的恐怕就是Spring Framework這個近年來最成功的Open Source Java Project。首先必須要澄清的是，其實Spring Framework的用途不僅只在J2EE的層次；</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472859601223623/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472859601223623' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472859601223623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472859601223623'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/08/j2ee.html' title='重新思考J2EE的意義'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113471886496164711</id><published>2005-08-23T00:21:00.000+08:00</published><updated>2006-04-21T13:56:32.743+08:00</updated><title type='text'>在Weblogic 8.1上跑Openlaszlo 3.0</title><summary type='text'>試了一小段時間了....跟各位分享一下心得。首先介紹一下什麼是Openlaszlo 3.0。Openlaszlo 是一個類似Macromedia Flex的Flash based presentation server。所謂的Presentation Server就是跳脫傳統HTTP Server服務html網頁的方式，以自己的獨特技術來提供一種客戶端的 UI呈現技術。舉例來說，Cocoon勉強可以算是一種 Presentation Server；Cocoon所提倡的xslt轉換能力，的確是在Presentation Tier提供了一套自己的UI呈現技術。不過如果我們把所謂的Presentation Server的定義縮小到「提供Rich Internet Application能力」的涵義，那所謂的Presentation Server大概就剩下Macromedia Flex、</summary><link rel='related' href='http://www.openlaszlo.org' title='在Weblogic 8.1上跑Openlaszlo 3.0'/><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113471886496164711/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113471886496164711' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113471886496164711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113471886496164711'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/08/weblogic-81openlaszlo-30.html' title='在Weblogic 8.1上跑Openlaszlo 3.0'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113471138767109688</id><published>2005-06-29T00:13:00.000+08:00</published><updated>2006-04-21T13:27:05.403+08:00</updated><title type='text'>通過BEA 8.1 Certified Administrator</title><summary type='text'>BEA 8.1 Certified Administrator是一個針對Weblogic Server管理員所量身訂做的認證。考試的內容側重於Clustering/Fail over的管理、效能調整、J2EE基本概念(1.3)、安全性等Production環境常常碰到的議題。考試分鐘120分鐘，69題，66% 就算及格。重點是在於Weblogic JMS/EJB/JTA部分的HA設定，題目在這方面著墨甚多，但是相對的只要能夠花點時間去了解Weblogic的特殊Behaviour，要通過這個考試並不會太困難：因為Weblogic Server的管理，本來就不會太困難:-)Technorati Tags: Java, Weblogic, J2EE, Programming</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113471138767109688/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113471138767109688' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113471138767109688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113471138767109688'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/06/bea-81-certified-administrator.html' title='通過BEA 8.1 Certified Administrator'/><author><name>Antony</name><uri>http://www.blogger.com/profile/09521621497479507392</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/3973/240/1600/61a6fc48.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472667856925637</id><published>2005-04-21T17:50:00.000+08:00</published><updated>2005-12-16T17:51:19.500+08:00</updated><title type='text'>在WebLogic Portal中，如何讓每個user看到不同的look and feel？</title><summary type='text'>在使用Portal的時候，讓user可以自己選擇版面的風格，或是利用不同的風格，來做一些使用者感覺上的區隔，算是再普通不過的需求了。例如，當一個 user登入系統之後，我們用程式去判斷使用屬於哪個群組，如果是內部員工，就給他藍色的版面，字體清晰；如果是外部的客戶，我們可能就利用很多圖片，和 比較活潑的顏色，把畫面弄得花俏一些，以吸引客戶的注意。在WebLogic Portal中，要做到這樣的功能，牽涉到幾件事情：1. 要有多組的look and feel用來切換&lt;--廢話 2.Portal必須在streamed mode下執行，file mode是做不到的 3.使用Backing file的機制，讓user在login之後，利用程式切換桌面look and feel的設定 其中，關於2的部分，如果您不清楚什麼是streamed mode，什麼又是file mode，請參考http: //</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472667856925637/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472667856925637' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472667856925637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472667856925637'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/04/weblogic-portaluserlook-and-feel.html' title='在WebLogic Portal中，如何讓每個user看到不同的look and feel？'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472663421257770</id><published>2005-03-30T17:50:00.000+08:00</published><updated>2005-12-16T17:50:35.800+08:00</updated><title type='text'>Virtual Directory範例</title><summary type='text'>WebLogic Server的Virtual Directory功能，可以讓多個Web Application共用同一個目錄下的資源。通常就是用來放一些每個Web Application都會用到的圖片、靜態頁面等等。這個功能很實用。不過在設定的步驟上，文件寫得有點簡略。如果你看過一次就設定正確，那必是天資聰穎、慧根獨具。如果設了半天還是怪怪的，那也還好，我也是去把WebLogic Server內附的example挖出來看才窺見其中的端倪。為 了讓大家少走一點冤枉路，小弟做了一個簡單的範例，讓大家玩一玩WebLogic Server的Virtual Directory。範例中包含一個step-by-step的動畫、一個簡單的Web Application，以及我家狗狗的美圖一張。測試的環境是Windows XP SP2英文版+WebLogic Server 8.1 SP3繁體中文版。「</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472663421257770/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472663421257770' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472663421257770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472663421257770'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/03/virtual-directory.html' title='Virtual Directory範例'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472647293524217</id><published>2005-01-31T17:47:00.000+08:00</published><updated>2005-12-16T17:47:53.250+08:00</updated><title type='text'>Http Control使用範例</title><summary type='text'>Http Control是幹嘛用？簡單說，他扮演一個http client，像是一個瀏覽器，可以向遠端的web server發出request，並且取得response。因此，你就可以利用http control，寫程式幫你上網，而不用坐在電腦前面親手操作。所以典型的運用是什麼呢？沒錯，就是寫一個上網機器人，幫你到一些沒有設防的網站，註冊一狗票email帳號，然後狂發垃圾郵件給討厭的人，灌爆他的臭信箱！另外一個比較無聊的應用，就是企業內部的網站整合啦，你可以利用這個方式，幫user去其他的網站擷取資料直接show在當前的畫面上，而不需要讓user做一些笨事例如「自己重新開一個視窗，連到另外一個網站，看到資料，再自己抄下來」本範例需要對WLI有基本的瞭解這個範例基本上是從dev2dev的sample中擷取一小段修改而來的，。完整的範例請點後面下載「HTTP Control/Event </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472647293524217/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472647293524217' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472647293524217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472647293524217'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/http-control.html' title='Http Control使用範例'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472641983688436</id><published>2005-01-28T17:46:00.000+08:00</published><updated>2005-12-16T17:47:00.753+08:00</updated><title type='text'>Portal和Portlet的中文化/多國語言化</title><summary type='text'>WebLogic Portal內建許多寫好的程式，包括login的程式、討論區、行事曆...等等。既然人家都寫好了，不拿來用豈不成了冤大頭、笨蛋加三級？不過老美很可惡，寫的都是英文，都不寫中文，所以我們只好自己來做中文化。說 「中文化」聽起來比較俗，我們應該要說「國際化」。國際化讓你想到什麼了嗎？是的，就是i18n。意思就是說，不同語言的客戶端連上你的portal， 就可以看到不同的語言和文字，但是事實上，你的程式只有一套，這些不同的語言文字，是根據客戶端的locale，從不同的語言檔動態抓出來顯示在UI上。在WebLogic Portal上面，如果要支援多國語言，有幾種不同的做法，在dev2dev.bea.com有「現成的範例供大家參考」。此外，小弟特地以WebLogic Portal安裝時會順便安裝的sample portal為例，將其中的行事曆(calendar)的portlet</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472641983688436/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472641983688436' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472641983688436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472641983688436'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/portalportlet.html' title='Portal和Portlet的中文化/多國語言化'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472637927088725</id><published>2005-01-25T17:45:00.001+08:00</published><updated>2005-12-16T17:46:19.366+08:00</updated><title type='text'>LDAP Control 特別版</title><summary type='text'>想用java操作ladp，但是不知道api怎麼用嗎？恭喜你，看到這裡你就得救了。在dev2dev.bea.com網站上，有一個「用java操作ldap server的程式範例」，只不過作者把這些程式寫在一個custom control中，以方便在workshop中使用。那麼，更進一步，如果要用這個control來操作Weblogic Server內嵌的LDAP server該怎麼做呢？其實最好的方法，應該是透過MBean來做。不過如果你堅持的話，用LDAP v3的java API一樣可以做。小弟把上面的LDAP control修改一下，這樣就可以用來操作WebLogic Server的內嵌LDAP Server了。這個修改過的特別版，並沒有說明文件，因此請到上述dev2dev.bea.com的連結中下載原始的範例然後才能加以操作。另外，在操作的過程中，最好 安裝一個LDAP </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472637927088725/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472637927088725' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472637927088725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472637927088725'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/ldap-control.html' title='LDAP Control 特別版'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472634137760656</id><published>2005-01-25T17:45:00.000+08:00</published><updated>2005-12-16T17:45:41.503+08:00</updated><title type='text'>iFrame Portlet</title><summary type='text'>程式設計的最高境界就是re-use，所以我們怎麼能浪費別人寫好的網頁勒？要把現成的網頁放進WebLogic Portal，並且變成一個portlet，最簡單的方法，其實還是用iframe這個html tag，雖然大家都知道，這是一個微軟發明的tag，不過你不得不承認，就入口網站畫面整合的觀點來說，這個設計確是滿好用的此外，在這個範例中還還教你如何將一個portlet預設在一開啟的時候就最大化，利用的就是backing file，在backing file中，我們利用控制portlet視窗的status的API告訴portal，當這個portlet在顯示的時候，要以最大化的形式出現。當然， 之後還是可以變大變小，這個控制只在這個portlet一開始被顯示出來的時候才有效。先「下載範例程式」，接著大致的步驟如下：1.寫一個ifram的jsp，參考範例程式中的iframe.jsp  2.把這個</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472634137760656/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472634137760656' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472634137760656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472634137760656'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/iframe-portlet.html' title='iFrame Portlet'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530674554228194</id><published>2005-01-17T10:58:00.000+08:00</published><updated>2005-12-23T10:59:05.646+08:00</updated><title type='text'>Workshop中幾個安控屬性的意義</title><summary type='text'>在Workshop時, 屬性編輯視窗在特定的檔案開啟後, 會有一個security小節, 這些設定一樣是用Javadoc Annotation寫在原始碼, 例如:Web Services , Java Control 與 JPD : @common:security Java Page Flow : @jpf:controller 與 @jpf:action EJBGen : @ejbgen:role-mapping 簡單的說明一下這些屬性的意義, 詳細內容還是要參考手冊!roles-allowed : 准許設定的角色可以使用物件, 這些角色必須已經定義在web.xml或ejb-jar.xml 。在@jpf:controller設定的是套用到整個class, 可存取所有methods, 若在@jpf:action設定, 算是擴充(再加上原來@jpf:controller的部份)；</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530674554228194/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530674554228194' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530674554228194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530674554228194'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/workshop.html' title='Workshop中幾個安控屬性的意義'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530670554311408</id><published>2005-01-10T10:57:00.000+08:00</published><updated>2005-12-23T11:06:32.403+08:00</updated><title type='text'>BPM如何處理交易中的錯誤</title><summary type='text'>在WebLogic Integration 8.1中, 所有的流程都是至少有一個全域交易(Global Transaction), 萬一有錯誤(Exception)發生, 流程引擎會怎麼運作呢? 下面這張圖是基本的演算法:很清楚地, 只有在沒被標示成Roll-Back Only, 而且Exception Hanlder沒有產生錯誤的情況下, 流程會繼續跑下去(Resume), 否則都Rollbacked, 流程進入Aborted狀態。問題來了, 如果流程被設定成"freeze on failure"時, 會如何? 答案是: 交易會被Roll-backed, 而且不會執行Exception Handler, 流程進入凍結狀態! 如果又希望在Rollbacked前, Exception Handler可以被執行的話 (例如做補償交易), 可以將其"execute on rollback"</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530670554311408/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530670554311408' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530670554311408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530670554311408'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/bpm.html' title='BPM如何處理交易中的錯誤'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530665409572016</id><published>2005-01-05T10:53:00.000+08:00</published><updated>2005-12-23T10:57:34.183+08:00</updated><title type='text'>使用WebLogic Server叢集時, 程式寫作上要注意什麼?</title><summary type='text'>在BEA快三年, 這也是常被問的問題之一! 除了需要根據WebLogic Server的規定, 在部署時做設定, 的確有些常犯的錯誤, 但當了解原理與J2EE規格後, 通常應該不會有此疑問。叢集可以容錯轉移的基本原理是, 透過網路讓不同的JVM互相溝通, 備份資料, 並且看看誰已經死了, 不要再去打擾它。所以在Servlet/JSP寫作上, 要注意:放到Session的資料都要Serializable, 不然怎麼備份?只用setAttribute跟removeAttribute修改Session裡的資料, 因為WebLogic只監控這二個方法小心放到Session的資料, 因為它需要做網路複製的動作, 會影響整體效能, 更重要的, 目前還沒有好的方法知道Session裡有哪些資料, 哪些是不Serializable, 大小, 除非買工具來做小心使用Frames! </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530665409572016/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530665409572016' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530665409572016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530665409572016'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/weblogic-server.html' title='使用WebLogic Server叢集時, 程式寫作上要注意什麼?'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530641235277509</id><published>2005-01-04T10:52:00.000+08:00</published><updated>2005-12-23T10:53:32.533+08:00</updated><title type='text'>關於叢集所提供的負載平衡與容錯轉移功能</title><summary type='text'>很多人會問二個問題 : 1) 為什麼使用叢集後, 負載沒有平衡? 2) Servlet收到Client要求, 呼叫同一部WLS instance裡的EJB, EJB物件死了, 怎麼沒有轉移到其他部執行?回答這些問題前, 先解釋二個名詞, 在叢集部署時, 最簡單的有二種情況, 第一種是Web Container跟EJB Container在同一個WLS Instance裡, 這我們叫Basic Architecture或2-Tier Architecture; 第二種稱為Multi-Tier Architecture, 這種狀況是Web Container與EJB Container跑在不同的機器上。首先, 先回答第一個問題, 這通常發生在2-Tier Architecture中, 而且應用程式均部署再每一台伺服器, 負載不平均有可能是因為EJB的呼叫不平均, 為什麼? 根據文件, </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530641235277509/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530641235277509' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530641235277509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530641235277509'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2005/01/blog-post.html' title='關於叢集所提供的負載平衡與容錯轉移功能'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472628953897459</id><published>2004-12-29T17:44:00.000+08:00</published><updated>2005-12-16T17:48:38.820+08:00</updated><title type='text'>Database Control進階練習</title><summary type='text'>●如果你還沒聽過RowSet Constrol或是Database Control，那麼請趕快先去BEA台灣網站下載中文訓練教材，看看如何經由幾個簡單的步驟，建構你的資料庫維護程式。（請先連上http: //dev2dev.bea.com.tw/，進入後點選左下方「WebLogic 平台 8.1 中文教育訓練教材」的圖案與連結，接著點擊「WebLogic Workshop 8.1」下載workshop訓練教材。在8.1SP3環境中測試過）●如果你已經用了Database Control，但是想做一個能夠動態輸入where子句的應用程式，又不知道該怎麼做，那麼快到這邊來「點我下載完整文件」（本範例使用RowSet儲存資料庫查詢結果，並用grid NetUI tag顯示資料。在8.1SP3環境中測試過）●如果你用Database Control回傳JavaBean，</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472628953897459/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472628953897459' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472628953897459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472628953897459'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/database-control.html' title='Database Control進階練習'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472624197922173</id><published>2004-12-23T17:43:00.000+08:00</published><updated>2005-12-16T17:44:02.063+08:00</updated><title type='text'>認證必讀！！WebLogic Cluster Step-by-Step教學</title><summary type='text'>如果你要考認證，一定要懂WebLogic Server Clustering，所以好歹一定要設定一個Cluster來玩玩看吧？如果你們公司有用WebLogic Server，那一定要體驗一下Cluster能帶給你的各項好處！本文件利用Step-by-Step的方式，教你如何在自己的電腦上設定一個cluster，還提供了範例程式，讓你實際體驗Cluster的魅力。用了Cluster，讓你以後晚上可以好好睡覺，不用再擔心三更半夜老闆call你到機房修Server!文件下載後，記得先看readme first.txt喔點我下載完整文件</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472624197922173/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472624197922173' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472624197922173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472624197922173'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/weblogic-cluster-step-by-step.html' title='認證必讀！！WebLogic Cluster Step-by-Step教學'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472619463783595</id><published>2004-12-22T17:42:00.000+08:00</published><updated>2005-12-16T17:43:14.736+08:00</updated><title type='text'>如何將Struts應用程式移植到WebLogic Portal？</title><summary type='text'>WebLogic Portal很好用，可以快速的開發、組裝出你要的入口網站。但是用了WebLogic Portal，是不是代表我必須把程式重寫一遍，既有的Struts應用程式就變成一無用處的垃圾嗎？當然不行！WebLogic Portal 8.1支援使用Struts 1.1模組化開發的應用程式，你可以將既有的Struts應用程式直接搬到WebLogic Portal上，變成一個portlet來執行。新架構也用上了，舊程式還能繼續用，天下哪有這麼好康的？快來看看吧!點我下載完整文件</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472619463783595/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472619463783595' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472619463783595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472619463783595'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/strutsweblogic-portal.html' title='如何將Struts應用程式移植到WebLogic Portal？'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113472606966970378</id><published>2004-12-22T17:39:00.000+08:00</published><updated>2005-12-16T17:42:27.136+08:00</updated><title type='text'>如何將 Struts 應用程式模組化？</title><summary type='text'>從1.1版開始，Struts正式支援模組化的開發方式。基於模組化的優點，或是你想把現有的Struts應用程式變成portlet，在WebLogic Portal上執行，模組化都是一定要的啦！支援歸支援，但是在實際操作的時候，有哪些地方要改？怎麼改？又有哪些需要特別注意的地方？本文用配合文字、動畫，用實際的範例解說，就差沒有唱給你聽。還不快去看個仔細？點我下載完整文件</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113472606966970378/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113472606966970378' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472606966970378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113472606966970378'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/struts.html' title='如何將 Struts 應用程式模組化？'/><author><name>克里斯斯</name><uri>http://www.blogger.com/profile/10859861129075936878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://photos1.blogger.com/blogger/5723/1980/1600/1106062661_888cn.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530636583309744</id><published>2004-12-21T10:52:00.000+08:00</published><updated>2005-12-23T10:52:45.936+08:00</updated><title type='text'>常見的問題</title><summary type='text'>同樣的問題, 一定會從不同人的嘴巴發問, 這是歷史的必然. 所以當你看到這一篇, 有人會很慶幸少了一件事:)   WebLogic Server FAQ   WebLogic Integration Best Practice FAQ   Support Patterns : 介紹各種疑難雜症的診斷與解決, 譬如最常問的 - 忘記管理者密碼怎麼辦? 簡體中文版看這裡!   可以試試看機器人的回答 : http://support.bea.com   </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530636583309744/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530636583309744' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530636583309744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530636583309744'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/blog-post.html' title='常見的問題'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530631910162436</id><published>2004-12-13T10:51:00.000+08:00</published><updated>2005-12-23T10:51:59.220+08:00</updated><title type='text'>誰是小惡魔 (Diablo) ?</title><summary type='text'>WebLogic Server 9.0 內部代號小惡魔 (Diablo), 有用不完的精力, 所以也不會休息 (Non-Stop Application Server), 預計在12/16提供測試版下載, 在這先來介紹一下:)標準JDK 5.0 (1.5)J2EE 1.4 &amp; 1.3 (JSF還不是J2EE標準的一個部份, 要小心觀察它未來的變化!)Core (Reliability &amp; Availability)自動調整伺服器, 以更有效利用資源負荷超載預防: 拒絕服務, 暫停或停機Node Manager支援多個Domain且可重新啟動Admin Server叢集與叢集間在MAN互相同步複製備援 (In-Memory)叢叢與叢集間在WAN非同步複製備援 (Persistence)Singleton服務移轉 (當有錯誤時)應用伺服器有問題時, 並使用共用磁碟時, 可包含IP</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530631910162436/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530631910162436' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530631910162436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530631910162436'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/diablo.html' title='誰是小惡魔 (Diablo) ?'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530626370590069</id><published>2004-12-13T10:50:00.000+08:00</published><updated>2005-12-23T11:03:33.326+08:00</updated><title type='text'>WebLogic 8.1 SP4</title><summary type='text'>WebLogic 8.1 SP4英文版在12/9提供公開下載, 除了維修現有臭蟲之外, 還加強了Workshop的處理速度, 與WebLogic Integration及WebLogic Portal的效能及伸縮性, 另外補了一些"How-to"的文件.WebLogic PortalLook and Feel Editor新文件: 效能調校, Best Practice, WSRP, Inter-portelt等WebLogic Integration提供同步用戶端呼叫非同步資源 (Sync/Async SOAP Servlet)資料庫事件產生器 (取代Database Adapter)可根據行事曆制定事件產生器強化File Control新的控制項 (Controls) : Dynamic Transformation, XML MetaData CachWLI Console </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530626370590069/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530626370590069' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530626370590069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530626370590069'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/weblogic-81-sp4.html' title='WebLogic 8.1 SP4'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530621012104092</id><published>2004-12-10T10:49:00.000+08:00</published><updated>2005-12-23T10:50:10.260+08:00</updated><title type='text'>WLS 8.1 Certified Administrator</title><summary type='text'>剛考完WLS 8.1 Certified Administrator認證, 比重比較大的部份是Cluster, Performance Tuning, JMS, LDAP與Security, Application Deployment, JMS, Node Manager及Network Channel. 大概有六成, 其他安裝跟基本管理大概一成.填空題有三題, 應該都是必考的:Sever Life-Cycle各類Heuristic Transaction ExceptionJMS File Store Synchronization Write Policy解釋 : Disabled, Cache-Flush, Direct-Write雖然每一題都認為是答對的, 但是還是沒有滿分:(</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530621012104092/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530621012104092' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530621012104092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530621012104092'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/wls-81-certified-administrator.html' title='WLS 8.1 Certified Administrator'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530616525904121</id><published>2004-12-09T11:48:00.000+08:00</published><updated>2005-12-23T10:49:25.446+08:00</updated><title type='text'>如何產生JVM Thread Dump</title><summary type='text'>產生JVM Thread Dump是檢查多執行緒應用最好的方法, WebLogic支援幾種方法:在Windows, 找到執行WebLogic Server的命令視窗, 按下[Ctrl]+[Break]如果WebLogic Server是用NT Service執行, 可以使用%WL_HOME%\common\bin\beasvc.exe -svcname:"the_service_name" -dump指令, 結果會產生在設定服務時, -log:所設定的目錄在Unix, 找到WebLogic Server的PID, 執行$kill -3 PID, 記得要重導STDOUT到檔案WebLogic提供工具產生Thread Dump, 語法如下:$java weblogic.Admin -url &lt;?xml:namespace prefix = serverip /&gt;-username -[</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530616525904121/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530616525904121' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530616525904121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530616525904121'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/jvm-thread-dump.html' title='如何產生JVM Thread Dump'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530610077352293</id><published>2004-12-09T10:47:00.000+08:00</published><updated>2005-12-23T10:48:22.986+08:00</updated><title type='text'>如何閱讀Blog</title><summary type='text'>簡單的來說, 要閱讀Blog有幾種方式:直接連到該網站, 例如http://mybea.blogspot.com 使用RSS/Atom Reader, 網路上有些免費的軟體可以用, 例如FeedReader;如果不想安裝軟體, 可以用這個網站http://www.bloglines.com , 它具有類似我的最愛的功能, 可以自動抓多個Blogs (blogrolls)如果不喜歡開瀏覽器, 喜歡讀email, 那可以寫信給我, 我會邀請你加入Mailing-list (這是使用Google Groups的功能)本站的Site Feed網址是 http://mybea.blogspot.com/atom.xml .</summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530610077352293/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530610077352293' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530610077352293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530610077352293'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/blog.html' title='如何閱讀Blog'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530598292663746</id><published>2004-12-07T10:45:00.000+08:00</published><updated>2005-12-23T10:46:23.110+08:00</updated><title type='text'>如何使用File Control讀取FTP Server</title><summary type='text'>WebLogic Workshop內建的File Control可以存取本地檔案與FTP Server上的檔案, 但是在設定連接FTP Server需要點技巧(文件沒講清楚的!).測試環境: WebLogic Integration 8.1 SP3 + FileZilla Server 0.9.4d beta [注意] 使用其他FTP Server, 要先用ftp命令測通(需要使用帳戶與密碼的), 不然浪費時間, 例如FtpGo就不能用.File Control的設定內容應該長類似這樣: /*** A custom file control.* @jc:file directory-name="/ftpdir"* ftp-password="weblogic"* ftp-user-name="weblogic"* create-mode="rename-old" </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530598292663746/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530598292663746' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530598292663746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530598292663746'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/file-controlftp-server.html' title='如何使用File Control讀取FTP Server'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19912771.post-113530589078093392</id><published>2004-12-03T10:42:00.000+08:00</published><updated>2005-12-23T10:44:51.283+08:00</updated><title type='text'>如何安裝Roller在WebLogic Server 8.1 SP3</title><summary type='text'>Blog使用者已超過1億, 但多數還是使用PHP, Perl等語言為平台, 所以這裡介紹以Java為主的組合.使用的軟體包含:BEA WebLogic Server Express 8.1 SP3 (免費下載, 無使用期限, 限制連線數目為5)MySQL 4.1.7 (建議同時安裝管理與查詢工具)Roller 1.0 RC1 Windows XP SP2Roller 使用了OSS 與 Java 的很多Framework, 涵蓋Struts, Hibernate, Velocity, JSTL 等, 只要有Web Container 理論上都可以跑, 實際測試後是需要微調的, 原來預設是用Tomcat, 但很順利的, 只要調整一部分設定, 修修小臭蟲, 也可以順利運作.依照 Roller Installation Guid 1.0 的步驟, 我做了幾項修正:步驟一安裝WebLogic </summary><link rel='replies' type='application/atom+xml' href='http://bea-taiwan.blogspot.com/feeds/113530589078093392/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19912771&amp;postID=113530589078093392' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530589078093392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19912771/posts/default/113530589078093392'/><link rel='alternate' type='text/html' href='http://bea-taiwan.blogspot.com/2004/12/rollerweblogic-server-81-sp3.html' title='如何安裝Roller在WebLogic Server 8.1 SP3'/><author><name>黃小米</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/7987/683/320/kevin.0.jpg'/></author><thr:total>0</thr:total></entry></feed>
