<?xml version="1.0" encoding="iso-8859-1"?>


























<rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>

<title>SDN Share: all posts</title>

<link>http://sdnshare.sun.com/</link>
<description>SDN Share: Discover Remarkable Things</description>
<dc:language>en-us</dc:language>
<dc:creator>SDN Share team (webnext@sun.com)</dc:creator>
<dc:date>2008-12-29T20:53:48.942Z</dc:date>
<image>
   <title>SDN Share</title>
   <url>http://sdnshare.sun.com/images/app_banner.jpg</url>
   <link>http://sdnshare.sun.com/</link>
</image>






    <item>
      <title>rmi registry problems</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2534</link>
      <description><![CDATA[Plzzzzz Help me..!!
I am developing rmi client-server application..<br />&nbsp;<br />On Server side, object get bound to registry BUT client application is unable to locate it.<br />&nbsp;<br />I am going to write both code segments...<br />&nbsp;<br />[NOTE: Due to this problem in my final year project(remote-spy), i got &#39;B&#39; Grade otherwise &#39;A&#39; was possible..] &nbsp;:-(]]></description>
      <pubDate>Mon, 29 Dec 2008 12:53:48 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2534</guid>
      <dc:date>2008-12-29T20:53:48.942Z</dc:date>
      <dc:creator>Bourne-Tremendous</dc:creator>
    </item>





    <item>
      <title>Top things to know about the String class!</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2514</link>
      <description><![CDATA[Most important facts about the most common class - String]]></description>
      <pubDate>Wed, 24 Dec 2008 02:36:15 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2514</guid>
      <dc:date>2008-12-24T10:36:15.385Z</dc:date>
      <dc:creator>deepak_1your.com</dc:creator>
    </item>





    <item>
      <title>Few things about toString()</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2494</link>
      <description><![CDATA[Description toString() method and its types.]]></description>
      <pubDate>Sun, 21 Dec 2008 23:18:10 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2494</guid>
      <dc:date>2008-12-22T07:18:10.684Z</dc:date>
      <dc:creator>Vayush</dc:creator>
    </item>





    <item>
      <title>Capture image of component</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2434</link>
      <description><![CDATA[This simple code shows how to gain a BufferedImage of a Component.<br />&nbsp;<br />The main() goes on to save the image as a .png file.<br />&nbsp;<br />In case the formatting of code samples is still getting messed up here on the SDNShare site, you can also see the (formatted) source here..
http://pscode.org/fmt/sbx.html?url=/test%2Feg%2FComponentImageCapture.java&amp;tab=2]]></description>
      <pubDate>Tue, 2 Dec 2008 23:38:42 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2434</guid>
      <dc:date>2008-12-03T07:38:42.177Z</dc:date>
      <dc:creator>AndrewThompson64</dc:creator>
    </item>





    <item>
      <title>Introdution To JSTL</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2375</link>
      <description><![CDATA[Introdution To JSTL]]></description>
      <pubDate>Fri, 24 Oct 2008 15:17:37 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2375</guid>
      <dc:date>2008-10-24T22:17:37.435Z</dc:date>
      <dc:creator>Yuval_Zilberstein</dc:creator>
    </item>





    <item>
      <title>jsapi masking() ext,flankers,premaskers and postmaskers</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2354</link>
      <description><![CDATA[i&#39;m an MD and this is a sample code i used to remove masking on my sound card,experiments in psychology are yet to determine the efficacy of masking in real ilfe situation,will welcome any corrections or contributions]]></description>
      <pubDate>Sun, 12 Oct 2008 07:53:27 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2354</guid>
      <dc:date>2008-10-12T14:53:27.123Z</dc:date>
      <dc:creator>schizodog</dc:creator>
    </item>





    <item>
      <title>How to Change a Java Program into Reusable API</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2335</link>
      <description><![CDATA[I am a mid-level java programmer who has come up with ways of improving my beginning java programs. &nbsp;One way is the expand the specifics of a Java program so that it can be used as an API, callable by other programs. &nbsp;This gives a flexibility to that program it hadn&#39;t had before. I am a test engineer for Java applications and have written many test plans and summary documents on various Java test cycles.]]></description>
      <pubDate>Mon, 22 Sep 2008 14:47:40 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2335</guid>
      <dc:date>2008-09-22T21:47:40.092Z</dc:date>
      <dc:creator>amajko</dc:creator>
    </item>





    <item>
      <title>JSE Should have a Delimited File Class</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2334</link>
      <description><![CDATA[This class provides a Delimited File. &nbsp;It extends java.io.File and allows the user to use any String or char for the delimiter.]]></description>
      <pubDate>Mon, 22 Sep 2008 09:56:52 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2334</guid>
      <dc:date>2008-09-22T16:56:52.304Z</dc:date>
      <dc:creator>extendJAVA</dc:creator>
    </item>





    <item>
      <title>The Vibrating JFrame</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2326</link>
      <description><![CDATA[Ever used msn messenger? &nbsp;Ever been &quot;nudged&quot; by the person you are chatting with? I bet so. Seen how the chat window vibrates on a nudge? Well, I have tried to replicate the vibrating effect with Java code. Enjoy]]></description>
      <pubDate>Fri, 12 Sep 2008 10:12:07 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2326</guid>
      <dc:date>2008-09-12T17:12:07.570Z</dc:date>
      <dc:creator>Jamwa</dc:creator>
    </item>





    <item>
      <title>Law of Demeter Explained</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2325</link>
      <description><![CDATA[Law of Demeter helps developer in ensuring encapsulation in day to day work.]]></description>
      <pubDate>Wed, 10 Sep 2008 11:17:14 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2325</guid>
      <dc:date>2008-09-10T18:17:14.157Z</dc:date>
      <dc:creator>N_i_X</dc:creator>
    </item>





    <item>
      <title>Overriding Tip [Million Dollar Tip]</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2321</link>
      <description><![CDATA[This is useful while overriding any class.]]></description>
      <pubDate>Wed, 3 Sep 2008 22:20:40 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2321</guid>
      <dc:date>2008-09-04T05:20:40.500Z</dc:date>
      <dc:creator>N_i_X</dc:creator>
    </item>





    <item>
      <title>Don&#039;t use java.util.Stack class</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2318</link>
      <description><![CDATA[ java.util.Stack class is badly implemented in Java collection framework. This tech tip explains why not to use Stack class.]]></description>
      <pubDate>Sat, 30 Aug 2008 23:35:51 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2318</guid>
      <dc:date>2008-08-31T06:35:51.329Z</dc:date>
      <dc:creator>N_i_X</dc:creator>
    </item>





    <item>
      <title>Strange Socket Behavior and Solution.</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2317</link>
      <description><![CDATA[About Socket behavior.]]></description>
      <pubDate>Mon, 25 Aug 2008 02:26:20 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2317</guid>
      <dc:date>2008-08-25T09:26:20.891Z</dc:date>
      <dc:creator>N_i_X</dc:creator>
    </item>





    <item>
      <title>LinkLabel Using the Desktop Class</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2316</link>
      <description><![CDATA[There are a lot of link labels. &nbsp;This one uses the Java 1.6+ Desktop class for its functionality, and is thereby suitable for applets, applications launched using JWS, and &#39;standard&#39; (non-JWS) desktop applications.]]></description>
      <pubDate>Sat, 23 Aug 2008 02:01:44 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2316</guid>
      <dc:date>2008-08-23T09:01:44.495Z</dc:date>
      <dc:creator>AndrewThompson64</dc:creator>
    </item>





    <item>
      <title>Defensive Loading of Trusted Applets</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2315</link>
      <description><![CDATA[An example of loading trusted applets in a &#39;defensive&#39; way, so that they provide logical feedback to a user who refuses the digitally signed code.<br />&nbsp;<br />This applet provides a JEditorPane to view documents identified using a JFileChooser. &nbsp;If the user decides not to Run the digitally signed code, a standard message will be displayed in the JEditorPane to indicate what needs to be done, to enable the trusted version of the applet.<br />&nbsp;<br />See also the live demo at http://pscode.org/test/docload/]]></description>
      <pubDate>Sat, 16 Aug 2008 00:51:22 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2315</guid>
      <dc:date>2008-08-16T07:51:22.034Z</dc:date>
      <dc:creator>AndrewThompson64</dc:creator>
    </item>





    <item>
      <title>Comma Separated Values (CSV) Splitter</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2314</link>
      <description><![CDATA[This is just another Whatever Separated Values string splitter. I thought someone might find it useful. It&#39;s only mark of distinction over the others (there are plenty) which I&#39;ve looked at is they all trim the field-data, in this one trimming is configurable, apart from that it&#39;s an example of &quot;raw&quot; string parsing using Java. Tested on 1.6.0_04-b12 on Vista Pro.]]></description>
      <pubDate>Thu, 7 Aug 2008 07:12:35 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2314</guid>
      <dc:date>2008-08-07T14:12:35.939Z</dc:date>
      <dc:creator>corlettk</dc:creator>
    </item>





    <item>
      <title>Store Application Settings and Components</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2305</link>
      <description><![CDATA[How do I find the application path?<br />&nbsp;<br />This is a FAQ related to storing application configuration files, or accessing tools (e.g. a database or plug-in directory) used by an application.<br />&nbsp;<br />The &#39;smart answer&#39; to this question is &quot;store the data in a sub-directory of user.home, based on the package name&quot;.<br />&nbsp;<br />This is not a direct answer to the original question, but it is usually the best strategy to achieving a solution. &nbsp;Finding the application&#39;s path is tricky, and usually unnecessary.<br />&nbsp;<br />Having provided this advice many times, I decided to write the code that implements it. &nbsp;After all - it is easier to link to an example, than to explain!]]></description>
      <pubDate>Sat, 26 Jul 2008 05:44:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2305</guid>
      <dc:date>2008-07-26T12:44:26.245Z</dc:date>
      <dc:creator>AndrewThompson64</dc:creator>
    </item>





    <item>
      <title>Page Navigation</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2304</link>
      <description><![CDATA[This code sample navigates the number of pages listed from database contents in a JSP page in an efficient way.]]></description>
      <pubDate>Fri, 25 Jul 2008 04:26:32 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2304</guid>
      <dc:date>2008-07-25T11:26:32.641Z</dc:date>
      <dc:creator>Jayaganesh</dc:creator>
    </item>





    <item>
      <title>Show Exported Date of a Oracle Dump File</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2299</link>
      <description><![CDATA[Code sample to show oracle dump exported date.]]></description>
      <pubDate>Sat, 12 Jul 2008 13:09:45 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2299</guid>
      <dc:date>2008-07-12T20:09:45.445Z</dc:date>
      <dc:creator>thiru.k</dc:creator>
    </item>





    <item>
      <title>TNSNames.ora parser</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2298</link>
      <description><![CDATA[Oracle tnsnames.ora &nbsp;parser.]]></description>
      <pubDate>Sat, 12 Jul 2008 13:05:46 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2298</guid>
      <dc:date>2008-07-12T20:05:46.280Z</dc:date>
      <dc:creator>thiru.k</dc:creator>
    </item>





    <item>
      <title>ScriptEngine JavaScript Evaluator</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2296</link>
      <description><![CDATA[Example of using the ECMAScript (JavaScript) engine provide in J2SE 6 to evaluate simple JavaScript expressions.<br />&nbsp;<br />The ECMAScript engine is the only one available &#39;out of the box&#39;, but others can be added using the service provider mechanism.
]]></description>
      <pubDate>Fri, 11 Jul 2008 10:26:36 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2296</guid>
      <dc:date>2008-07-11T17:26:36.178Z</dc:date>
      <dc:creator>AndrewThompson64</dc:creator>
    </item>





    <item>
      <title>Dynamic width JComboBox</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2295</link>
      <description><![CDATA[The popup of &nbsp;the JCombo will automatically increase its width according to its items width. It is useful to view the items to its full length.<br />&nbsp;<br />JComboButton is an arrow button.<br />&nbsp;<br />
]]></description>
      <pubDate>Thu, 10 Jul 2008 23:43:45 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2295</guid>
      <dc:date>2008-07-11T06:43:45.242Z</dc:date>
      <dc:creator>david_david</dc:creator>
    </item>





    <item>
      <title>Applet Minimum Version Checker</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2294</link>
      <description><![CDATA[An applet to check the Java version is the minimum needed to run another applet of interest. &nbsp;If not, it will redirect to a help/download page specified in the applet element. &nbsp;<br />&nbsp;<br />This code is compatible with Java 1.1.]]></description>
      <pubDate>Sat, 5 Jul 2008 09:07:55 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2294</guid>
      <dc:date>2008-07-05T16:07:55.569Z</dc:date>
      <dc:creator>AndrewThompson64</dc:creator>
    </item>





    <item>
      <title>Using Grinder to Load Test a J2EE Web Application </title>
      <link>http://sdnshare.sun.com/view.jsp?id=2286</link>
      <description><![CDATA[The article covers the approach we followed, learning, and issues we acquired in load testing using Grinder framework.]]></description>
      <pubDate>Mon, 30 Jun 2008 05:25:37 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2286</guid>
      <dc:date>2008-06-30T12:25:37.811Z</dc:date>
      <dc:creator>Divya.Lekha</dc:creator>
    </item>





    <item>
      <title>Do You Need to Parse XML to Get its Root Element?</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2285</link>
      <description><![CDATA[This code is used to read the XML root tag of each input xml file. It uses a SAX parser for parsing files.]]></description>
      <pubDate>Mon, 30 Jun 2008 03:24:15 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2285</guid>
      <dc:date>2008-06-30T10:24:15.725Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Implementing an XML FileName Filter</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2284</link>
      <description><![CDATA[Sample code to write a filename filter to check for xml files, in other words check for files with extension .xml.]]></description>
      <pubDate>Mon, 30 Jun 2008 01:36:35 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2284</guid>
      <dc:date>2008-06-30T08:36:35.158Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Sending Messages to a JMS Queue</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2283</link>
      <description><![CDATA[Given is the code to connect to a JMS Queue. Object and send messages to the Queue.]]></description>
      <pubDate>Sun, 29 Jun 2008 22:49:00 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2283</guid>
      <dc:date>2008-06-30T05:49:00.282Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Service Locator for the JNDI Tree</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2280</link>
      <description><![CDATA[This class is implemented as a singleton class and is a central place for looking up objects in the JNDI tree. A useful utility which can be used to search EJBs, datasources or any other JNDI utilities in the JNDI tree.]]></description>
      <pubDate>Sun, 29 Jun 2008 22:04:46 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2280</guid>
      <dc:date>2008-06-30T05:04:46.717Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Property Utility to Read Properties Files</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2279</link>
      <description><![CDATA[This utility reads the property from the specified property file and returns the read object against the key. This utility can be used directly out of the box without any code changes.]]></description>
      <pubDate>Sun, 29 Jun 2008 21:55:00 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2279</guid>
      <dc:date>2008-06-30T04:55:00.478Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Servlet to Output form Parameters</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2276</link>
      <description><![CDATA[Sample servlet to get the parameters submitted via a html form and display those. A form should post parameters like txtUser and txtEmail to this servlet]]></description>
      <pubDate>Fri, 27 Jun 2008 03:43:00 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2276</guid>
      <dc:date>2008-06-27T10:43:00.943Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Java Object Serialization</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2275</link>
      <description><![CDATA[Sample code to test serialization and de-serialization in Java.]]></description>
      <pubDate>Fri, 27 Jun 2008 03:05:34 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2275</guid>
      <dc:date>2008-06-27T10:05:34.159Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Send a Message to a JMS TOPIC for Asynchronous Communication</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2274</link>
      <description><![CDATA[A sample utility to send a message to a peconfigured JMS topic on the Message Server. These messages will then be picked up by a subscriber or a message driven bean listening to that topic. The topic &quot;jms/mytopic&quot; should be configured on the server and appropriate url, security details and context factory details of the server need to be provided.]]></description>
      <pubDate>Fri, 27 Jun 2008 01:24:46 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2274</guid>
      <dc:date>2008-06-27T08:24:46.538Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>How to Have a Dynamic Client for a Web Service</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2273</link>
      <description><![CDATA[A sample web service client which is dynamic in nature. On having a set of operations that can be invoked on a web service and on knowing the endpoint url any web service can be invoked without having to create a static client. The assumption here is that there is a web service called Company at the given url which exposes a addEmployee() operation to add an Employee and returns a string result. Since the url and the operation, both are string inputs this can be easily modified for any Web Service.]]></description>
      <pubDate>Fri, 27 Jun 2008 00:18:45 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2273</guid>
      <dc:date>2008-06-27T07:18:45.287Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>ZIP Compressor and Decompressor</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2272</link>
      <description><![CDATA[A very useful utility for compressing, decompressing and creating xml using the ZIP APIs of Java.]]></description>
      <pubDate>Fri, 27 Jun 2008 00:06:49 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2272</guid>
      <dc:date>2008-06-27T07:06:49.739Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Simple HttpHandler for Returning Content of a URL</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2269</link>
      <description><![CDATA[Recently I needed to test an application that interacted with a web server. So to test I required a simple web server and Java 6 comes with one built in.
The one built in to Java 6 requires handlers and I could not see any simple &quot;return this file&quot; type ones built in, so I made one. It and a simple test case are included below. Enjoy.
]]></description>
      <pubDate>Thu, 26 Jun 2008 06:02:25 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2269</guid>
      <dc:date>2008-06-26T13:02:25.600Z</dc:date>
      <dc:creator>mlk</dc:creator>
    </item>





    <item>
      <title>HTTP Headers from Browser to Web Server</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2268</link>
      <description><![CDATA[Sample code to display http headers submitted by the browser to the web server.]]></description>
      <pubDate>Mon, 23 Jun 2008 21:39:44 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2268</guid>
      <dc:date>2008-06-24T04:39:44.901Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Sample to Have a Servlet Output an Excel</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2267</link>
      <description><![CDATA[A sample servlet to emit out data in xls format. Check out the code.]]></description>
      <pubDate>Mon, 23 Jun 2008 21:34:05 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2267</guid>
      <dc:date>2008-06-24T04:34:05.424Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Home-Made AOP</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2266</link>
      <description><![CDATA[Rationale and fundamentals of AOP. Shows a simple AOP infrastructure implementation using only core Java libraries.]]></description>
      <pubDate>Fri, 20 Jun 2008 12:08:36 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2266</guid>
      <dc:date>2008-06-20T19:08:36.661Z</dc:date>
      <dc:creator>g_baud</dc:creator>
    </item>





    <item>
      <title>File Operations - Working With Files in Java</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2265</link>
      <description><![CDATA[This is sample code to display how to work with files in Java, like creating and deleting files, listing directory contents and so on.]]></description>
      <pubDate>Fri, 20 Jun 2008 03:04:09 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2265</guid>
      <dc:date>2008-06-20T10:04:09.742Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>XML Schema Validator, Validating XML Files</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2264</link>
      <description><![CDATA[A very simple utility to validate XML files against a given XML schema also called as the XSD. The reference to the XSD is provided in the XML file and this utility will validate the XML against that XSD.
]]></description>
      <pubDate>Fri, 20 Jun 2008 02:56:10 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2264</guid>
      <dc:date>2008-06-20T09:56:10.977Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Instant Equals Method</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2263</link>
      <description><![CDATA[Using EqualsBuilder to facilitate object equality comparisons.]]></description>
      <pubDate>Thu, 19 Jun 2008 23:27:30 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2263</guid>
      <dc:date>2008-06-20T06:27:30.300Z</dc:date>
      <dc:creator>g_baud</dc:creator>
    </item>





    <item>
      <title>Collection Size in Expression Language</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2262</link>
      <description><![CDATA[Accessing collection sizes through Expression Language (EL) in JSP or JSF.]]></description>
      <pubDate>Thu, 19 Jun 2008 20:06:40 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2262</guid>
      <dc:date>2008-06-20T03:06:40.090Z</dc:date>
      <dc:creator>g_baud</dc:creator>
    </item>





    <item>
      <title>My Own XML Parser</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2260</link>
      <description><![CDATA[I had once written a basic XML parser and thought that I should share it with you. It is a simple parser and very good to know if you want to understand XML parsing basics.]]></description>
      <pubDate>Thu, 19 Jun 2008 04:06:13 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2260</guid>
      <dc:date>2008-06-19T11:06:13.110Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>A Useful Reflection Utility</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2259</link>
      <description><![CDATA[This is a UI based utility application to test any class &amp; its methods; to invoke the methods and obtain the results.]]></description>
      <pubDate>Thu, 19 Jun 2008 03:59:56 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2259</guid>
      <dc:date>2008-06-19T10:59:56.021Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Boolean.TRUE or new Boolean(true)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2256</link>
      <description><![CDATA[Is it better to use the constructor or the static field while creating a boolean object? Small as it may seem this and other such instances can surely improve the performance of your application.
]]></description>
      <pubDate>Thu, 12 Jun 2008 01:09:58 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2256</guid>
      <dc:date>2008-06-12T08:09:58.728Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Sample to Create a SOAP Envelope Using SAAJ API and Send it to a Web Service</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2254</link>
      <description><![CDATA[This is a sample Java code to create a SOAP envelope consisting of header and body and invoking the add method on a Calculator Web Service, which is already hosted. By replacing the url and adding more information to the body any Web Service can be invoked.]]></description>
      <pubDate>Sun, 8 Jun 2008 21:06:37 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2254</guid>
      <dc:date>2008-06-09T04:06:37.010Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Converting Property File to XML</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2235</link>
      <description><![CDATA[Previously configuration data were stored as Property Files. Now-a-days it has been changed to XML. &nbsp;If you need to convert the existing property file to equivalent XML files, you can use the following code.]]></description>
      <pubDate>Wed, 4 Jun 2008 20:40:40 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2235</guid>
      <dc:date>2008-06-05T03:40:40.658Z</dc:date>
      <dc:creator>biju74</dc:creator>
    </item>





    <item>
      <title>File Compression Utility</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2234</link>
      <description><![CDATA[This module can take any file as input and compress it into a zip file. It uses ZipOutputStream for compression.]]></description>
      <pubDate>Wed, 4 Jun 2008 02:59:28 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2234</guid>
      <dc:date>2008-06-04T09:59:28.538Z</dc:date>
      <dc:creator>biju74</dc:creator>
    </item>





    <item>
      <title>Developing a Protocol for a Network Application</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2229</link>
      <description><![CDATA[Most of the advantages in Java are based in the facilities that give to the programmer for transfer data through the internet. But, even with Java keeping the connection and keeping track of all the packets that are received, it’s almost for sure that your application is going to need some kind of mini-protocol that communicate to your other application that you’re going to send text, a file, or maybe something that you don’t want to show to the user, like an update or a log file. A command based protocol is usually the first plan, most of the protocols work sending a command and a certain number of parameters, this make the remote application do something, like responding or something else. ]]></description>
      <pubDate>Tue, 27 May 2008 17:31:10 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2229</guid>
      <dc:date>2008-05-28T00:31:10.725Z</dc:date>
      <dc:creator>ggomez</dc:creator>
    </item>





    <item>
      <title>JSF? What is it and how is it used?</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2227</link>
      <description><![CDATA[JavaServer Faces technology is a server-side user interface component framework for Java technology-based web applications. This is sample code to demo the use of JSF.]]></description>
      <pubDate>Sun, 25 May 2008 21:26:35 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2227</guid>
      <dc:date>2008-05-26T04:26:35.946Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Java Performance Tuning - A Practical Approach</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2226</link>
      <description><![CDATA[A practical guide to Java performance tuning.]]></description>
      <pubDate>Tue, 20 May 2008 21:10:30 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2226</guid>
      <dc:date>2008-05-21T04:10:30.343Z</dc:date>
      <dc:creator>bobypt</dc:creator>
    </item>





    <item>
      <title>Folder Change Detector</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2223</link>
      <description><![CDATA[This simple program polls a given folder in order to detect any new files added into it.]]></description>
      <pubDate>Mon, 19 May 2008 04:05:18 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2223</guid>
      <dc:date>2008-05-19T11:05:18.880Z</dc:date>
      <dc:creator>Jamwa</dc:creator>
    </item>





    <item>
      <title>&#039;ScanArchive&#039; a Utility Program to Search Files with in the .jar or .zip Files</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2220</link>
      <description><![CDATA[This small utility program can be used to search files with in the archive files. This can be used at the time of project development for searching .class files with in the large set of jars in the project.]]></description>
      <pubDate>Wed, 7 May 2008 22:27:05 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2220</guid>
      <dc:date>2008-05-08T05:27:05.221Z</dc:date>
      <dc:creator>pradeep.k</dc:creator>
    </item>





    <item>
      <title>Swapping Two Integer Variable Values Without Using a Temporary Variable</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2217</link>
      <description><![CDATA[This class helps you to swap two integer values without using a third or a temporary variable. Here I have used the xor operator to achieve this. When swapping two variables you can use the xor operator like this so that you can reduce the cost of declaring another variable as it will take another memory point as well as after swapping the two variable values the third temporary variable gets obsolete and it is an unwanted cost. &nbsp; &nbsp; &nbsp; &nbsp;]]></description>
      <pubDate>Tue, 6 May 2008 02:44:35 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2217</guid>
      <dc:date>2008-05-06T09:44:35.966Z</dc:date>
      <dc:creator>R34GTR</dc:creator>
    </item>





    <item>
      <title>Most Common Mistake With &#034;if condition checking&#034;</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2215</link>
      <description><![CDATA[Are you writing &quot;if conditions&quot; in the right way? &nbsp;If you feel so, then also go through this TechTip. It will give you correct picture about it.]]></description>
      <pubDate>Mon, 28 Apr 2008 17:58:47 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2215</guid>
      <dc:date>2008-04-29T00:58:47.646Z</dc:date>
      <dc:creator>N_i_X</dc:creator>
    </item>





    <item>
      <title>Catching Unhandled Exceptions</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2214</link>
      <description><![CDATA[How to catch unhandled exceptions in any application.]]></description>
      <pubDate>Wed, 23 Apr 2008 14:16:15 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2214</guid>
      <dc:date>2008-04-23T21:16:15.139Z</dc:date>
      <dc:creator>N_i_X</dc:creator>
    </item>





    <item>
      <title>Encoder and Decoder Text in Base64</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2197</link>
      <description><![CDATA[Encodes a string of plain text codified a chain based 64. It&#39;s a class that contains a JFrame and two JTextArea. ]]></description>
      <pubDate>Sun, 13 Apr 2008 09:15:07 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2197</guid>
      <dc:date>2008-04-13T16:15:07.749Z</dc:date>
      <dc:creator>copernico</dc:creator>
    </item>





    <item>
      <title>Sample Code to Send Email</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2156</link>
      <description><![CDATA[This is a small and concise sample code to send an email with attachment. It uses the Apache email libraries for accomplishing this.]]></description>
      <pubDate>Wed, 2 Apr 2008 21:43:58 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2156</guid>
      <dc:date>2008-04-03T04:43:58.282Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>System.out.printf()</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2155</link>
      <description><![CDATA[This new feature is introduced from J2SE 5.0.
]]></description>
      <pubDate>Wed, 2 Apr 2008 03:26:17 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2155</guid>
      <dc:date>2008-04-02T10:26:17.423Z</dc:date>
      <dc:creator>Mahendra_Kariya</dc:creator>
    </item>





    <item>
      <title>JSP Database Page Generator</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2154</link>
      <description><![CDATA[Do you ever display entries from a database into a jsp page and then realize that the rows are far to many so your page takes forever to load? <br />&nbsp;<br />This TechTip will show you how to generate the pages automatically depending on the number of entries that you have. Comprising two pages, index.jsp will calculate the number of entries and call show.jsp which does the actual displaying of the pages.<br />&nbsp;<br />Replace the variables with what suits your needs.]]></description>
      <pubDate>Tue, 1 Apr 2008 05:16:05 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2154</guid>
      <dc:date>2008-04-01T12:16:05.943Z</dc:date>
      <dc:creator>Jamwa</dc:creator>
    </item>





    <item>
      <title>Compiling Applications Using GTK with Sun Studio</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2134</link>
      <description><![CDATA[The GTK FAQ recommends adding `pkg-config gtk+-2.0 --cflags --libs` to the compile command line. &nbsp;Although this works, it doesn&#39;t really fit in with the ethos of separate compile and link configuration settings with Sun Studio.
]]></description>
      <pubDate>Thu, 20 Mar 2008 06:29:48 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2134</guid>
      <dc:date>2008-03-20T13:29:48.161Z</dc:date>
      <dc:creator>bnBertha</dc:creator>
    </item>





    <item>
      <title>Data Access Object Code for JPA</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2116</link>
      <description><![CDATA[The is generic class to add, edit, delete and manipulate any object.<br />&nbsp;<br />An example for each method is;<br />&nbsp;<br />daoBean.addObject(user);
daoBean.addObject(invoice);<br />&nbsp;<br />daoBean.deleteObject(user,userid);<br />&nbsp;<br />daoBean.deleteAllObject(user,userid[]);<br />&nbsp;<br />List&lt;String&gt; cols = new ArrayList&lt;String&gt;();
Map&lt;String, Object&gt; condition = new HashMap&lt;String, Object&gt;();
cols.add(&quot;username&quot;);
cols.add(&quot;password&quot;);
condition.put(&quot;username&quot;, userId);
condition.put(&quot;password&quot;, passwd);
User user = (User) dao.getObjectByMapCondition(new User(), condition, cols);<br />&nbsp;<br />]]></description>
      <pubDate>Fri, 14 Mar 2008 23:33:40 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2116</guid>
      <dc:date>2008-03-15T06:33:40.935Z</dc:date>
      <dc:creator>SyedSaifuddin</dc:creator>
    </item>





    <item>
      <title>Cancel Print Requests</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2115</link>
      <description><![CDATA[Information on canceling print requests.]]></description>
      <pubDate>Fri, 14 Mar 2008 14:51:19 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2115</guid>
      <dc:date>2008-03-14T21:51:19.025Z</dc:date>
      <dc:creator>SundoNuno</dc:creator>
    </item>





    <item>
      <title>Java Scripting Support Usage Example</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2114</link>
      <description><![CDATA[A small code snippet illustrating the usage of Java scripting engine included in JDK 6 distribution.]]></description>
      <pubDate>Thu, 13 Mar 2008 03:54:17 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2114</guid>
      <dc:date>2008-03-13T10:54:17.271Z</dc:date>
      <dc:creator>kirill.klenski</dc:creator>
    </item>





    <item>
      <title>Change the Length of a Password</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2098</link>
      <description><![CDATA[This TechTip covers how to change the length a password.]]></description>
      <pubDate>Wed, 5 Mar 2008 08:00:14 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2098</guid>
      <dc:date>2008-03-05T16:00:14.825Z</dc:date>
      <dc:creator>SundoNuno</dc:creator>
    </item>





    <item>
      <title>Change Solaris DNS Client Settings</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2094</link>
      <description><![CDATA[Here&#39;s how to change Solaris DNS client settings (resolv.conf).]]></description>
      <pubDate>Tue, 4 Mar 2008 17:35:54 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2094</guid>
      <dc:date>2008-03-05T01:35:54.462Z</dc:date>
      <dc:creator>Rajeeva</dc:creator>
    </item>





    <item>
      <title>How to Generate a Unique ID</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2075</link>
      <description><![CDATA[The code below provides a mechanism to generate a unique string ID based on the IP address of the machine, the date and time and a random number. 
]]></description>
      <pubDate>Thu, 28 Feb 2008 20:51:50 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2075</guid>
      <dc:date>2008-02-29T04:51:50.800Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>JAVA Programmers Do it With GWT</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2034</link>
      <description><![CDATA[How to call Java server-side methods from a web client without touching JavaScript, HTML, or CSS.]]></description>
      <pubDate>Sun, 24 Feb 2008 18:58:14 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2034</guid>
      <dc:date>2008-02-25T02:58:14.194Z</dc:date>
      <dc:creator>k-e-n</dc:creator>
    </item>





    <item>
      <title>Creating a Table Model Using  javax.swing.table.AbstractTableModel</title>
      <link>http://sdnshare.sun.com/view.jsp?id=2014</link>
      <description><![CDATA[This table model class has extended javax.swing.table. AbstractTableModel
class and override the AbstractTableModel methods to use with the custom object class. By using this model it is easy to develop a JTable.]]></description>
      <pubDate>Fri, 22 Feb 2008 11:16:52 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=2014</guid>
      <dc:date>2008-02-22T19:16:52.658Z</dc:date>
      <dc:creator>R34GTR</dc:creator>
    </item>





    <item>
      <title>Arrays vs Collection For Primitive Types</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1994</link>
      <description><![CDATA[Creating the instances of wrapper classes for primitive types and then adding them to a collection is more time consuming, instead arrays of primitive can be used. This will not only occupy less memory, execution will also be fast.
]]></description>
      <pubDate>Wed, 20 Feb 2008 20:12:19 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1994</guid>
      <dc:date>2008-02-21T04:12:19.516Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Pass by Value or Reference</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1975</link>
      <description><![CDATA[We discuss about object parameters being passed by value or reference.]]></description>
      <pubDate>Tue, 19 Feb 2008 06:59:41 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1975</guid>
      <dc:date>2008-02-19T14:59:41.610Z</dc:date>
      <dc:creator>virag</dc:creator>
    </item>





    <item>
      <title>Generics, Enhanced for Loop, C Style Formatting in JDK 1.5</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1974</link>
      <description><![CDATA[JDK 1.5 features like generic types, an enhanced for loop, C style formatted input/output are described briefly in this article with appropriate code samples.]]></description>
      <pubDate>Mon, 18 Feb 2008 20:01:54 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1974</guid>
      <dc:date>2008-02-19T04:01:54.701Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Why No Null Check Before Instance of Operator?</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1954</link>
      <description><![CDATA[Why null check is not required before the instance of operator.]]></description>
      <pubDate>Wed, 13 Feb 2008 20:43:22 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1954</guid>
      <dc:date>2008-02-14T04:43:22.608Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>A JTree Model Wich Allows Only Leafs to be Selected</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1934</link>
      <description><![CDATA[This small class will allow you to build a JTree that does not allow parent nodes to be selected, just leafs.]]></description>
      <pubDate>Mon, 11 Feb 2008 08:46:47 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1934</guid>
      <dc:date>2008-02-11T16:46:47.070Z</dc:date>
      <dc:creator>melqkiades</dc:creator>
    </item>





    <item>
      <title>Call Java APIs from JavaScript via AJAX</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1894</link>
      <description><![CDATA[In this article, we discuss the details on invoking a Java APIs from Javascript via AJAX.]]></description>
      <pubDate>Tue, 5 Feb 2008 12:46:48 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1894</guid>
      <dc:date>2008-02-05T20:46:48.342Z</dc:date>
      <dc:creator>aharihar</dc:creator>
    </item>





    <item>
      <title>Faster Mechanism To Create Double Object</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1874</link>
      <description><![CDATA[Creating Double object using the double primitive type vs. the string constuctor]]></description>
      <pubDate>Sun, 3 Feb 2008 19:57:08 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1874</guid>
      <dc:date>2008-02-04T03:57:08.817Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Avoid Checking Null When Using Instanceof </title>
      <link>http://sdnshare.sun.com/view.jsp?id=1858</link>
      <description><![CDATA[ &nbsp; &nbsp;void sampleMethps(String param) {<br />&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;if (param != null) { /// NO NEED OF THIS LINE<br />&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (param instanceof String) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // YOUR CODE GOES HERE
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp;} /// NO NEED OF THIS LINE
 &nbsp; &nbsp;}]]></description>
      <pubDate>Thu, 31 Jan 2008 03:54:54 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1858</guid>
      <dc:date>2008-01-31T11:54:54.194Z</dc:date>
      <dc:creator>R34GTR</dc:creator>
    </item>





    <item>
      <title>EJB 3.0 Features</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1857</link>
      <description><![CDATA[This article briefly covers the important aspects of the EJB 3.0 specification. The article provides an overview of the new or enhanced features available in the EJB 3.0 specs]]></description>
      <pubDate>Wed, 30 Jan 2008 20:05:07 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1857</guid>
      <dc:date>2008-01-31T04:05:07.224Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Daylight Saving Time and  Date Based Calculations in Java</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1855</link>
      <description><![CDATA[This article talks about daylight saving time and how it effects date based calculations in Java.]]></description>
      <pubDate>Tue, 29 Jan 2008 02:41:26 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1855</guid>
      <dc:date>2008-01-29T10:41:26.682Z</dc:date>
      <dc:creator>javajava1</dc:creator>
    </item>





    <item>
      <title>Autoboxing and Auto-Unboxing of Primitive Types</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1854</link>
      <description><![CDATA[A short code sample to denote how autoboxing and auto unboxing of primitve types can be done.]]></description>
      <pubDate>Mon, 28 Jan 2008 00:36:49 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1854</guid>
      <dc:date>2008-01-28T08:36:49.558Z</dc:date>
      <dc:creator>Mari</dc:creator>
    </item>





    <item>
      <title>JPEG Image Save Using Java.imageIO</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1834</link>
      <description><![CDATA[Alternative code for com.sun.media package.]]></description>
      <pubDate>Mon, 21 Jan 2008 03:17:32 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1834</guid>
      <dc:date>2008-01-21T11:17:32.295Z</dc:date>
      <dc:creator>Napagoda</dc:creator>
    </item>





    <item>
      <title>Numeric Input With JTextField</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1795</link>
      <description><![CDATA[How we can filter user input on a JTextField to allow only numbers to be entered.<br />&nbsp;<br />We create a class derived from PlainDocument (NumericInputDoc) and set the document of our JTextfield object like this:<br />&nbsp;<br />numInput.setDocument(new NumericInputDoc());]]></description>
      <pubDate>Mon, 14 Jan 2008 08:05:03 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1795</guid>
      <dc:date>2008-01-14T16:05:03.154Z</dc:date>
      <dc:creator>aranovB</dc:creator>
    </item>





    <item>
      <title>Simple Directed Graph Implementation</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1774</link>
      <description><![CDATA[Simple directed graph implementation that uses collections and generics.]]></description>
      <pubDate>Fri, 11 Jan 2008 10:50:15 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1774</guid>
      <dc:date>2008-01-11T18:50:15.547Z</dc:date>
      <dc:creator>Pau_carre</dc:creator>
    </item>





    <item>
      <title>Accessing Remote Java EE Beans</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1754</link>
      <description><![CDATA[Hello everyone, here it is a quick info about how to access remote Java EE beans using JNDI lookup. ]]></description>
      <pubDate>Tue, 1 Jan 2008 06:03:14 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1754</guid>
      <dc:date>2008-01-01T14:03:14.908Z</dc:date>
      <dc:creator>merturk</dc:creator>
    </item>





    <item>
      <title>Avoid Null Pointer Exceptions While Comparing String Data With Constants</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1734</link>
      <description><![CDATA[When we compare data with constants we can avoid Null pointer exceptions by following this simple technique.]]></description>
      <pubDate>Fri, 28 Dec 2007 08:15:08 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1734</guid>
      <dc:date>2007-12-28T16:15:08.221Z</dc:date>
      <dc:creator>kirankumarr</dc:creator>
    </item>





    <item>
      <title>Need of Thread Pools</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1714</link>
      <description><![CDATA[This tech tip explains the need of thread pools and where they should be used.]]></description>
      <pubDate>Tue, 25 Dec 2007 23:20:17 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1714</guid>
      <dc:date>2007-12-26T07:20:17.194Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>How To Get Remote User From Entity Beans</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1674</link>
      <description><![CDATA[Hi everybody, this is a simple entity bean retrieves authenticated user information. ]]></description>
      <pubDate>Sat, 15 Dec 2007 13:25:37 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1674</guid>
      <dc:date>2007-12-15T21:25:37.829Z</dc:date>
      <dc:creator>merturk</dc:creator>
    </item>





    <item>
      <title>Progress bard, Keyboard</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1656</link>
      <description><![CDATA[Progress bar with lights on keyboard]]></description>
      <pubDate>Mon, 10 Dec 2007 13:18:40 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1656</guid>
      <dc:date>2007-12-10T21:18:40.281Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Browse All Files In A Directory and Sub-directory</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1655</link>
      <description><![CDATA[Browse all files in a directory and sub-directory and do something to file.]]></description>
      <pubDate>Mon, 10 Dec 2007 12:51:22 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1655</guid>
      <dc:date>2007-12-10T20:51:22.532Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>RSS Reader, HTTPURLConnection</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1654</link>
      <description><![CDATA[This code snippet briefs how to create URL object, HTTPURLConnection and how to retrieve RSS feeds of a given RSSURL. &nbsp;This sample can be used to implement desktop NewsReader/RSS Reader applications.]]></description>
      <pubDate>Mon, 10 Dec 2007 08:35:42 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1654</guid>
      <dc:date>2007-12-10T16:35:42.768Z</dc:date>
      <dc:creator>sriprasad</dc:creator>
    </item>





    <item>
      <title>Writing a String[] To A File</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1636</link>
      <description><![CDATA[This code will write a String[] to a file.]]></description>
      <pubDate>Wed, 5 Dec 2007 12:34:22 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1636</guid>
      <dc:date>2007-12-05T20:34:22.791Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Loading Resources From Your JAR File</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1635</link>
      <description><![CDATA[How to load a resource from the application&#39;s JAR file.]]></description>
      <pubDate>Wed, 5 Dec 2007 12:25:36 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1635</guid>
      <dc:date>2007-12-05T20:25:36.687Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>More Efficiency With A Dedicated Variable Object</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1634</link>
      <description><![CDATA[This simple solution can save lots of time and code.]]></description>
      <pubDate>Wed, 5 Dec 2007 12:11:49 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1634</guid>
      <dc:date>2007-12-05T20:11:49.213Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Animating Swing components (Part 2)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1615</link>
      <description><![CDATA[In Part 1 I showed how to write a class to animate JComponents. This method is good because it can be used to animate any JComponent, allowing you to use a single class to animate several different components and create a theme to your GUI. The disadvantage of this method is that it&#39;s animation capabilities are restricted to the methods in JComponent such as setBackground(). Any attempt to use the Graphics object to paint won&#39;t work as Swing will paint over anything you do.<br />&nbsp;<br />Here I will demonstrate how to write a more powerful animation class, but with the disadvantage that it is restricted to individual JComponent implementations, such as a JButton.]]></description>
      <pubDate>Mon, 3 Dec 2007 07:24:32 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1615</guid>
      <dc:date>2007-12-03T15:24:32.105Z</dc:date>
      <dc:creator>Nelbins</dc:creator>
    </item>





    <item>
      <title>Animating Swing Components</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1614</link>
      <description><![CDATA[Standard Swing components are fine, but sometimes you need to perk up your GUI with components which stand out from the rest. How about adding some animation to your JComponents?<br />&nbsp;<br />Here I will demonstrate two different approaches to animation and provide examples of both.]]></description>
      <pubDate>Mon, 3 Dec 2007 07:01:17 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1614</guid>
      <dc:date>2007-12-03T15:01:17.471Z</dc:date>
      <dc:creator>Nelbins</dc:creator>
    </item>





    <item>
      <title>Adding New User Account To Solaris</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1595</link>
      <description><![CDATA[This tech tip describes how to add a new user to the Solaris system.]]></description>
      <pubDate>Mon, 26 Nov 2007 21:44:35 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1595</guid>
      <dc:date>2007-11-27T05:44:35.555Z</dc:date>
      <dc:creator>Rajeeva</dc:creator>
    </item>





    <item>
      <title>Send Junit Results to Log File Using ANT </title>
      <link>http://sdnshare.sun.com/view.jsp?id=1594</link>
      <description><![CDATA[If your Junit tests are producing very long out put in the console you will have problems trying to figure out where all the exceptions happened. It would be great if you can direct the output to a log file. You can use an ANT `logfile` option to do this.]]></description>
      <pubDate>Mon, 26 Nov 2007 21:43:59 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1594</guid>
      <dc:date>2007-11-27T05:43:59.317Z</dc:date>
      <dc:creator>thinkblock</dc:creator>
    </item>





    <item>
      <title>How to use SwingWorker Thread?</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1534</link>
      <description><![CDATA[This is the simple example to use the SwingWorker thread in Swing applications. The SwingWorker.java is not a part of JDK, you need to download it. I also attached the SwingWorker.java code.]]></description>
      <pubDate>Mon, 19 Nov 2007 10:58:43 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1534</guid>
      <dc:date>2007-11-19T18:58:43.402Z</dc:date>
      <dc:creator>simplestring.com</dc:creator>
    </item>





    <item>
      <title>Pop-up Toolbar</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1514</link>
      <description><![CDATA[This is the code of a pop-up toolbar that is used when there is no space left in your toolbar and you wish to group buttons together in one button. When the button is clicked the toolbar pops up with a group of buttons for you to choose. 
It accepts an array of Actions, or JButtons, to be added to the toolbar.
You can modify the size of the buttons, hence of the toolbar.]]></description>
      <pubDate>Thu, 15 Nov 2007 01:52:32 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1514</guid>
      <dc:date>2007-11-15T09:52:32.768Z</dc:date>
      <dc:creator>jkost</dc:creator>
    </item>





    <item>
      <title>Float/Double To Rounded INT Without Math.Round() (Logical)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1495</link>
      <description><![CDATA[The following code demonstrates how one can cast a float/double to a rounded int without Math.round().]]></description>
      <pubDate>Fri, 9 Nov 2007 10:11:03 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1495</guid>
      <dc:date>2007-11-09T18:11:03.201Z</dc:date>
      <dc:creator>Amit.Panchal</dc:creator>
    </item>





    <item>
      <title>Swapping Two Int Variables Without Extra Variable (Logical)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1494</link>
      <description><![CDATA[Following code demonstrates how one can swap 2 int variables without using a temporory variable in a code.]]></description>
      <pubDate>Fri, 9 Nov 2007 09:48:18 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1494</guid>
      <dc:date>2007-11-09T17:48:18.907Z</dc:date>
      <dc:creator>Amit.Panchal</dc:creator>
    </item>





    <item>
      <title>Hacking the JComboBox Renderer</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1474</link>
      <description><![CDATA[Hacking the JComboBox Renderer to customize your display]]></description>
      <pubDate>Wed, 7 Nov 2007 11:48:31 PST</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1474</guid>
      <dc:date>2007-11-07T19:48:31.870Z</dc:date>
      <dc:creator>Amigo</dc:creator>
    </item>





    <item>
      <title>Nice Execute SQL Query Method</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1455</link>
      <description><![CDATA[This method can execute sql query and return list of user specified beans.
You can specify your sql parameter in object table, and define a bean class.]]></description>
      <pubDate>Fri, 2 Nov 2007 05:37:36 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1455</guid>
      <dc:date>2007-11-02T12:37:36.739Z</dc:date>
      <dc:creator>Slawomire</dc:creator>
    </item>





    <item>
      <title>Universal Execution of SQL Query</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1454</link>
      <description><![CDATA[Simple method that execute sql statement and return list of bean that are results of this query.]]></description>
      <pubDate>Fri, 2 Nov 2007 04:30:57 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1454</guid>
      <dc:date>2007-11-02T11:30:57.243Z</dc:date>
      <dc:creator>Slawomire</dc:creator>
    </item>





    <item>
      <title>When to Use Weak References with Listeners</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1435</link>
      <description><![CDATA[When to use Weak References with Listeners and when not to use them]]></description>
      <pubDate>Tue, 30 Oct 2007 11:49:35 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1435</guid>
      <dc:date>2007-10-30T18:49:35.921Z</dc:date>
      <dc:creator>Amigo</dc:creator>
    </item>





    <item>
      <title>Generate Basic Getters and Setters More or Else Similar to Eclipse</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1434</link>
      <description><![CDATA[Sample Code generates getters and setters given a field name. Though not perfect but shows may be how Eclipse achieves this feature.]]></description>
      <pubDate>Mon, 29 Oct 2007 07:24:42 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1434</guid>
      <dc:date>2007-10-29T14:24:42.090Z</dc:date>
      <dc:creator>prashant_jalasutram</dc:creator>
    </item>





    <item>
      <title>Loading Jar Files To Classpath</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1414</link>
      <description><![CDATA[This class will help you to add the location of &nbsp;your jar file/s to an arraylist and the program will automatically load it to the system classpath. ]]></description>
      <pubDate>Wed, 24 Oct 2007 22:37:31 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1414</guid>
      <dc:date>2007-10-25T05:37:31.640Z</dc:date>
      <dc:creator>R34GTR</dc:creator>
    </item>





    <item>
      <title>How to Get Arrylist Object in Java Program From Servlet When Using URLConnection For Calling Servlet By Java</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1354</link>
      <description><![CDATA[How to get arrylist object in Java program from servlet when using URLConnection for calling servlet by Java.]]></description>
      <pubDate>Thu, 18 Oct 2007 04:01:58 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1354</guid>
      <dc:date>2007-10-18T11:01:58.444Z</dc:date>
      <dc:creator>navinmail</dc:creator>
    </item>





    <item>
      <title>Performing A LDAP Search Using Java</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1334</link>
      <description><![CDATA[The Java Naming and Directory Interface or JNDI was introduced with Java 1.3. As the name suggests, it provides naming and directory functionality to Java programs in an implementation-independent manner. JNDI provides very good access to LDAP directories.<br />&nbsp;<br />The following is a simple example program which executes an LDAP search based on search filter arguments and displays an attribute from the result returned.]]></description>
      <pubDate>Tue, 16 Oct 2007 02:19:47 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1334</guid>
      <dc:date>2007-10-16T09:19:47.101Z</dc:date>
      <dc:creator>ashwini83</dc:creator>
    </item>





    <item>
      <title>How To Create Own MP3 Player Using JMF 2.1</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1316</link>
      <description><![CDATA[When I used the the Linux, I saw there was not any &quot;MP3 player&quot; which was ease to use like &quot;Window Media Player&quot; and other players on &quot;Windows Platform&quot;, here is a code sample to create your own MP3 player by using Java Media Frmaework 2.1 which unique functionality of &quot;Platform Independency&quot;.<br />&nbsp;<br />NOTE: To deploy this code you must have installed JMF 2.1. This code is tested on NetBeansIDE 6.0 Beta 1.
]]></description>
      <pubDate>Thu, 11 Oct 2007 16:48:27 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1316</guid>
      <dc:date>2007-10-11T23:48:27.989Z</dc:date>
      <dc:creator>RajeshKrGupta</dc:creator>
    </item>





    <item>
      <title>Using FileWriter to Write to a File</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1315</link>
      <description><![CDATA[This code sample shows a different way of using FileWriter. It&#39;s very easy writing to files using this method.]]></description>
      <pubDate>Thu, 11 Oct 2007 11:00:38 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1315</guid>
      <dc:date>2007-10-11T18:00:38.751Z</dc:date>
      <dc:creator>tygerberg</dc:creator>
    </item>





    <item>
      <title>Connect to a FTP Site Via Proxy With Authentication</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1314</link>
      <description><![CDATA[Connect to a FTP site via proxy with authentication.]]></description>
      <pubDate>Wed, 10 Oct 2007 02:55:03 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1314</guid>
      <dc:date>2007-10-10T09:55:03.072Z</dc:date>
      <dc:creator>seemant_shrivastava</dc:creator>
    </item>





    <item>
      <title>Singleton Defeated in Cluster Deployments</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1275</link>
      <description><![CDATA[How depending on a singleton can land you in trouble when your application is deployed in clustered servers.]]></description>
      <pubDate>Thu, 4 Oct 2007 23:19:48 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1275</guid>
      <dc:date>2007-10-05T06:19:48.180Z</dc:date>
      <dc:creator>gsluthra</dc:creator>
    </item>





    <item>
      <title>Type Password Will Take **** While We Retrieving </title>
      <link>http://sdnshare.sun.com/view.jsp?id=1274</link>
      <description><![CDATA[Type password will take **** while we retrieving this value using request we will get exact typed password in between this what is happening.]]></description>
      <pubDate>Thu, 4 Oct 2007 05:12:17 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1274</guid>
      <dc:date>2007-10-04T12:12:17.068Z</dc:date>
      <dc:creator>Vijay9999.vijay9999</dc:creator>
    </item>





    <item>
      <title>Finding GMT time Irrespactive of Timezone Including Daylight </title>
      <link>http://sdnshare.sun.com/view.jsp?id=1254</link>
      <description><![CDATA[Finding GMT time is difficult as there is no straight API available which calculates the GMT time.]]></description>
      <pubDate>Mon, 1 Oct 2007 17:09:19 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1254</guid>
      <dc:date>2007-10-02T00:09:19.545Z</dc:date>
      <dc:creator>Vineet_Goel</dc:creator>
    </item>





    <item>
      <title>Saving Images</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1236</link>
      <description><![CDATA[Saves images from a web page.]]></description>
      <pubDate>Sat, 29 Sep 2007 10:07:28 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1236</guid>
      <dc:date>2007-09-29T17:07:28.219Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Pythagorean Triplets Generator</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1235</link>
      <description><![CDATA[Generates a list of triplets(a,b,c) where a&lt;b.]]></description>
      <pubDate>Fri, 28 Sep 2007 18:48:47 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1235</guid>
      <dc:date>2007-09-29T01:48:47.733Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Digital Signature Serialization Deserialization To - From File</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1234</link>
      <description><![CDATA[Code snippet explains writing the signature, original data, signed data to files and read it back.<br />&nbsp;<br />Then verify the signature.
]]></description>
      <pubDate>Fri, 28 Sep 2007 00:52:22 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1234</guid>
      <dc:date>2007-09-28T07:52:22.280Z</dc:date>
      <dc:creator>Jose_paul</dc:creator>
    </item>





    <item>
      <title>Acquiring pixel data from an Image object using PixelGrabber class</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1221</link>
      <description><![CDATA[PixelGrabber class available in java.awt.image packate can be used to access pixels of an Image object. PixelGrabber class can acquire pixel data synchronously or asynchronously. It can store pixel values in a user-specified array or create a suitable array itself.<br />&nbsp;<br />The following example shows how to use PixelGrabber class to get pixel data from an Image object.
]]></description>
      <pubDate>Wed, 26 Sep 2007 04:00:48 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1221</guid>
      <dc:date>2007-09-26T11:00:48.669Z</dc:date>
      <dc:creator>nddprasanth</dc:creator>
    </item>





    <item>
      <title>How to Use Mouse Events in Swing </title>
      <link>http://sdnshare.sun.com/view.jsp?id=1220</link>
      <description><![CDATA[Mouse events are generated by the following types of user interaction:<br />&nbsp;<br />*A mouse click 
*A mouse entering a component&#39;s area 
*A mouse leaving a component&#39;s area <br />&nbsp;<br />Any component can generate these events, and a class must implement MouseListener interface to support them.<br />&nbsp;<br />]]></description>
      <pubDate>Wed, 26 Sep 2007 03:57:11 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1220</guid>
      <dc:date>2007-09-26T10:57:11.313Z</dc:date>
      <dc:creator>nddprasanth</dc:creator>
    </item>





    <item>
      <title>Alphanumeric Validation in Javascript</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1218</link>
      <description><![CDATA[This function can be called whenever you want to validate a textfield from entering alphanumeric values.You just need to specify the characters that are allowed to be entered in the &quot;else if&quot; part in the code.]]></description>
      <pubDate>Wed, 26 Sep 2007 02:15:46 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1218</guid>
      <dc:date>2007-09-26T09:15:46.815Z</dc:date>
      <dc:creator>nddprasanth</dc:creator>
    </item>





    <item>
      <title>Swapping Two Integers In One Statement Without Using A Temporary Variable</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1217</link>
      <description><![CDATA[Just a language hack]]></description>
      <pubDate>Tue, 25 Sep 2007 21:57:58 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1217</guid>
      <dc:date>2007-09-26T04:57:58.873Z</dc:date>
      <dc:creator>indianium</dc:creator>
    </item>





    <item>
      <title>Using Final in The SWITCH Statement</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1216</link>
      <description><![CDATA[I have found something good regarding COMPILE time checking of BREAK statements in SWITCH statement (for some conditions). ]]></description>
      <pubDate>Tue, 25 Sep 2007 21:54:09 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1216</guid>
      <dc:date>2007-09-26T04:54:09.469Z</dc:date>
      <dc:creator>jindagi</dc:creator>
    </item>





    <item>
      <title>Distance Between Two Geographic Points</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1214</link>
      <description><![CDATA[Do you need to calculate distance between two points on the map but you don&#39;t know how to do it? It&#39;s very simple task.]]></description>
      <pubDate>Mon, 24 Sep 2007 16:12:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1214</guid>
      <dc:date>2007-09-24T23:12:26.968Z</dc:date>
      <dc:creator>Baiborodin</dc:creator>
    </item>





    <item>
      <title>Process EJB QL Query That Returns More Than One Item</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1157</link>
      <description><![CDATA[Process EJB QL query that returns more than one item.]]></description>
      <pubDate>Wed, 12 Sep 2007 11:15:14 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1157</guid>
      <dc:date>2007-09-12T18:15:14.631Z</dc:date>
      <dc:creator>Saeed_Zarinfam</dc:creator>
    </item>





    <item>
      <title>Find The File Path Of A Given File Name Inside A Root Directory/Directory</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1155</link>
      <description><![CDATA[This utility class helps you to Find the path of a given filename with its file extension in a given root directory. The user has to provide the root directory he wants to search for and the filename with its extension (ex: letter.doc ) to lookup for which will return the exact path the file resides in your system. The beauty of the program is that once an instance of the FileFinder class is created it will not worry about loading the file structure again which will speed up the file search.]]></description>
      <pubDate>Wed, 12 Sep 2007 01:50:13 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1155</guid>
      <dc:date>2007-09-12T08:50:13.635Z</dc:date>
      <dc:creator>R34GTR</dc:creator>
    </item>





    <item>
      <title>Shuffling Elements of an Array</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1154</link>
      <description><![CDATA[Very simple way to shuffle elements of an array of any kind of object.]]></description>
      <pubDate>Tue, 11 Sep 2007 03:17:08 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1154</guid>
      <dc:date>2007-09-11T10:17:08.054Z</dc:date>
      <dc:creator>.@_</dc:creator>
    </item>





    <item>
      <title>Attach an Entity With Merg() Method (for method parameter)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1138</link>
      <description><![CDATA[EntityManager.merge() method cannot attach method parameter.]]></description>
      <pubDate>Sun, 9 Sep 2007 01:26:58 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1138</guid>
      <dc:date>2007-09-09T08:26:58.061Z</dc:date>
      <dc:creator>Saeed_Zarinfam</dc:creator>
    </item>





    <item>
      <title>Sun App Server (or Glassfish) Windows Service Problem (when log off server)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1137</link>
      <description><![CDATA[Problem: When Sun Java application server or Glassfish installed on Windows 2003 server as windows service works proper, but when the user logs off, the application server does not have any service.]]></description>
      <pubDate>Sat, 8 Sep 2007 21:50:32 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1137</guid>
      <dc:date>2007-09-09T04:50:32.885Z</dc:date>
      <dc:creator>Saeed_Zarinfam</dc:creator>
    </item>





    <item>
      <title>HOWTO: Ensure Correct JAVA Look and Feel at Program Startup</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1136</link>
      <description><![CDATA[Lets face it, the default Java Look and Feel kind of sucks. It looks ok but when you have it next to a native app, it sticks out. Fortunately, the guys at SUN have made it easy to setup your JAVA program to automatically use the system look and feel.
]]></description>
      <pubDate>Fri, 7 Sep 2007 07:12:35 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1136</guid>
      <dc:date>2007-09-07T14:12:35.429Z</dc:date>
      <dc:creator>uuklanger</dc:creator>
    </item>





    <item>
      <title>HOWTO: Use Netbeans and ANT to Auto-run Jarsigner</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1135</link>
      <description><![CDATA[There are times when you need to sign jar files. In my world it is is all the time since I tend to favor Java WebStart applications. There are techniques using ANT to auto sign JAR files, however, they require you to include your store password which is ok if your code remains internal but may not be so good if you post it to Google Code.<br />&nbsp;<br />To get around this, there is a pretty easy to implement solution. I, being the Netbeans fan, will describe it from the Netbeans perspective, however, ANT is ANT so it should work using anything.]]></description>
      <pubDate>Fri, 7 Sep 2007 06:46:08 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1135</guid>
      <dc:date>2007-09-07T13:46:08.365Z</dc:date>
      <dc:creator>uuklanger</dc:creator>
    </item>





    <item>
      <title>Creating Documentation with a WIKI System</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1134</link>
      <description><![CDATA[A project wiki is a good method to create an alive documentation for a software product. On JavaForge there is a good example wiki, designed for collaborating in documentation issues for an open source project. This is made available by the underlying collaboration platform CodeBeamer.
]]></description>
      <pubDate>Thu, 6 Sep 2007 11:15:29 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1134</guid>
      <dc:date>2007-09-06T18:15:29.070Z</dc:date>
      <dc:creator>utta</dc:creator>
    </item>





    <item>
      <title>An Interesting Way To Draw a Complex Shape In 2D Graphics</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1117</link>
      <description><![CDATA[There are many ways to eliminate the difficulties in drawing complex shapes. Here only a single sector of a circle based image is defined and using this all other similar sectors are drawn.]]></description>
      <pubDate>Fri, 31 Aug 2007 13:58:11 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1117</guid>
      <dc:date>2007-08-31T20:58:11.039Z</dc:date>
      <dc:creator>pravinth</dc:creator>
    </item>





    <item>
      <title>What To Do If NIS User is Not Getting His Home Directory </title>
      <link>http://sdnshare.sun.com/view.jsp?id=1115</link>
      <description><![CDATA[If a NIS user is getting a &quot;/&quot; instead of their home directory, this is what an administrator should do to resolve the problem.]]></description>
      <pubDate>Wed, 29 Aug 2007 09:12:24 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1115</guid>
      <dc:date>2007-08-29T16:12:24.904Z</dc:date>
      <dc:creator>SATEESH-CONSOLE</dc:creator>
    </item>





    <item>
      <title>Finding the Datetime Difference Between Two Dates</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1112</link>
      <description><![CDATA[This class will provide you with an integer value for date time differences using java.util.Calendar class. You only have to provide the two date time values you want to find difference for plus the locale, timezone and the differential type such as in years or months, etc.]]></description>
      <pubDate>Mon, 27 Aug 2007 00:41:54 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1112</guid>
      <dc:date>2007-08-27T07:41:54.341Z</dc:date>
      <dc:creator>R34GTR</dc:creator>
    </item>





    <item>
      <title>Using StyleConstants to Add Color to a JTextPane</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1110</link>
      <description><![CDATA[A subclass of JTextPane that allows output in color, complete with a test program.]]></description>
      <pubDate>Sun, 26 Aug 2007 01:58:38 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1110</guid>
      <dc:date>2007-08-26T08:58:38.722Z</dc:date>
      <dc:creator>andrew_malcolm</dc:creator>
    </item>





    <item>
      <title>Java Code to Grab Google Search Result (Not as Simple as It Appears)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1109</link>
      <description><![CDATA[It seems we can use standard class URLConnection to retrieve the content of a Google search result page. In fact it does not work. Google web server check for the User-Agent http headers before sending out response. The default user agent of JVM is &quot;Java Agent&quot;, hence Google rejects the request by a 403 error code. <br />&nbsp;<br />To get around with this, one simple way is to use the -D&quot;http.agent=Mozilla/4.0&quot; argument in the java command line. If we want to do it in pure java code, the below is a sample code. Note, the response http headers are included in the returning string.]]></description>
      <pubDate>Sat, 25 Aug 2007 23:15:15 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1109</guid>
      <dc:date>2007-08-26T06:15:15.784Z</dc:date>
      <dc:creator>TheZhang</dc:creator>
    </item>





    <item>
      <title>Writing Good Interfaces</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1108</link>
      <description><![CDATA[Here is a brief summary of why interfaces rock, and the characteristics of good interfaces.]]></description>
      <pubDate>Fri, 24 Aug 2007 03:14:38 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1108</guid>
      <dc:date>2007-08-24T10:14:38.423Z</dc:date>
      <dc:creator>CurtainDog</dc:creator>
    </item>





    <item>
      <title>Multiple Return Type</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1107</link>
      <description><![CDATA[In the signature declaration we can have only one return type like
public return_type functionName()]]></description>
      <pubDate>Thu, 23 Aug 2007 22:33:23 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1107</guid>
      <dc:date>2007-08-24T05:33:23.138Z</dc:date>
      <dc:creator>Just_Him</dc:creator>
    </item>





    <item>
      <title>New Event-Driven Interprocess Communications</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1106</link>
      <description><![CDATA[This article shows a new way to communicate Java with command-line processes. Instead of using the current Java API for interprocess communication, this article presents a new API named Jiipco! (http://sourceforge.net/projects/jiipco), that can be used to generate events from stdout and stderr output coming from a command-line process.]]></description>
      <pubDate>Thu, 23 Aug 2007 16:48:04 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1106</guid>
      <dc:date>2007-08-23T23:48:04.347Z</dc:date>
      <dc:creator>cantelo</dc:creator>
    </item>





    <item>
      <title>Working with Multipart Forms</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1104</link>
      <description><![CDATA[Uploading and posting files using the Apache Commons Fileupload and the HttpPoster.]]></description>
      <pubDate>Wed, 22 Aug 2007 00:57:01 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1104</guid>
      <dc:date>2007-08-22T07:57:01.914Z</dc:date>
      <dc:creator>efferus</dc:creator>
    </item>





    <item>
      <title>Colored Jtextarea</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1102</link>
      <description><![CDATA[Set the background of a text area to a different color, and you can also paint on the text area.]]></description>
      <pubDate>Tue, 21 Aug 2007 09:13:23 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1102</guid>
      <dc:date>2007-08-21T16:13:23.735Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Hiding The Mouse Cursor</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1101</link>
      <description><![CDATA[How to hide the mouse cursor in your program.]]></description>
      <pubDate>Tue, 21 Aug 2007 08:33:25 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1101</guid>
      <dc:date>2007-08-21T15:33:25.286Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Posting a Form with Java Code</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1082</link>
      <description><![CDATA[We generally post forms with html. Here is a code sample that explains how to post a form with Java code.]]></description>
      <pubDate>Fri, 17 Aug 2007 06:45:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1082</guid>
      <dc:date>2007-08-17T13:45:26.171Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>Text Email to HTML Converter</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1081</link>
      <description><![CDATA[The code sample converts text email body into nicely formatted HTML, which can be directly sent to JTextPane for display. Uses mostly regular expressions replacements. Does this:
 - color codes replied portions marked with &gt;, depth up to 6
 - makes hyperlinks from email addresses and weblinks (a bit flaky on weblinks though)
 - converts _xxx_ into underscores, *xxx* into bolds
 - &#39;original message&#39; headers and tabbed text converted to neat tables<br />&nbsp;<br />Set fface=&quot;monospaced&quot;, fsize=&quot;3&quot;, htmltm should contain your text email. ]]></description>
      <pubDate>Thu, 16 Aug 2007 19:06:21 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1081</guid>
      <dc:date>2007-08-17T02:06:21.635Z</dc:date>
      <dc:creator>mad.javaist</dc:creator>
    </item>





    <item>
      <title>Do We Allow Multiple Inheritance in Java?</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1064</link>
      <description><![CDATA[Multiple Inheritance]]></description>
      <pubDate>Tue, 14 Aug 2007 03:43:01 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1064</guid>
      <dc:date>2007-08-14T10:43:01.713Z</dc:date>
      <dc:creator>The_Developer</dc:creator>
    </item>





    <item>
      <title>Adding a Second IP Address</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1063</link>
      <description><![CDATA[How to add a second IP address to your network card.<br />&nbsp;<br />]]></description>
      <pubDate>Tue, 14 Aug 2007 00:35:40 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1063</guid>
      <dc:date>2007-08-14T07:35:40.143Z</dc:date>
      <dc:creator>praveeng_cet</dc:creator>
    </item>





    <item>
      <title>Contract Problem: Absence of Throws Exception in EventListener Method - ActionPerformed()</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1062</link>
      <description><![CDATA[Did you recognize that actionPerformed method from EventListener interface doesn&#39;t throw any Exception?<br />&nbsp;<br />If you implement this method with public void actionListener(ActionEvent event) throws Exception, &nbsp;you would break the interface contract of the parent class.<br />&nbsp;<br />To solve this problem you might &nbsp;make ActionListenerAdapter whitch throws Exceptions.]]></description>
      <pubDate>Mon, 13 Aug 2007 05:02:24 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1062</guid>
      <dc:date>2007-08-13T12:02:24.186Z</dc:date>
      <dc:creator>ljubad</dc:creator>
    </item>





    <item>
      <title>How to Upload Files Using JavaServer Pages</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1061</link>
      <description><![CDATA[This is a simple JSP page that can upload files to a specified folder in the server. There is a Windows and a Linux version, though the procedures involved are more or less the same. The Windows version was tested on a Microsoft Windows 2000 Professional system whereas the Linux companion was done on Red Hat 9.0. The web server of service was Apache Tomcat 5.5 in both cases.]]></description>
      <pubDate>Mon, 13 Aug 2007 03:30:15 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1061</guid>
      <dc:date>2007-08-13T10:30:15.072Z</dc:date>
      <dc:creator>Jamwa</dc:creator>
    </item>





    <item>
      <title>Recursive Function</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1058</link>
      <description><![CDATA[Hello all,
I wrote a simple recursive function to traverse a directory, listing all files and folders. I wish if someone can give me a better solution to the same sample code provided, using multi threading concept. Currently the sample code takes a lot of time to traverse the root directory.
WARNING!!!
If you have a slow computer and you are traversing a large set of directories then the application may hang. Use and run the code at your risk.]]></description>
      <pubDate>Fri, 10 Aug 2007 06:55:42 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1058</guid>
      <dc:date>2007-08-10T13:55:42.916Z</dc:date>
      <dc:creator>ProcessQ</dc:creator>
    </item>





    <item>
      <title>Calling Main() Method of Another Class</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1056</link>
      <description><![CDATA[This tip tells you how to call the main method of another class.]]></description>
      <pubDate>Fri, 10 Aug 2007 03:56:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1056</guid>
      <dc:date>2007-08-10T10:56:26.068Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>Object Cloning makes a Shallow Copy and not Deep Copy: Be Careful</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1054</link>
      <description><![CDATA[Clone an object using java.lang.Cloneable.clone() makes a shallow copy and not a deep copy of the object being cloned. This tech tip explains the difference between the two.]]></description>
      <pubDate>Fri, 10 Aug 2007 01:30:36 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1054</guid>
      <dc:date>2007-08-10T08:30:36.735Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>Blinking Keyboard</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1053</link>
      <description><![CDATA[Show how to blink the keyboard lights.]]></description>
      <pubDate>Thu, 9 Aug 2007 10:17:04 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1053</guid>
      <dc:date>2007-08-09T17:17:04.625Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>JButton Icon Changer</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1052</link>
      <description><![CDATA[Change the icon on a Jbutton with every click.]]></description>
      <pubDate>Thu, 9 Aug 2007 08:36:41 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1052</guid>
      <dc:date>2007-08-09T15:36:41.810Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>No Need for Accessors  and Mutators</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1050</link>
      <description><![CDATA[Here is a simple way to not need accessors and mutator methods in your code.]]></description>
      <pubDate>Wed, 8 Aug 2007 19:19:53 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1050</guid>
      <dc:date>2007-08-09T02:19:53.102Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Writing Less Code When Using If()</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1049</link>
      <description><![CDATA[This is an easy way to write less code when using if then statements.]]></description>
      <pubDate>Wed, 8 Aug 2007 16:19:21 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1049</guid>
      <dc:date>2007-08-08T23:19:21.378Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Reusable Method To Draw Image On a JPanel</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1048</link>
      <description><![CDATA[This method lets you draw images on a panel by simply supplying the Image and a Graphics.]]></description>
      <pubDate>Wed, 8 Aug 2007 15:52:08 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1048</guid>
      <dc:date>2007-08-08T22:52:08.521Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Problems with ArrayList: Be Careful</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1047</link>
      <description><![CDATA[ArrayList is simple and most frequently used but can give a serious performance blow.]]></description>
      <pubDate>Wed, 8 Aug 2007 06:50:45 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1047</guid>
      <dc:date>2007-08-08T13:50:45.927Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>Enter Text In To A Site&#039;s Texbox</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1046</link>
      <description><![CDATA[How to enter text on a web page through java]]></description>
      <pubDate>Tue, 7 Aug 2007 10:36:06 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1046</guid>
      <dc:date>2007-08-07T17:36:06.999Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>7 Times Faster Replacing Than String Class&#039;s Replace() Method</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1045</link>
      <description><![CDATA[This article gives a faster option of String replacing over String class&#39;s replace() method.]]></description>
      <pubDate>Tue, 7 Aug 2007 00:02:13 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1045</guid>
      <dc:date>2007-08-07T07:02:13.652Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>Desktop Event Alerter</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1044</link>
      <description><![CDATA[A simple sliding effect desktop event alerter. Uses JWindow and threads to give the sliding effect.]]></description>
      <pubDate>Mon, 6 Aug 2007 04:54:31 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1044</guid>
      <dc:date>2007-08-06T11:54:31.177Z</dc:date>
      <dc:creator>Jamwa</dc:creator>
    </item>





    <item>
      <title>Tool Support</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1043</link>
      <description><![CDATA[Abstract : Tool vendors are often required to implement several interfaces on objects. Typically the modules of the tool would invoke these interface methods during execution. If objects were to implement all the interfaces required by these tools, then the application code could get submerged in the tools implementation logic. This article explains the widely prevalent solution and attempts to extend it to cover new frontiers.]]></description>
      <pubDate>Sat, 4 Aug 2007 04:31:28 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1043</guid>
      <dc:date>2007-08-04T11:31:28.934Z</dc:date>
      <dc:creator>P.G.Patrudu</dc:creator>
    </item>





    <item>
      <title>Framework For a Unit Class For a Java RTS</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1042</link>
      <description><![CDATA[This class will help you in writing an RTS by allowing you to create one class to handle all your units and structures. This class is a basic framework for this job.]]></description>
      <pubDate>Thu, 2 Aug 2007 14:48:20 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1042</guid>
      <dc:date>2007-08-02T21:48:20.933Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Math Library</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1041</link>
      <description><![CDATA[Did you ever need an advanced math library for your program, but can&#39;t write one and don&#39;t know which to use. You can use the Apache Math Library.]]></description>
      <pubDate>Thu, 2 Aug 2007 06:58:23 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1041</guid>
      <dc:date>2007-08-02T13:58:23.997Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Code to Simplify Random Number Generation</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1039</link>
      <description><![CDATA[A reusable method to simply create random numbers when needed.]]></description>
      <pubDate>Wed, 1 Aug 2007 14:14:56 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1039</guid>
      <dc:date>2007-08-01T21:14:56.246Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Important Note When Using Paint() or PaintComponent()</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1038</link>
      <description><![CDATA[An important thing to note when using a paint() method.]]></description>
      <pubDate>Wed, 1 Aug 2007 14:09:34 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1038</guid>
      <dc:date>2007-08-01T21:09:34.873Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Types of Games</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1037</link>
      <description><![CDATA[Describes the different types of games that can be written in Java.]]></description>
      <pubDate>Wed, 1 Aug 2007 06:40:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1037</guid>
      <dc:date>2007-08-01T13:40:26.395Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Limit Textbox</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1034</link>
      <description><![CDATA[Limit the amount of chars entered into a text field.]]></description>
      <pubDate>Tue, 31 Jul 2007 16:26:28 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1034</guid>
      <dc:date>2007-07-31T23:26:28.859Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Change Text Color in a Game for Flashing</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1033</link>
      <description><![CDATA[This code will make a color changing text with 4 colors. It is easily extended.]]></description>
      <pubDate>Tue, 31 Jul 2007 15:00:09 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1033</guid>
      <dc:date>2007-07-31T22:00:09.806Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Framework For An Application Timer</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1032</link>
      <description><![CDATA[This is a simple framework for a timer in Java.]]></description>
      <pubDate>Tue, 31 Jul 2007 14:37:34 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1032</guid>
      <dc:date>2007-07-31T21:37:34.715Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Mills To Time</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1031</link>
      <description><![CDATA[Convert the System.currentTimeMillis() to time.]]></description>
      <pubDate>Tue, 31 Jul 2007 11:58:41 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1031</guid>
      <dc:date>2007-07-31T18:58:41.425Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Constructor</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1030</link>
      <description><![CDATA[This code sample shows how to call a different constructor of the same class.]]></description>
      <pubDate>Tue, 31 Jul 2007 10:40:16 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1030</guid>
      <dc:date>2007-07-31T17:40:16.607Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Key Writer</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1029</link>
      <description><![CDATA[Writes the users key presses to a file, for your application.]]></description>
      <pubDate>Tue, 31 Jul 2007 10:20:15 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1029</guid>
      <dc:date>2007-07-31T17:20:15.335Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Draw Grid</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1028</link>
      <description><![CDATA[Code to draw a custom grid.]]></description>
      <pubDate>Tue, 31 Jul 2007 08:58:32 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1028</guid>
      <dc:date>2007-07-31T15:58:32.477Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Decimal Counter</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1027</link>
      <description><![CDATA[A simple class that counts the number of places after the decimal.]]></description>
      <pubDate>Tue, 31 Jul 2007 08:04:40 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1027</guid>
      <dc:date>2007-07-31T15:04:40.797Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Link Counter</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1026</link>
      <description><![CDATA[Counts the link on the page.]]></description>
      <pubDate>Tue, 31 Jul 2007 07:52:57 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1026</guid>
      <dc:date>2007-07-31T14:52:57.102Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Reading from Unknown Length InputStream and Storing Read Data into Byte Array</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1025</link>
      <description><![CDATA[The read(byte[]) method of InputStream requires the length of inputstream data to be known. So here is the solution for storing the data read from unknown length input stream into a Byte Array. 
]]></description>
      <pubDate>Tue, 31 Jul 2007 05:15:27 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1025</guid>
      <dc:date>2007-07-31T12:15:27.687Z</dc:date>
      <dc:creator>.@_</dc:creator>
    </item>





    <item>
      <title>Easier Way to Track Mouse in Custom Components</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1024</link>
      <description><![CDATA[This technique can be used to track the mouse&#39;s position for collision testing of the mouse, among other things. It can even be used to draw rough custom cursors or to help do event handling in custom buttons, if you write a custom GDI.]]></description>
      <pubDate>Tue, 31 Jul 2007 00:30:21 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1024</guid>
      <dc:date>2007-07-31T07:30:21.617Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Find String Permutations - excellent program</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1023</link>
      <description><![CDATA[I found an excellent way to find the String Permutations using a recursive function call.]]></description>
      <pubDate>Mon, 30 Jul 2007 23:33:09 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1023</guid>
      <dc:date>2007-07-31T06:33:09.307Z</dc:date>
      <dc:creator>upnishad</dc:creator>
    </item>





    <item>
      <title>Beginnings of a Java Shell</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1022</link>
      <description><![CDATA[This code can be used as the framework for a Java shell.]]></description>
      <pubDate>Mon, 30 Jul 2007 21:45:59 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1022</guid>
      <dc:date>2007-07-31T04:45:59.413Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Custom Layout</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1021</link>
      <description><![CDATA[An easy way to create a custom layout.]]></description>
      <pubDate>Mon, 30 Jul 2007 19:45:06 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1021</guid>
      <dc:date>2007-07-31T02:45:06.591Z</dc:date>
      <dc:creator>artemb</dc:creator>
    </item>





    <item>
      <title>Tool to Search Wikipedia With Firefox</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1020</link>
      <description><![CDATA[This GUI will take any query you give it and open the Wikipedia page it finds in Firefox.]]></description>
      <pubDate>Sat, 28 Jul 2007 18:23:18 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1020</guid>
      <dc:date>2007-07-29T01:23:18.872Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Easy Code to Type in Letters From a String</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1019</link>
      <description><![CDATA[If you ever had a program that needed to type in letters into a text field then this code will do it. It accepts a character array of lowercase letters and numbers. It has different delays for each key to keep it life like.]]></description>
      <pubDate>Sat, 28 Jul 2007 11:05:59 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1019</guid>
      <dc:date>2007-07-28T18:05:59.785Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Configuring Java on Linux</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1018</link>
      <description><![CDATA[A simple guide to setting up a fully functional Java installation when then official instructions end.]]></description>
      <pubDate>Sat, 28 Jul 2007 10:48:14 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1018</guid>
      <dc:date>2007-07-28T17:48:14.990Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>The Need For A Plan</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1017</link>
      <description><![CDATA[A short tech tip about how to improve application performance through better planning.]]></description>
      <pubDate>Sat, 28 Jul 2007 10:25:59 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1017</guid>
      <dc:date>2007-07-28T17:25:59.223Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Storing and Accessing Objects Programmatically</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1016</link>
      <description><![CDATA[Here is a brief description on how to store objects dynamically. There are certain times when the coder does not know the number of objects or data in advance. It is for such situations that I am writing this tech tip.]]></description>
      <pubDate>Fri, 27 Jul 2007 11:03:16 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1016</guid>
      <dc:date>2007-07-27T18:03:16.892Z</dc:date>
      <dc:creator>stevehaggaipersonal</dc:creator>
    </item>





    <item>
      <title>Simple Numeric Only Text Field</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1015</link>
      <description><![CDATA[A simple code snippet on making a JTextField to accept only numbers.]]></description>
      <pubDate>Thu, 26 Jul 2007 23:36:27 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1015</guid>
      <dc:date>2007-07-27T06:36:27.657Z</dc:date>
      <dc:creator>elisha.ebenezer</dc:creator>
    </item>





    <item>
      <title>What NOT To Do When You Use Robot To Move Cursor</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1014</link>
      <description><![CDATA[I was writing some code to make the cursor bounce on the desktop, but I couldn&#39;t get cursor control back. So here is what I learned.]]></description>
      <pubDate>Thu, 26 Jul 2007 18:09:53 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1014</guid>
      <dc:date>2007-07-27T01:09:53.696Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>A Very Simple Way to Skip Part of Code Without Using Comment Symbols</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1013</link>
      <description><![CDATA[Cool way to skip part of a code while testing a method without using // or /* */ comment symbols.]]></description>
      <pubDate>Thu, 26 Jul 2007 13:55:35 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1013</guid>
      <dc:date>2007-07-26T20:55:35.991Z</dc:date>
      <dc:creator>.@_</dc:creator>
    </item>





    <item>
      <title>Aetas: Simple Tool &amp; Eye Candy GUI</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1012</link>
      <description><![CDATA[Aetas (Latin word for time) is a simple application with eye candy GUI and animation.]]></description>
      <pubDate>Thu, 26 Jul 2007 12:38:21 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1012</guid>
      <dc:date>2007-07-26T19:38:21.182Z</dc:date>
      <dc:creator>ashishlijhara</dc:creator>
    </item>





    <item>
      <title>Printing Classes</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1011</link>
      <description><![CDATA[A set of classes to ease your printing troubles in Java. &nbsp;Mostly for newbies distraught with the highly configurable yet difficult printing model. &nbsp;These classes can be easily modified to print more than text. &nbsp;Also included is a class to easily generate labels with iText.]]></description>
      <pubDate>Thu, 26 Jul 2007 11:45:42 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1011</guid>
      <dc:date>2007-07-26T18:45:42.504Z</dc:date>
      <dc:creator>DataVirtue</dc:creator>
    </item>





    <item>
      <title>Integrating Simian with ANT to Find Code Duplication</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1010</link>
      <description><![CDATA[Integrating simian framework with project ant build enables developers to find code duplications. Code duplication(s) are extremely difficult when you are involved in large project with different development approaches.]]></description>
      <pubDate>Thu, 26 Jul 2007 06:40:51 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1010</guid>
      <dc:date>2007-07-26T13:40:51.005Z</dc:date>
      <dc:creator>Arvind</dc:creator>
    </item>





    <item>
      <title>The Real Difference:  == and equals()</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1009</link>
      <description><![CDATA[Generally people get confused while making String Comparisons with == and equals(). This tech tip explains how it really is.]]></description>
      <pubDate>Thu, 26 Jul 2007 04:47:45 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1009</guid>
      <dc:date>2007-07-26T11:47:45.555Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>Few Garbage Collection Myths: All Wrong</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1008</link>
      <description><![CDATA[There are few widespread myths about garbage collection that sometimes add fuel to the fire.]]></description>
      <pubDate>Thu, 26 Jul 2007 04:35:19 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1008</guid>
      <dc:date>2007-07-26T11:35:19.527Z</dc:date>
      <dc:creator>Nistelrooy</dc:creator>
    </item>





    <item>
      <title>Moving from Linux to Solaris</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1007</link>
      <description><![CDATA[I tried the free Solaris 10 DVD, and have written this guide to easily transitioning from Linux to Solaris.]]></description>
      <pubDate>Wed, 25 Jul 2007 08:50:21 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1007</guid>
      <dc:date>2007-07-25T15:50:21.958Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Overriding the Maximized Bounds of a JFrame</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1006</link>
      <description><![CDATA[This example shows the use of the setMaximizedBounds() method to override the behavior of a frame in terms of its location and size when maximized by specifying the maximized bounds of the frame, irrespective of the default location and size of the frame.
]]></description>
      <pubDate>Wed, 25 Jul 2007 07:13:15 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1006</guid>
      <dc:date>2007-07-25T14:13:15.800Z</dc:date>
      <dc:creator>vicsstar</dc:creator>
    </item>





    <item>
      <title>A Simple and Flexible Encryption</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1005</link>
      <description><![CDATA[A simple and customizable Java source file that can be built right into your application without any understanding of Java cryptography and using only built in Java components (by that i mean only stuff that ships with Java 1.6.0 Update 2).]]></description>
      <pubDate>Wed, 25 Jul 2007 06:33:18 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1005</guid>
      <dc:date>2007-07-25T13:33:18.833Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Watching the Sun with Java</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1004</link>
      <description><![CDATA[Have you ever wanted to build a program to check on the SOHO mission any time? In this article, I&#39;ll take you step by step using NetBeans IDE and the Internet to achieve this goal.]]></description>
      <pubDate>Wed, 25 Jul 2007 05:58:09 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1004</guid>
      <dc:date>2007-07-25T12:58:09.696Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Create a Confusing Secret Code</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1003</link>
      <description><![CDATA[This is a flexible and simple way of encrypting and decrypting.
This is an encryption/decryption file I wrote called y2k.java.
I wrote it because integrating strong codes like blowfish into Java is very difficult. I tried to, but couldn&#39;t get blowfish to integrate with my application. So I developed this unique code. Change it at will. I publish my software under GNU v.2!]]></description>
      <pubDate>Wed, 25 Jul 2007 05:35:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1003</guid>
      <dc:date>2007-07-25T12:35:26.375Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Using Java Crypto APIs for Encryption &amp; Decryption</title>
      <link>http://sdnshare.sun.com/view.jsp?id=1001</link>
      <description><![CDATA[This class includes two reusable functions for encrypting byte array using single/triple DES and for decrypting an encrypted byte array.<br />&nbsp;<br />For myself, I used it to encrypt ATM card PIN number before sending it to HSM for PIN verification.
]]></description>
      <pubDate>Wed, 25 Jul 2007 04:19:52 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=1001</guid>
      <dc:date>2007-07-25T11:19:52.489Z</dc:date>
      <dc:creator>smahmoud@gmail.com</dc:creator>
    </item>





    <item>
      <title>Know Location of Class File in Application</title>
      <link>http://sdnshare.sun.com/view.jsp?id=981</link>
      <description><![CDATA[Code to check which Java class from the current classpath is being used by your application.]]></description>
      <pubDate>Tue, 24 Jul 2007 13:19:15 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=981</guid>
      <dc:date>2007-07-24T20:19:15.240Z</dc:date>
      <dc:creator>PanKaJ</dc:creator>
    </item>





    <item>
      <title>Easy Way to Change Screens in Java Based Games</title>
      <link>http://sdnshare.sun.com/view.jsp?id=961</link>
      <description><![CDATA[Using a feature I developed when I played around with java game development, you can easily switch from ANY point in the game, be it game play, menu, about page, you name it.
All this is controlled by a single integer.]]></description>
      <pubDate>Sat, 21 Jul 2007 10:37:06 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=961</guid>
      <dc:date>2007-07-21T17:37:06.179Z</dc:date>
      <dc:creator>1cMas5_cow</dc:creator>
    </item>





    <item>
      <title>Removing Stateful Session Bean</title>
      <link>http://sdnshare.sun.com/view.jsp?id=941</link>
      <description><![CDATA[Removing Stateful Session Beans is important to avoid the need for passivation, minimize container overhead, and provide better performance.
]]></description>
      <pubDate>Fri, 20 Jul 2007 13:32:58 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=941</guid>
      <dc:date>2007-07-20T20:32:58.271Z</dc:date>
      <dc:creator>makkar</dc:creator>
    </item>





    <item>
      <title>Isolating Javascript Event Handling</title>
      <link>http://sdnshare.sun.com/view.jsp?id=921</link>
      <description><![CDATA[A short tip on isolating event handling for your controls.]]></description>
      <pubDate>Wed, 18 Jul 2007 20:11:24 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=921</guid>
      <dc:date>2007-07-19T03:11:24.514Z</dc:date>
      <dc:creator>VJ108</dc:creator>
    </item>





    <item>
      <title>The Management Package (java.lang.Management)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=882</link>
      <description><![CDATA[The below content describes usage of the set of APIs provided with Java Devolopment Environment in order to Manage &amp; Monitor Current Java Platform.]]></description>
      <pubDate>Fri, 13 Jul 2007 06:24:08 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=882</guid>
      <dc:date>2007-07-13T13:24:08.812Z</dc:date>
      <dc:creator>RahulSharna</dc:creator>
    </item>





    <item>
      <title>Mechanism and System for Representing and Processing Rules </title>
      <link>http://sdnshare.sun.com/view.jsp?id=881</link>
      <description><![CDATA[Abstract : The aim of any language is to provide means for representing/describing ideas and concepts. Programming languages are no exception to this norm. The core of conceptualization revolves around, finding the minimum set of notions, which could describe, all programming scenarios. Determining the minimum set of notions, for a generalized scenario, is a tall order, but is much sought, by the programming community. The following is an endeavor, which provides basis, for the minimum set of notions, in terms of an extendable framework.]]></description>
      <pubDate>Fri, 13 Jul 2007 05:49:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=881</guid>
      <dc:date>2007-07-13T12:49:26.485Z</dc:date>
      <dc:creator>P.G.Patrudu</dc:creator>
    </item>





    <item>
      <title>Where On Earth Does NetBeans Keep It&#039;s Library Manager Records</title>
      <link>http://sdnshare.sun.com/view.jsp?id=844</link>
      <description><![CDATA[IDEs have their own little world within our system (OS) and the more advanced they are, the harder it is to migrate them to a e.g. new computer with existing IDE (same one) but moving plugins, libraries, etc. proved to be far from easy.<br />&nbsp;<br />]]></description>
      <pubDate>Wed, 11 Jul 2007 11:04:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=844</guid>
      <dc:date>2007-07-11T18:04:26.278Z</dc:date>
      <dc:creator>Jeveloper</dc:creator>
    </item>





    <item>
      <title>Small But Handy InitCap Method</title>
      <link>http://sdnshare.sun.com/view.jsp?id=843</link>
      <description><![CDATA[I had a need to initialize the first letter e.g. SERGE would become Serge
hence i wrote this method that you can use freely. &nbsp;<br />&nbsp;<br />Everyone who uses Oracle knows the initcap() is a handy function.
]]></description>
      <pubDate>Wed, 11 Jul 2007 11:03:00 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=843</guid>
      <dc:date>2007-07-11T18:03:00.521Z</dc:date>
      <dc:creator>Jeveloper</dc:creator>
    </item>





    <item>
      <title>A Common JDBC Pitfall</title>
      <link>http://sdnshare.sun.com/view.jsp?id=842</link>
      <description><![CDATA[Fact: When you get a JDBC connection, you use it to create prepared statements, callable statements, and ResultSets.]]></description>
      <pubDate>Wed, 11 Jul 2007 05:11:09 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=842</guid>
      <dc:date>2007-07-11T12:11:09.544Z</dc:date>
      <dc:creator>namespace1</dc:creator>
    </item>





    <item>
      <title>Use List Of Beans To Display On JSP</title>
      <link>http://sdnshare.sun.com/view.jsp?id=841</link>
      <description><![CDATA[It is easy to use list of beans to display the beans on JSP.]]></description>
      <pubDate>Wed, 11 Jul 2007 05:07:26 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=841</guid>
      <dc:date>2007-07-11T12:07:26.273Z</dc:date>
      <dc:creator>seetaramRao</dc:creator>
    </item>





    <item>
      <title>The Enhanced For Loop (for-each loop)</title>
      <link>http://sdnshare.sun.com/view.jsp?id=824</link>
      <description><![CDATA[An easy way of iterating through an array or a Collection.]]></description>
      <pubDate>Tue, 10 Jul 2007 22:22:34 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=824</guid>
      <dc:date>2007-07-11T05:22:34.648Z</dc:date>
      <dc:creator>sri-duke</dc:creator>
    </item>





    <item>
      <title>A Brief Set of Constructor Rules</title>
      <link>http://sdnshare.sun.com/view.jsp?id=823</link>
      <description><![CDATA[Herein are some rules regarding constructors.]]></description>
      <pubDate>Tue, 10 Jul 2007 12:12:44 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=823</guid>
      <dc:date>2007-07-10T19:12:44.763Z</dc:date>
      <dc:creator>filestream</dc:creator>
    </item>





    <item>
      <title>Final Variable</title>
      <link>http://sdnshare.sun.com/view.jsp?id=822</link>
      <description><![CDATA[class level final variable must be intialized whether used or not
method level &nbsp;final variable need not be initialized if not used]]></description>
      <pubDate>Tue, 10 Jul 2007 10:43:34 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=822</guid>
      <dc:date>2007-07-10T17:43:34.907Z</dc:date>
      <dc:creator>siva_20081976</dc:creator>
    </item>





    <item>
      <title>Performance impact with trycatch and if condition</title>
      <link>http://sdnshare.sun.com/view.jsp?id=781</link>
      <description><![CDATA[its better to use if condition if you are not sure about value being test is null or not.
But if you are sure that 99% of time, value being tested is not null, then you should go for try-catch block.]]></description>
      <pubDate>Thu, 5 Jul 2007 03:23:50 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=781</guid>
      <dc:date>2007-07-05T10:23:50.487Z</dc:date>
      <dc:creator>PanKaJ</dc:creator>
    </item>





    <item>
      <title>Careful while using parenthesis</title>
      <link>http://sdnshare.sun.com/view.jsp?id=762</link>
      <description><![CDATA[This code sample tells that brackets should not be used in all places. Careful analysis should be done before using brackets or else it will lead to mistakes like the one in this program.]]></description>
      <pubDate>Tue, 3 Jul 2007 05:42:38 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=762</guid>
      <dc:date>2007-07-03T12:42:38.195Z</dc:date>
      <dc:creator>pandian</dc:creator>
    </item>





    <item>
      <title>An important tip for BufferedOutputStreams</title>
      <link>http://sdnshare.sun.com/view.jsp?id=761</link>
      <description><![CDATA[Don&#39;t forget to call flush() on the BufferedOutputStream after you finish writing a file.]]></description>
      <pubDate>Mon, 2 Jul 2007 22:32:23 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=761</guid>
      <dc:date>2007-07-03T05:32:23.403Z</dc:date>
      <dc:creator>sri-duke</dc:creator>
    </item>





    <item>
      <title>Tag files to encapsulate and reuse html.</title>
      <link>http://sdnshare.sun.com/view.jsp?id=742</link>
      <description><![CDATA[How cool are tag files. It is a great standard/ideSupported way to encapsulate and reuse html. Those things are not only important for fully equiped programming languages. Look at this tag-file revamp of a classic example.<br />&nbsp;<br />
]]></description>
      <pubDate>Fri, 29 Jun 2007 19:09:01 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=742</guid>
      <dc:date>2007-06-30T02:09:01.135Z</dc:date>
      <dc:creator>lacroix1547</dc:creator>
    </item>





    <item>
      <title>A simple and efficient way to browse all files in a directory and its sub-directories.</title>
      <link>http://sdnshare.sun.com/view.jsp?id=732</link>
      <description><![CDATA[This technical tip defines a powerful way to browse all files in a particular folder and its sub-folders, and do some tasks on each file.]]></description>
      <pubDate>Fri, 29 Jun 2007 00:17:52 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=732</guid>
      <dc:date>2007-06-29T07:17:52.311Z</dc:date>
      <dc:creator>sri-duke</dc:creator>
    </item>





    <item>
      <title>Singleton Using Double Checked Locking</title>
      <link>http://sdnshare.sun.com/view.jsp?id=730</link>
      <description><![CDATA[How to ensure that one and ONLY one instance would be created while trying to make a singleton.]]></description>
      <pubDate>Thu, 28 Jun 2007 01:39:53 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=730</guid>
      <dc:date>2007-06-28T08:39:53.596Z</dc:date>
      <dc:creator>elisha.ebenezer</dc:creator>
    </item>





    <item>
      <title>Elements Ordering In Priority Queue</title>
      <link>http://sdnshare.sun.com/view.jsp?id=729</link>
      <description><![CDATA[A tip on how to Traverse elements within Priority Queue in order.]]></description>
      <pubDate>Wed, 27 Jun 2007 10:22:12 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=729</guid>
      <dc:date>2007-06-27T17:22:12.252Z</dc:date>
      <dc:creator>padma.asrani</dc:creator>
    </item>





    <item>
      <title>Generate toString()</title>
      <link>http://sdnshare.sun.com/view.jsp?id=728</link>
      <description><![CDATA[toString() &nbsp;provides a simple, convenient mechanism for debugging classes during development, by translating object state into text. But toString() is very tedious to code as an off if any field get updated , we need to update toString(), so I had written a method which will take class as input and generate toString() using reflection .<br />&nbsp;<br />
]]></description>
      <pubDate>Wed, 27 Jun 2007 07:58:05 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=728</guid>
      <dc:date>2007-06-27T14:58:05.949Z</dc:date>
      <dc:creator>rushitpatel</dc:creator>
    </item>





    <item>
      <title>StringBuffer or StringBuilder</title>
      <link>http://sdnshare.sun.com/view.jsp?id=727</link>
      <description><![CDATA[Here&#39;s a tip on when to use StringBuffer and when to use StringBuilder.]]></description>
      <pubDate>Wed, 27 Jun 2007 07:41:11 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=727</guid>
      <dc:date>2007-06-27T14:41:11.139Z</dc:date>
      <dc:creator>henry_martin</dc:creator>
    </item>





    <item>
      <title>Easy Tip to Center a JFrame on the Screen</title>
      <link>http://sdnshare.sun.com/view.jsp?id=726</link>
      <description><![CDATA[A simple way to avoid displaying a JFrame at the top-right corner of the screen.]]></description>
      <pubDate>Wed, 27 Jun 2007 01:12:00 PDT</pubDate>
      <guid>http://sdnshare.sun.com/view.jsp?id=726</guid>
      <dc:date>2007-06-27T08:12:00.246Z</dc:date>
      <dc:creator>sri-duke</dc:creator>
    </item>





    <item>
  