<?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/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' gd:etag='W/&quot;CUMBQX07eyp7ImA9WhRaGU0.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357</id><updated>2012-02-22T17:37:30.303+08:00</updated><category term='JADClipse'/><category term='Base64'/><category term='JADC'/><category term='decode'/><category term='Performance'/><category term='Software Design'/><category term='BigDecimal'/><category term='Eclipse'/><category term='How-to'/><category term='Resolved'/><category term='find JAR'/><category term='encode'/><category term='Java'/><category term='JAD'/><category term='Java Decompiler'/><category term='WAS Upgrade'/><category term='WebSphere Application Migration Tool'/><category term='JAR'/><title>Java Development</title><subtitle type='html'>Talks about Java Design, Development, etc..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;CUMBQX05fyp7ImA9WhRaGU0.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357.post-6684562175015644215</id><published>2012-02-22T11:19:00.000+08:00</published><updated>2012-02-22T17:37:30.327+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-22T17:37:30.327+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='How-to'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Decompiler'/><category scheme='http://www.blogger.com/atom/ns#' term='JADC'/><title>Small Technique on using Java Decompiler in Eclipse</title><content type='html'>Here's my common use way on the Java Decompiler..&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Method 1: Direct Access to the class by shortcut&lt;/span&gt;&lt;br /&gt;
1. Click &lt;b&gt;Ctrl + T&lt;/b&gt;, and then input the class and input the class name&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-As450NQ2r5Q/T0G7fU3wIlI/AAAAAAAAAQY/4l8ktM-vBLU/s1600/2012-02-20_110543.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="332" src="http://3.bp.blogspot.com/-As450NQ2r5Q/T0G7fU3wIlI/AAAAAAAAAQY/4l8ktM-vBLU/s400/2012-02-20_110543.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. &lt;span style="font-size: small;"&gt;Eclipse will bring you to the class implementation.&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://3.bp.blogspot.com/--AvXnHp07ZU/T0G7VzHbQzI/AAAAAAAAAQQ/6zmKr-kCH3g/s1600/2012-02-20_105229.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://3.bp.blogspot.com/--AvXnHp07ZU/T0G7VzHbQzI/AAAAAAAAAQQ/6zmKr-kCH3g/s400/2012-02-20_105229.png" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Method 2: &lt;/span&gt;&lt;span style="font-size: large;"&gt;Direct Access to the class by Open Declaration (F3)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;1. Mouse over to the corresponding class in the Java File and click F3&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;&lt;i style="color: #666666;"&gt;For example, mouse over javax.ejb.SessionBean and then&amp;nbsp; click F3&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-OheTv82YCdA/T0G7CQ0Ds3I/AAAAAAAAAQI/1WMfrFh3zaU/s1600/2012-02-20_104914.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="63" src="http://4.bp.blogspot.com/-OheTv82YCdA/T0G7CQ0Ds3I/AAAAAAAAAQI/1WMfrFh3zaU/s400/2012-02-20_104914.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;2. Eclipse will bring you to the class implementation.&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/--AvXnHp07ZU/T0G7VzHbQzI/AAAAAAAAAQQ/6zmKr-kCH3g/s1600/2012-02-20_105229.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://3.bp.blogspot.com/--AvXnHp07ZU/T0G7VzHbQzI/AAAAAAAAAQQ/6zmKr-kCH3g/s400/2012-02-20_105229.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Method 3: Use Java Browsing Perspective&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;1. Click the icon in the Red Box below to Open a new perspective&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&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;/div&gt;
&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;/div&gt;
&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://3.bp.blogspot.com/-cP29uH_b0NY/T0G6I-Yg6oI/AAAAAAAAAQA/04eMnoI_sXI/s1600/2012-02-20_110938.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="91" src="http://3.bp.blogspot.com/-cP29uH_b0NY/T0G6I-Yg6oI/AAAAAAAAAQA/04eMnoI_sXI/s400/2012-02-20_110938.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-beD-4tur5jU/T0G56ENMOxI/AAAAAAAAAPo/suLS-FItY_A/s1600/2012-02-20_110938.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;2. Choose Java Browsing&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-JKqH2gd8Kkw/T0G56vaWpYI/AAAAAAAAAPs/BLG6XFOEa7A/s1600/2012-02-20_111000.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-JKqH2gd8Kkw/T0G56vaWpYI/AAAAAAAAAPs/BLG6XFOEa7A/s320/2012-02-20_111000.png" width="263" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. You may find your class implementation as below. &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/--RP10XxiFKo/T0G57GwYwEI/AAAAAAAAAP0/8srhHCa5EVE/s1600/2012-02-20_111110.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="283" src="http://4.bp.blogspot.com/--RP10XxiFKo/T0G57GwYwEI/AAAAAAAAAP0/8srhHCa5EVE/s400/2012-02-20_111110.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2817558300501213357-6684562175015644215?l=yp-development.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/6684562175015644215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yp-development.blogspot.com/2012/02/small-technique-on-using-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/6684562175015644215?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/6684562175015644215?v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/2012/02/small-technique-on-using-java.html' title='Small Technique on using Java Decompiler in Eclipse'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-As450NQ2r5Q/T0G7fU3wIlI/AAAAAAAAAQY/4l8ktM-vBLU/s72-c/2012-02-20_110543.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMMQ3oyeyp7ImA9WhRaF00.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357.post-431924458258455896</id><published>2012-02-20T10:54:00.001+08:00</published><updated>2012-02-20T10:54:42.493+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-20T10:54:42.493+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='JADClipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Decompiler'/><category scheme='http://www.blogger.com/atom/ns#' term='JAD'/><title>Install Decompiler in Eclipse Indgio</title><content type='html'>This article will show you how to install a Java Decompiler to Eclipse.. We will use JadClipse in this example.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding="3" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-attachment: initial; background-clip: initial; background-color: #e2e2e2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: black; font-family: sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; margin-bottom: 0.5em; margin-left: 1em; margin-right: 0px; margin-top: 0px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; width: 21em; word-spacing: 0px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th colspan="2" style="font-size: larger;"&gt;&amp;nbsp;&amp;nbsp;JadClipse&lt;/th&gt;&lt;/tr&gt;
&lt;tr bgcolor="#f8f8ff" valign="top"&gt;&lt;td&gt;&lt;b&gt;Maintainer:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Vladimir Grishchenko, Johann Gyger&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#f8f8ff" valign="top"&gt;&lt;td&gt;&lt;b&gt;Platform:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Platform independent&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#f8f8ff" valign="top"&gt;&lt;td&gt;&lt;b&gt;Genre:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Java, Decompiler, Eclipse plug-in&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#f8f8ff" valign="top"&gt;&lt;td&gt;&lt;b&gt;License:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;CPL&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#f8f8ff" valign="top"&gt;&lt;td&gt;&lt;b&gt;Languages:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;English, Russian&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#f8f8ff" valign="top"&gt;&lt;td&gt;&lt;b&gt;Website:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://jadclipse.sf.net/"&gt;JadClipse.sf.net&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&amp;nbsp; &lt;br /&gt;
&lt;span style="font-size: large;"&gt;1. Download JAD&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/-eKLXaLEWGgs/T0Gv1ead74I/AAAAAAAAAOw/XjOS0qt7Qkg/s1600/2012-02-20_102538.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="222" src="http://1.bp.blogspot.com/-eKLXaLEWGgs/T0Gv1ead74I/AAAAAAAAAOw/XjOS0qt7Qkg/s400/2012-02-20_102538.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a href="http://www.softpedia.com/progDownload/JAD-Download-85911.html"&gt;http://www.softpedia.com/progDownload/JAD-Download-85911.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;2. Download JADEclipse in sourceforge&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-ypfL9xCDxIE/T0GwcOtYUeI/AAAAAAAAAO4/GIfm9qZjQDY/s1600/2012-02-20_102940.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="257" src="http://2.bp.blogspot.com/-ypfL9xCDxIE/T0GwcOtYUeI/AAAAAAAAAO4/GIfm9qZjQDY/s400/2012-02-20_102940.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a href="http://sourceforge.net/projects/jadclipse/"&gt;http://sourceforge.net/projects/jadclipse/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;3. Put the JAR to Eclipse Plugin Folder&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #999999;"&gt;
&lt;i&gt;For example: D:\eclipse_indigo\plugins\net.sf.jadclipse_3.3.0.jar&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-RZnhq3DB_uA/T0GyPPkikNI/AAAAAAAAAPI/FxAa25ZXclo/s1600/2012-02-20_103639.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="157" src="http://4.bp.blogspot.com/-RZnhq3DB_uA/T0GyPPkikNI/AAAAAAAAAPI/FxAa25ZXclo/s400/2012-02-20_103639.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-v6w-2R7Zwy4/T0GyF61sXjI/AAAAAAAAAPA/A3av1QYXHis/s1600/2012-02-20_103639.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="font-size: large;"&gt;4. Start and Configure Eclipse for the JAD Plugin&lt;/span&gt;&lt;br /&gt;
In Eclipse, Click Window –&amp;gt; Preference –&amp;gt; Java –&amp;gt; Jadclipse&lt;br /&gt;
&lt;div style="color: #666666;"&gt;
&lt;i&gt;For example:&amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;div style="color: #666666;"&gt;
&lt;i&gt;Path to decompiler: D:\warez\JAD\jadnt158\jad.exe&lt;/i&gt;&lt;/div&gt;
&lt;div style="color: #666666;"&gt;
&lt;i&gt;Directory for temporary files: D:\tmp\Decompiler&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-lPQLtEx1wAY/T0GzuxA0_AI/AAAAAAAAAPQ/gn_SbnlDvNg/s1600/2012-02-20_104453.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="348" src="http://2.bp.blogspot.com/-lPQLtEx1wAY/T0GzuxA0_AI/AAAAAAAAAPQ/gn_SbnlDvNg/s400/2012-02-20_104453.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;5. Done and test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;Open a file, mouse over the javax.ejb.SessionBean, click F3 to go to the class definition.&lt;/span&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/-YIx_h1ckkWE/T0G1J6-IpbI/AAAAAAAAAPY/Cjh2JxneIeA/s1600/2012-02-20_104914.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="63" src="http://1.bp.blogspot.com/-YIx_h1ckkWE/T0G1J6-IpbI/AAAAAAAAAPY/Cjh2JxneIeA/s400/2012-02-20_104914.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;The Decompiled Java file will be shown.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-mH---I_apr0/T0G1vWg0PSI/AAAAAAAAAPg/-IgbuA5KFLE/s1600/2012-02-20_105229.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://1.bp.blogspot.com/-mH---I_apr0/T0G1vWg0PSI/AAAAAAAAAPg/-IgbuA5KFLE/s400/2012-02-20_105229.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2817558300501213357-431924458258455896?l=yp-development.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/431924458258455896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yp-development.blogspot.com/2012/02/install-decompiler-in-eclipse-indgio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/431924458258455896?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/431924458258455896?v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/2012/02/install-decompiler-in-eclipse-indgio.html' title='Install Decompiler in Eclipse Indgio'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-eKLXaLEWGgs/T0Gv1ead74I/AAAAAAAAAOw/XjOS0qt7Qkg/s72-c/2012-02-20_102538.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0QMQHc5eCp7ImA9WhRaFkg.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357.post-7508362680275075154</id><published>2012-02-16T23:47:00.000+08:00</published><updated>2012-02-19T21:49:41.920+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-19T21:49:41.920+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Resolved'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><title>The project was not built due to  "Could not delete 'XXXXXX'". Fix the problem, then try refreshing this project and building it since it may be inconsistent.</title><content type='html'>The project was not built due to&amp;nbsp;
"Could not delete 'XXXXXX'". Fix the problem, then try refreshing this project and building it since it may be inconsistent.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-dbG4W5pC3Wk/Tz0kUWkNSaI/AAAAAAAAAL0/7sVIwxc_2bQ/s1600/2012-02-16_233419.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="306" src="http://1.bp.blogspot.com/-dbG4W5pC3Wk/Tz0kUWkNSaI/AAAAAAAAAL0/7sVIwxc_2bQ/s400/2012-02-16_233419.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
This problem is due to the cache of the old class file in eclipse, to clean the cache..&lt;br /&gt;
&lt;br /&gt;
1. Project -&amp;gt; Clean&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-0f-WABx3mro/Tz0kWciSwSI/AAAAAAAAAMM/bsQ6hTAsoHg/s1600/2012-02-16_234251.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="201" src="http://2.bp.blogspot.com/-0f-WABx3mro/Tz0kWciSwSI/AAAAAAAAAMM/bsQ6hTAsoHg/s400/2012-02-16_234251.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. Clean all projects&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-puTj4Vkd_yk/Tz0kVA94GYI/AAAAAAAAAL8/h7SEcyaD6og/s1600/2012-02-16_233450.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="241" src="http://4.bp.blogspot.com/-puTj4Vkd_yk/Tz0kVA94GYI/AAAAAAAAAL8/h7SEcyaD6og/s320/2012-02-16_233450.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. The error is gone.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-_QrDuLlBYYw/Tz0kVjDlyBI/AAAAAAAAAMA/QSwE9P4LYiw/s1600/2012-02-16_233500.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="84" src="http://1.bp.blogspot.com/-_QrDuLlBYYw/Tz0kVjDlyBI/AAAAAAAAAMA/QSwE9P4LYiw/s320/2012-02-16_233500.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2817558300501213357-7508362680275075154?l=yp-development.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/7508362680275075154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yp-development.blogspot.com/2012/02/project-was-not-built-due-to-could-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/7508362680275075154?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/7508362680275075154?v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/2012/02/project-was-not-built-due-to-could-not.html' title='The project was not built due to  &quot;Could not delete &apos;XXXXXX&apos;&quot;. Fix the problem, then try refreshing this project and building it since it may be inconsistent.'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-dbG4W5pC3Wk/Tz0kUWkNSaI/AAAAAAAAAL0/7sVIwxc_2bQ/s72-c/2012-02-16_233419.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkMHQn4-fCp7ImA9WhRaE0s.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357.post-5974708964338834684</id><published>2012-02-16T10:46:00.000+08:00</published><updated>2012-02-16T10:47:13.054+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-16T10:47:13.054+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Design'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title>How to avoid calling huge number of Java program</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-esRnXXCX0KE/Tzxqr2n5HAI/AAAAAAAAALg/fiEcQ5noXio/s1600/2012-02-16_103114.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="131" src="http://1.bp.blogspot.com/-esRnXXCX0KE/Tzxqr2n5HAI/AAAAAAAAALg/fiEcQ5noXio/s320/2012-02-16_103114.png" width="320" yda="true" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;strong&gt;&lt;u&gt;Background &lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
When the mail server receive email, it would trigger a java program by calling a shell script. &lt;br /&gt;
However, as the volumne of email is large, the java program will be triggered serveral times...&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Better Design&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;Have a search in google and found something is useful to improve the current design.&lt;br /&gt;
&lt;br /&gt;
The following is extracted from stackoverflow:&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;em&gt;Standalone Java application is already running, so command line parameters are out of question.&lt;/em&gt;&lt;/div&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;em&gt;Simplest alternatives remaining are polling for files, sockets and HTTP server.&lt;/em&gt;&lt;/div&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;strong style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-size: 14px; font-weight: bold; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em&gt;Polling for files:&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;em&gt;Make you java app to read a specific directory once in a few seconds. If a file appears in that directory, read it and do as it says. Make your shell script to form that file.&lt;/em&gt;&lt;/div&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;strong style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-size: 14px; font-weight: bold; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em&gt;Socket:&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;em&gt;Make you java app to listen on a socket. Use netcat or a similar utility to send commands to that socket.&lt;/em&gt;&lt;/div&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;strong style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-size: 14px; font-weight: bold; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em&gt;HTTP Server:&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; clear: both; font-size: 14px; margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;em&gt;Start an HTTP listener within the Java process. Use wget or similar utility to post your commands to that listener:&lt;/em&gt;&lt;/div&gt;
&lt;pre class="default prettyprint" style="background-clip: initial; background-color: #eeeeee; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, serif; font-size: 14px; margin: 0px 0px 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-clip: initial; background-color: #eeeeee; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, serif; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em&gt;&lt;span class="typ" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;HttpServer&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; httpServer &lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;HttpServer&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;create&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="kwd" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: darkblue; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;new&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;InetSocketAddress&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;port&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;),&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="lit" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: maroon; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;5&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;);&lt;/span&gt;&lt;/em&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;em&gt;httpServer&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;createContext&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="str" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: maroon; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"/"&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;,&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="kwd" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: darkblue; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;new&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="typ" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;TileServerRequestHandler&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;());&lt;/span&gt;&lt;/em&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;em&gt;httpServer&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;setExecutor&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(&lt;/span&gt;&lt;span class="typ" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Executors&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;newCachedThreadPool&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;());&lt;/span&gt;&lt;/em&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;em&gt;httpServer&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;.&lt;/span&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;start&lt;/span&gt;&lt;span class="pun" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;();&lt;/span&gt;&lt;/em&gt;&lt;span class="pln" style="background-clip: initial; background-color: transparent; background-origin: initial; border-bottom-width: 0px; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; color: black; font-size: 14px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Other options:&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
JMS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Reference&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href="http://stackoverflow.com/questions/5913400/how-to-communicate-with-existing-java-process"&gt;http://stackoverflow.com/questions/5913400/how-to-communicate-with-existing-java-process&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2817558300501213357-5974708964338834684?l=yp-development.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/5974708964338834684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yp-development.blogspot.com/2012/02/how-to-avoid-calling-huge-number-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/5974708964338834684?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/5974708964338834684?v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/2012/02/how-to-avoid-calling-huge-number-of.html' title='How to avoid calling huge number of Java program'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-esRnXXCX0KE/Tzxqr2n5HAI/AAAAAAAAALg/fiEcQ5noXio/s72-c/2012-02-16_103114.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C04EQns6cCp7ImA9WhRaE0U.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357.post-6932627430544932163</id><published>2012-02-15T13:12:00.002+08:00</published><updated>2012-02-16T16:45:03.518+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-16T16:45:03.518+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Migration Tool'/><category scheme='http://www.blogger.com/atom/ns#' term='WAS Upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='decode'/><category scheme='http://www.blogger.com/atom/ns#' term='Base64'/><category scheme='http://www.blogger.com/atom/ns#' term='encode'/><title>[Resolved] Do not use APIs from sun.* packages (WAS Upgrade)</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-nwTXVbO3QUc/TzuD44AyOlI/AAAAAAAAALQ/moh9iIwK2XU/s1600/IBM1-300x183.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="122" src="http://1.bp.blogspot.com/-nwTXVbO3QUc/TzuD44AyOlI/AAAAAAAAALQ/moh9iIwK2XU/s200/IBM1-300x183.jpg" width="200" yda="true" /&gt;&lt;/a&gt;&lt;/div&gt;
This is a short note for my WAS upgrade project V6.0 to V7.0&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Recommendation by the &lt;/span&gt;&lt;a href="http://www.ibm.com/developerworks/websphere/downloads/migtoolkit/vtov.html" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #996699; font-family: arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 14px; orphans: 2; text-align: left; text-decoration: underline; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;WebSphere Application Migration Tool&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;:&lt;/span&gt;&lt;br /&gt;
Do not use APIs from sun.* packages&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: orange; font-family: Consolas;"&gt;Package: sun.misc.BASE64Encoder &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
*** Code changes as below:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;u&gt;Before &lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: white; font-family: Consolas; font-size: 10pt;"&gt;&lt;span style="color: #7f0055;"&gt;&lt;strong&gt;import&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;sun.misc.BASE64Decoder;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;b&gt;&lt;span style="color: #7f0055; font-family: Consolas; font-size: 10pt;"&gt;import&lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt; sun.misc.BASE64Encoder;&lt;/span&gt;&lt;/div&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;String text = "Hello!"&lt;/span&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: #3f7f5f; font-family: Consolas; font-size: 10pt;"&gt;// Encode&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;sun.misc.BASE64Encoder base64encoder = &lt;/span&gt;&lt;b&gt;&lt;span style="color: #7f0055; font-family: Consolas; font-size: 10pt;"&gt;new&lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 13px;"&gt;sun.misc.&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;BASE64Encoder();&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;String encodedText = base64encoder.encode(text.getBytes());&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: #3f7f5f; font-family: Consolas; font-size: 10pt;"&gt;// Decode&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;sun.misc.BASE64Decoder base64decoder = &lt;/span&gt;&lt;b&gt;&lt;span style="color: #7f0055; font-family: Consolas; font-size: 10pt;"&gt;new&lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 13px;"&gt;sun.misc.&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;BASE64Decoder();&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;
&lt;b&gt;&lt;span style="color: #7f0055; font-family: Consolas; font-size: 10pt; line-height: 115%;"&gt;byte&lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt; line-height: 115%;"&gt;[] output= base64decoder.decodeBuffer(encodedText);&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;After&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;strong&gt;&lt;span style="color: #7f0055;"&gt;import&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt; line-height: 115%;"&gt; org.apache.commons.codec.binary.Base64;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
String text = &lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: Consolas;"&gt;&lt;span style="color: #2a00ff;"&gt;"Hello!"&lt;/span&gt;&lt;span style="color: black; font-size: 10pt;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: #3f7f5f; font-family: Consolas; font-size: 10pt;"&gt;// Encode (static method)&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;String encodedText = Base64.encodeBase64String(text.getBytes());&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;
&lt;span style="color: #3f7f5f; font-family: Consolas; font-size: 10pt;"&gt;// Decode (static method)&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;
&lt;b&gt;&lt;span style="color: #7f0055; font-family: Consolas; font-size: 10pt; line-height: 115%;"&gt;byte&lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-family: Consolas; font-size: 10pt; line-height: 115%;"&gt;[] output= Base64.decodeBase64(encodedText);&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2817558300501213357-6932627430544932163?l=yp-development.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/6932627430544932163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yp-development.blogspot.com/2012/02/resolved-do-not-use-apis-from-sun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/6932627430544932163?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/6932627430544932163?v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/2012/02/resolved-do-not-use-apis-from-sun.html' title='[Resolved] Do not use APIs from sun.* packages (WAS Upgrade)'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-nwTXVbO3QUc/TzuD44AyOlI/AAAAAAAAALQ/moh9iIwK2XU/s72-c/IBM1-300x183.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0MCRHo-cSp7ImA9WhRaEUU.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357.post-994242100438854968</id><published>2012-02-14T10:07:00.003+08:00</published><updated>2012-02-14T10:11:05.459+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-14T10:11:05.459+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='find JAR'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='JAR'/><title>Website to find the public jar - findjar.com</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-IVsRF0kr5gg/TznBlhEOUgI/AAAAAAAAALA/HksrYZqxcAA/s1600/2012-02-14_100543.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="81" src="http://2.bp.blogspot.com/-IVsRF0kr5gg/TznBlhEOUgI/AAAAAAAAALA/HksrYZqxcAA/s320/2012-02-14_100543.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="color: #cedfd1; font-family: helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
This website helps you to find out the common jar file stored in&amp;nbsp;&lt;a href="http://mirrors.ibiblio.org/"&gt;http://mirrors.ibiblio.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Website:&amp;nbsp;&lt;a href="http://www.findjar.com/"&gt;http://www.findjar.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
1. Go to the website&lt;br /&gt;
&lt;br /&gt;
2. Input the Jar name, e.g.&amp;nbsp;j2ee-1.4.jar&lt;br /&gt;
&lt;br /&gt;
3. Click JAR/Class Search&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-9bGfh-yH-70/TznCg83sJ3I/AAAAAAAAALI/ZRDfwwrQAVc/s1600/2012-02-14_100902.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="197" src="http://1.bp.blogspot.com/-9bGfh-yH-70/TznCg83sJ3I/AAAAAAAAALI/ZRDfwwrQAVc/s400/2012-02-14_100902.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2817558300501213357-994242100438854968?l=yp-development.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/994242100438854968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yp-development.blogspot.com/2012/02/place-to-find-your-jar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/994242100438854968?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/994242100438854968?v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/2012/02/place-to-find-your-jar.html' title='Website to find the public jar - findjar.com'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-IVsRF0kr5gg/TznBlhEOUgI/AAAAAAAAALA/HksrYZqxcAA/s72-c/2012-02-14_100543.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Ck4GRXc7cCp7ImA9WhRaE00.&quot;'><id>tag:blogger.com,1999:blog-2817558300501213357.post-8291688326085674318</id><published>2012-02-13T18:10:00.000+08:00</published><updated>2012-02-15T18:15:24.908+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-15T18:15:24.908+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='WebSphere Application Migration Tool'/><category scheme='http://www.blogger.com/atom/ns#' term='WAS Upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='BigDecimal'/><title>[Resolved] Use the BigDecimal toPlainString() method explicitly when deriving a string value (WAS Upgrade)</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-wwgAZbdxXO8/TzuE0EnMxkI/AAAAAAAAALY/bJfypC7Huew/s1600/IBM1-300x183.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="122" src="http://2.bp.blogspot.com/-wwgAZbdxXO8/TzuE0EnMxkI/AAAAAAAAALY/bJfypC7Huew/s200/IBM1-300x183.jpg" width="200" yda="true" /&gt;&lt;/a&gt;&lt;/div&gt;
This is a short note for my WAS upgrade project V6.0 to V7.0&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Recommendation by the &lt;/span&gt;&lt;a href="http://www.ibm.com/developerworks/websphere/downloads/migtoolkit/vtov.html" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #996699; font-family: arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 14px; orphans: 2; text-align: left; text-decoration: underline; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;WebSphere Application Migration Tool&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;:&lt;/span&gt;&lt;br /&gt;
Use the BigDecimal toPlainString() method explicitly when deriving a string value &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: orange;"&gt;The behavior of the method&amp;nbsp;toString() in BigDecimal is changed from J2SE 1.4 to 1.5&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Java 1.4.2&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table border="1" cellpadding="3" cellspacing="0" style="background-color: white; color: black;" summary=""&gt;&lt;tbody&gt;
&lt;tr bgcolor="white" class="TableRowColor" style="background-clip: initial; background-origin: initial;"&gt;&lt;td align="right" valign="top" width="1%"&gt;&lt;code&gt;&amp;nbsp;&lt;a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html" title="class in java.lang"&gt;String&lt;/a&gt;&lt;/code&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/math/BigDecimal.html#toString()"&gt;toString&lt;/a&gt;&lt;/b&gt;()&lt;/code&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Returns the string representation of this BigDecimal.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Java 1.5&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table border="1" cellpadding="3" cellspacing="0" style="background-color: white; color: black;" summary=""&gt;&lt;tbody&gt;
&lt;tr bgcolor="white" class="TableRowColor" style="background-clip: initial; background-origin: initial;"&gt;&lt;td align="right" valign="top" width="1%"&gt;&lt;code&gt;&amp;nbsp;&lt;a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" title="class in java.lang"&gt;String&lt;/a&gt;&lt;/code&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html#toString()"&gt;toString&lt;/a&gt;&lt;/b&gt;()&lt;/code&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Returns the string representation of this&amp;nbsp;&lt;tt&gt;BigDecimal&lt;/tt&gt;, using scientific notation if an exponent is needed.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Reference:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Java 1.4.2: &lt;a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/math/BigDecimal.html"&gt;http://docs.oracle.com/javase/1.4.2/docs/api/java/math/BigDecimal.html&lt;/a&gt;&lt;br /&gt;
Jave 1.5: &lt;a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html"&gt;http://docs.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2817558300501213357-8291688326085674318?l=yp-development.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yp-development.blogspot.com/feeds/8291688326085674318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://yp-development.blogspot.com/2012/02/use-bigdecimal-toplainstring-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/8291688326085674318?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2817558300501213357/posts/default/8291688326085674318?v=2'/><link rel='alternate' type='text/html' href='http://yp-development.blogspot.com/2012/02/use-bigdecimal-toplainstring-method.html' title='[Resolved] Use the BigDecimal toPlainString() method explicitly when deriving a string value (WAS Upgrade)'/><author><name>Pete AppDev</name><uri>https://profiles.google.com/113086805831368566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-wwgAZbdxXO8/TzuE0EnMxkI/AAAAAAAAALY/bJfypC7Huew/s72-c/IBM1-300x183.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>