﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-andyzhai</title><link>http://www.blogjava.net/andyzhai/</link><description /><language>zh-cn</language><lastBuildDate>Wed, 15 Apr 2026 11:57:08 GMT</lastBuildDate><pubDate>Wed, 15 Apr 2026 11:57:08 GMT</pubDate><ttl>60</ttl><item><title>Understanding different web serivce encoding style " literal / encoded " in the context of relationship among SOAP encoding, WS-I basic profile and XML-Schema</title><link>http://www.blogjava.net/andyzhai/archive/2006/03/03/33341.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Thu, 02 Mar 2006 20:51:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2006/03/03/33341.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/33341.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2006/03/03/33341.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/33341.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/33341.html</trackback:ping><description><![CDATA[Originally, SOAP 1.1 (May,2000) chapter 5 "Encoding" ( the infamous section 5 ) defines encoding style. It tried to describe the rules for serializing and deserializing xml framgments into (from) Soap elements, but the ambiguities in the SOAP encoding lead to many problems in interoperability.<br />a little later, (May 2001) XML Schema was at last published as a W3C recommendation and since then it got rapid and wide adoption, which inculdes: use of XML schema and instances in WSDL and SOAP.<br />In order to improve the interoperability of web service, WS-I organization was formed. WS-I Basic Profile, which beat the use of SOAP encoding,  was published in August 2003.  WS-I basic profile explicitly prohibit SOAP encoded style.<br />So we can only use 2 messaging mode: Literal / RPC  and Literal / Document according to WS-I Basic Profile.<br /><br />As my understanding, the key difference between literal and encoded is:<br />    Literal:  based on xml schema  agreed by both service provider and requester. <br />    encoded: based on pre-determined rules (xml schema) defined by SOAP section 5 <br />In other words,<br />In Literal style, as long as both parties ( provider and requester) agree on one xml schema, they can communicate.Different pair can have different rules (xml schema). say, A and B share an xml schema. C and D share an xml schema.<br />In encoded style, all parties of web service and all pairs of web service share a common standard schema , which defined in soap section 5.<br />A, B, C and  D all  must conform the common rules.<br />Literal style is more flexible than encoded style. It also has much less ambiguities than encoded style.<br /><br />see other resource about Literal / encoded, Document / RPC, and others<br />Books:<br /><em><strong>Java Web Service Architecure</strong></em>  by James Gosling and others.  Chap.4.5 Soap messaging modes. P107<br /><br /><em><strong>J2ee Web Services</strong></em>   by Richard Monson-Haefel.   Chap.4. Soap encoding  P119.<br /><br />Articles:<br /><br /><li><a title=" [web_service] " href="http://www-128.ibm.com/developerworks/webservices/library/ws-emfsdo/" target="_blank"><b>Developing Web Services with EMF SDOs for complex XML schema</b></a><a title="查看详细网摘" href="http://www.365key.com/item/1649968" target="_blank">#</a>  
<p>(<font color="#000000" size="4">Latest article published on IBM developerworks Feb. 28, 2006</font>. The original Feb. 28, 2005 is a typo mistake. RAD(Rational Application Developer) 6.0.1.1 just published 2 months ago)<br />See 'Perceptions and standards' for relationship among various standards. esp. soap (section 5), WS-I, xml schema, jax-rpc, jax-B </p></li><li><a title=" [web_service] " href="http://www.javaworld.com.tw/jute/post/view?bid=19&amp;id=15413&amp;tpg=1&amp;ppg=1&amp;sty=3&amp;age=0" target="_blank"><b>JavaWorld@TW - Operation Style (Document/RPC) and Message format(literal/encoded)</b></a><a title="查看详细网摘" href="http://www.365key.com/item/1649964" target="_blank">#</a><br /><i>Operation Style (Document/RPC) and Message format(literal/encoded)</i><br /></li><li><a title=" [web_service] " href="http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webservices/The%20Difference%20Between%20RPC%20and%20Document%20Style%20WSDL.article" target="_blank"><b>The Difference Between RPC and Document Style WSDL</b></a><a title="查看详细网摘" href="http://www.365key.com/item/1649962" target="_blank">#</a><br />RPC style and document style are catchphrases frequently heard in the context of web services and the SOAP protocol. What exactly do they mean? How do they relate to the pair of terms 'encoded/literal'? Where does the confusion about these terms come from? This article describes the WSDL binding style and use attributes </li><img src ="http://www.blogjava.net/andyzhai/aggbug/33341.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2006-03-03 04:51 <a href="http://www.blogjava.net/andyzhai/archive/2006/03/03/33341.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Notes and/or excerption about Richard Monson-Haefel "J2EE Web Services"</title><link>http://www.blogjava.net/andyzhai/archive/2006/02/24/32229.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Thu, 23 Feb 2006 19:53:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2006/02/24/32229.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/32229.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2006/02/24/32229.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/32229.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/32229.html</trackback:ping><description><![CDATA[P13.&nbsp; To be completely blunt: I do NOT believe general Web service interoperability with anonymous parties is actually feasible without the guidance of the WS-I Basic Profile 1.0. Experienced&nbsp; Web service developers can tell you numerous interoperability horror stories related to the loose language and broad visions defined&nbsp; by standards like SOAP, WSDL, and UDDI. The WS-I Basic Profile eliminates many, if not all, of the ambiguities inherent in these primary standards, finally making interoperability among disparate Web service platforms (.NET, j2ee, axis, perl, etc) possible.<img src ="http://www.blogjava.net/andyzhai/aggbug/32229.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2006-02-24 03:53 <a href="http://www.blogjava.net/andyzhai/archive/2006/02/24/32229.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>An example of using regular expression in Eclipse WSE (web service explorer)</title><link>http://www.blogjava.net/andyzhai/archive/2006/02/23/32044.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Wed, 22 Feb 2006 23:42:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2006/02/23/32044.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/32044.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2006/02/23/32044.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/32044.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/32044.html</trackback:ping><description><![CDATA[Fixed the Eclipse WTP bug 118019: "WS-Explorer ignores non-proxy host settings" by using regular expression.<BR><A href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=118019">https://bugs.eclipse.org/bugs/show_bug.cgi?id=118019</A><BR><BR>See method private boolean isHostInNonProxyHosts(String host, String nonProxyHosts, boolean caseSensitive)<BR>and createPatternFromString(String str)<BR>in plugin org.eclipse.wst.ws.explorer<BR><A href="http://dev.eclipse.org/viewcvs/index.cgi/wst/components/ws/plugins/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPTransport.java?rev=HEAD&amp;cvsroot=WebTools_Project&amp;content-type=text/vnd.viewcvs-markup">http://dev.eclipse.org/viewcvs/index.cgi/wst/components/ws/plugins/org.eclipse.wst.ws.explorer/wsexplorer-src/org/eclipse/wst/ws/internal/explorer/platform/wsdl/transport/HTTPTransport.java?rev=HEAD&amp;cvsroot=WebTools_Project&amp;content-type=text/vnd.viewcvs-markup</A><BR><BR>On the other hand, there is a bad example in Apache Axis,<BR>see following:<BR>
<P><B>2006-2-23</B></P>
<UL class=365KeyListTable>
<LI><A title=" [eclipse] " href="http://www.docjar.com/html/api/org/apache/axis/components/net/DefaultSocketFactory.java.html" target=_blank><B>Docjar: org/apache/axis/components/net/DefaultSocketFactory.java</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1614398" target=_blank>#</A> <BR>Bad example of searching and matching text. The method isHostInNonProxyList() is too complicated, error-prone, and inefficient. </LI></UL>other reading:<BR>
<LI><A title=" [IT] " href="http://www.every.com.cn/" target=_blank><B>碟中碟互动网校－想学就学、想教就教</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1614066" target=_blank>#</A> <BR>
<LI><A title=" [IT] " href="http://www.xkoto.com/" target=_blank><B>xkoto - Brighter Technology</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1613638" target=_blank>#</A> <BR>
<LI><A title=" [IT] " href="http://www.nuvvo.com/" target=_blank><B>Nuvvo Free On-demand eLearning</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1613633" target=_blank>#</A> <BR>
<LI><A title=" [IT] " href="http://news.csdn.net/n/20060221/87125.html" target=_blank><B>BEA的孤独感：何时走出“10亿美元”之困？ - CSDN 新闻</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1613473" target=_blank>#</A> <BR>
<LI><A title=" [IT] " href="http://news.csdn.net/n/20060220/87049.html" target=_blank><B>采访知名作家Bruce Tate 谈Java 未来机遇与挑战 - CSDN 新闻</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1613458" target=_blank>#</A> <BR>
<LI><A title=" [IT] " href="http://www.theserverside.com/news/thread.tss?thread_id=39066" target=_blank><B>Java: Dead Like COBOL, Not Like Elvis?</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1613456" target=_blank>#</A> <BR></LI>
<P>&nbsp;the English version on TSS of above one on CSDN</P>
<LI><A title=" [IT] " href="http://blog.csdn.net/danny_xcz/archive/2006/02/21/604025.aspx" target=_blank><B>用Mind Map 激发你的记忆潜能 - 纯月部落</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1613446" target=_blank>#</A> <BR>
<LI><A title=" [IT] " href="http://www.informationweek.com/news/showArticle.jhtml?articleID=180204219" target=_blank><B>InformationWeek | Open Source | It's Open Season | February 20, 2006</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1610784" target=_blank>#</A> <BR><BR></LI><img src ="http://www.blogjava.net/andyzhai/aggbug/32044.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2006-02-23 07:42 <a href="http://www.blogjava.net/andyzhai/archive/2006/02/23/32044.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Test 365key</title><link>http://www.blogjava.net/andyzhai/archive/2006/02/20/31718.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Mon, 20 Feb 2006 15:59:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2006/02/20/31718.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/31718.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2006/02/20/31718.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/31718.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/31718.html</trackback:ping><description><![CDATA[<P>Trying to integrate 365key into my blog. </P>
<UL class=365KeyListTag>
<LI><A title=" [IT] " href="http://news.csdn.net/n/20060220/87037.html" target=_blank><B>开放性增进对软件的了解 如何选择开放源代码CMS - CSDN 新闻</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1607120" target=_blank>#</A> <BR>This is the chinese version of the article 'how to choose an open source CMS http://www.zdnet.com.au/insight/software/soa/How_to_choose_an_open_source_CMS/0,39023769,39234675,00.htm 
<LI><A title=" [IT] " href="http://www.zdnet.com.au/insight/software/soa/How_to_choose_an_open_source_CMS/0,39023769,39234675,00.htm" target=_blank><B>How to choose an open-source CMS: ZDNet Australia: Insight: Software</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1607107" target=_blank>#</A> <BR>It may give me some suggestion if I want to provide open source consultant service 
<LI><A title=" [IT] " href="http://blog.csdn.net/danny_xcz/archive/2006/02/16/600149.aspx" target=_blank><B>再看BPEL - 纯月部落</B></A> <A title=查看详细网摘 href="http://www.365key.com/item/1607013" target=_blank>#</A> <BR>web service,Java RMI, C#, Jini </LI></UL><img src ="http://www.blogjava.net/andyzhai/aggbug/31718.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2006-02-20 23:59 <a href="http://www.blogjava.net/andyzhai/archive/2006/02/20/31718.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Add -d option when use cvs init</title><link>http://www.blogjava.net/andyzhai/archive/2005/08/30/11509.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Mon, 29 Aug 2005 21:56:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2005/08/30/11509.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/11509.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2005/08/30/11509.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/11509.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/11509.html</trackback:ping><description><![CDATA[In our Red machine, <BR>to initilize cvs<BR>use : cvs -d /cs/home/...&nbsp; init<BR>(if -d option is not added, then command: cvs import -m ....&nbsp; does not execute correctly<BR>The problem maybe: without -d option, CVS doesn't know the administrative subdirectory of a repository. so import failed. <BR>So It seems here is the later use of CVSROOT)<BR>Note. <BR>Don't confuse the CVSROOT environment variable with CVSROOT subdirectory in repository. They are UNRELATED; <BR>The former is a way for users to avoid having to type -d &lt;reporisory-location&gt; every time they use CVS;<BR>The later is the administrative subdirectory of a repository.<BR><img src ="http://www.blogjava.net/andyzhai/aggbug/11509.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2005-08-30 05:56 <a href="http://www.blogjava.net/andyzhai/archive/2005/08/30/11509.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>native methods used in org.eclipse.perfmsr.core.PerforanceMonitor</title><link>http://www.blogjava.net/andyzhai/archive/2005/08/26/11168.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Thu, 25 Aug 2005 19:08:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2005/08/26/11168.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/11168.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2005/08/26/11168.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/11168.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/11168.html</trackback:ping><description><![CDATA[&nbsp;/**<BR>&nbsp; * Answer the command line that started the process.<BR>&nbsp; */<BR>&nbsp;private static native String nativeGetCommandLine();<BR>&nbsp;<BR>&nbsp;/**<BR>&nbsp; * Calls the Windows GetPerformanceInfo function<BR>&nbsp; * @param counters any array of counters that corresponds to the Windows<BR>&nbsp; * PERFORMANCE_INFORMATION structure.<BR>&nbsp; */<BR>&nbsp;private static native void nativeGetPerformanceInfo(long[] counters);<BR>&nbsp;<BR>&nbsp;private static native boolean nativeGetPerformanceCounters(long[] counters);<BR>&nbsp;private static native String nativeGetUUID();<BR><BR>I can find the last 3 methods in ivjperf.c<BR>but where is the nativeGetCommandLine() ?<img src ="http://www.blogjava.net/andyzhai/aggbug/11168.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2005-08-26 03:08 <a href="http://www.blogjava.net/andyzhai/archive/2005/08/26/11168.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Example of using JNI </title><link>http://www.blogjava.net/andyzhai/archive/2005/08/26/11167.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Thu, 25 Aug 2005 19:01:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2005/08/26/11167.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/11167.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2005/08/26/11167.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/11167.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/11167.html</trackback:ping><description><![CDATA[<PRE><FONT color=darkgreen>/** Java */</FONT>
<FONT color=navy><B>public</B></FONT> <FONT color=navy><B>class</B></FONT> Memory
<FONT color=navy>{</FONT>
    <FONT color=navy><B>public</B></FONT> <FONT color=navy><B>static</B></FONT> <FONT color=navy><B>void</B></FONT> main(String[] args)
    <FONT color=navy>{</FONT>
        System.out.println(<FONT color=red>"Physical memory in system="</FONT>+getPhysicalMemory()/1024+<FONT color=red>" kBytes"</FONT>);
    <FONT color=navy>}</FONT>
&nbsp;
    <FONT color=navy><B>public</B></FONT> <FONT color=navy><B>static</B></FONT> <FONT color=navy><B>native</B></FONT> <FONT color=navy><B>long</B></FONT> getPhysicalMemory();
&nbsp;
    <FONT color=navy><B>static</B></FONT>
    <FONT color=navy>{</FONT>
        System.loadLibrary(<FONT color=red>"Memory"</FONT>);
    <FONT color=navy>}</FONT>
<FONT color=navy>}</FONT>
&nbsp;
<FONT color=darkgreen>/** C++/JNI */</FONT>
#include &lt;windows.h&gt; <FONT color=darkgreen>// windows standard include</FONT>
#include <FONT color=red>"Psapi.h"</FONT>   <FONT color=darkgreen>// windows performance API</FONT>
#include <FONT color=red>"memory.h"</FONT>  <FONT color=darkgreen>// JNI header file produced by JAVAH from Memory.java</FONT>
&nbsp;
<FONT color=darkgreen>/*
 * Class:     Memory
 * Method:    getPhysicalMemory
 * Signature: ()J
 */</FONT>
JNIEXPORT jlong JNICALL Java_Memory_getPhysicalMemory(JNIEnv * env, jclass cls)
<FONT color=navy>{</FONT>
    PERFORMANCE_INFORMATION pi;
&nbsp;
    GetPerformanceInfo(&amp;pi,sizeof(pi));
&nbsp;
    <FONT color=navy><B>return</B></FONT> pi.PhysicalTotal*pi.PageSize;
<FONT color=navy>}</FONT>
</PRE><PRE>original url: <A href="http://forum.java.sun.com/thread.jspa?threadID=425258&amp;tstart=255">http://forum.java.sun.com/thread.jspa?threadID=425258&amp;tstart=255</A><BR><BR><BR>useful link: <A href="http://java.sun.com/docs/books/tutorial/native1.1/">http://java.sun.com/docs/books/tutorial/native1.1/</A></PRE><img src ="http://www.blogjava.net/andyzhai/aggbug/11167.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2005-08-26 03:01 <a href="http://www.blogjava.net/andyzhai/archive/2005/08/26/11167.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Memory Leak of Java Editors in Eclipse</title><link>http://www.blogjava.net/andyzhai/archive/2005/08/09/9627.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Mon, 08 Aug 2005 21:51:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2005/08/09/9627.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/9627.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2005/08/09/9627.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/9627.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/9627.html</trackback:ping><description><![CDATA[I found that the Java Editor in Eclipse didn't return&nbsp;the resource of some Images after display dispose by using Sleak Tool (it can be downloaded from<BR>&nbsp;<A href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/dev.html#tools">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/dev.html#tools</A>.) This&nbsp;may lead to memory leaks in JVM Heap dump.<BR>Steps:<BR>1. Download and&nbsp;install the Sleak. (&nbsp;It's helpful to download performance tool&nbsp;to run Garbage Collector in order to get more precise result )<BR>2.&nbsp;Click the "Snap" before opening an .java file ( If Run "Garbage Collector" in performance menu before this operation, we can assure we are get rid of unused (untouched) objects in java heap)<BR>3. Open and exit .java file. Click "Diff" ( Again, Run GC before this operation )<BR><BR>(Note:&nbsp; Don't&nbsp;click Snap twice,&nbsp;clicking Diff&nbsp;means taking&nbsp;snap for current environment and then compare)&nbsp;&nbsp;&nbsp;<BR><BR>Sometimes,&nbsp;one incremental image occured. Sometimes, more seriously, 11 incremental images&nbsp;still live in memory. Most of them are the&nbsp;Icon Images of Buttons&nbsp;in&nbsp;"Outline" view. &nbsp;<BR><img src ="http://www.blogjava.net/andyzhai/aggbug/9627.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2005-08-09 05:51 <a href="http://www.blogjava.net/andyzhai/archive/2005/08/09/9627.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Notes about Erich's book "Contributing to Eclipse"</title><link>http://www.blogjava.net/andyzhai/archive/2005/08/08/9541.html</link><dc:creator>Andy</dc:creator><author>Andy</author><pubDate>Sun, 07 Aug 2005 18:10:00 GMT</pubDate><guid>http://www.blogjava.net/andyzhai/archive/2005/08/08/9541.html</guid><wfw:comment>http://www.blogjava.net/andyzhai/comments/9541.html</wfw:comment><comments>http://www.blogjava.net/andyzhai/archive/2005/08/08/9541.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/andyzhai/comments/commentRss/9541.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andyzhai/services/trackbacks/9541.html</trackback:ping><description><![CDATA[Chapter 5. <BR>"Run Test" action is an Object (Context) Action. Erich gave the Object Type :&nbsp; IType. <BR>This type is NOT a java source file or bin file, &nbsp;but a Class Type. <BR>So the action only occurs when right click like Page 43 Figure 5.3 ( In a Java Perspective)<BR><BR>Chapter 10<BR>Includes&nbsp; .classpath &nbsp;(I don't think&nbsp; .project is necessary, but I am not sure)&nbsp; When publishing. Otherwise the contributed plugin may not find the class. (why? It's so weird!) and the action doesn't work<BR><BR>Chapter 13<BR>Launch Eclipse with eclipse -clean After publishing, otherwise Eclipse may still use old version Plugin-in jars , plugin.xml etc. ( Even I modified plugin.xml , I also need to run with -clean option)<BR><BR><BR><img src ="http://www.blogjava.net/andyzhai/aggbug/9541.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andyzhai/" target="_blank">Andy</a> 2005-08-08 02:10 <a href="http://www.blogjava.net/andyzhai/archive/2005/08/08/9541.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>