<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>My Java Tricks</title>
        <description>General blog about subtle tricks in Java language (NIO, File Transactions, i18n, Logging).</description>
        <link>http://www.myjavatricks.com</link>
        <docs>http://blogs.law.harvard.edu/tech/rss</docs>
        <lastBuildDate>Sun, 21 Sep 2008 21:33:36 -0700</lastBuildDate>

        <pubDate>Sun, 21 Sep 2008 09:25:10 -0700</pubDate>
        <item>
            <title>Memory Leak in GenerickLockmanager</title>
            <description>commons-transaction library from apache has a serious issue. Memory leak in GenericLockmanager. See how to fix it here...
</description>
            <link>http://myjavatricks.com/jtfs.aspx</link>

            <guid isPermaLink="false">63E244C2-0E72-41F5-9A4E-AA120313798B</guid>
            <pubDate>Sun, 21 Sep 2008 21:25:10 -0700</pubDate>
        </item>
        <item>
            <title>File Based Transactions</title>
            <description> If you are using Java to deliver web applications, usual &quot;three tier&quot; apps you probably never needed something like this. However, if you are writing servers or services using Java, it is likely that you needed to create/change/delete/move multiple files around. To ensure that the operation is not partly done, you need a transaction. One approach to file based transactions is described here.
</description>
            <link>http://myjavatricks.com/jtfs.aspx</link>

            <guid isPermaLink="false">63E244C0-0E72-41F5-9A4E-AA120313798B</guid>
            <pubDate>Sun, 21 Sep 2008 21:25:10 -0700</pubDate>
        </item>
        <item>
            <title>New IO in Java ( NIO )</title>
            <description>New IO in Java is a set of APIs that allow faster access to files using memory mapping and native code as well as API for non-blocking sockets. To learn more about these features check out this link where I write about common misconceptions and issues with the NIO server implementation. Following this design will produce fast scalable NIO server that can handle thousands, if not tens of thousands of concurrent connections. 
</description>
            <link>http://myjavatricks.com/nioperformancetips.aspx</link>

            <guid isPermaLink="false">30A2AEEB-9CE8-4138-8A8E-747C3E601AEE</guid>
            <pubDate>Fri, 5 Nov 2007 14:25:11 -0700</pubDate>
        </item>
        <item>
            <title>Reading and Writing Double-Byte Characters</title>
            <description>In many Java applications i18n just happens. We use resource files, to localize the presentation and never worry about character encodings. However, if you have to process double-byte characters by reading them from some file, you need to make sure you use proper character set encodings if you do not want to be dependent on the underlying operating system. It is simple to do, once you do it. Read about it here. </description>
            <link>http://myjavatricks.com/i18nfiles.aspx</link>

            <guid isPermaLink="false">4DB4E48E-3A2D-44D4-BFCC-D48D0A1F497E</guid>
            <pubDate>Fri, 2 Nov 2007 14:25:12 -0700</pubDate>
        </item>
        <item>
            <title>Logging</title>
            <description>Every serious application should use logging. System.out.println should be strictly forbidden for logging. Why? Well, to start with it is at least 5 times slower then, for example, log4j. I find log4j a necessesity on every project. Every time I start new project I think about using latest java logging, and every time I somehow give up. Log4j interface is so simple, straeight-forward and efficient that I just cannot bring myself to abendon it. In this entry, I write about simple do's and don'ts with log4j logging.
</description>
            <link>http://myjavatricks.com/logging.aspx</link>

            <guid isPermaLink="false">4DB4E48E-3A2D-44D4-BFCC-D48D0A1F498E</guid>
            <pubDate>Mon, 5 Nov 2007 09:40:12 -0700</pubDate>
        </item>
	  <item>
            <title>Custom Serialization</title>
            <description>Use custom serialization to transfer files. Read about it here. Fully functional object is provided as a part of this article.
		</description>
            <link>http://myjavatricks.com/serFT.aspx</link>

            <guid isPermaLink="false">4DB4E48E-3A2D-44D4-BFCC-D48D0A1F498F</guid>
            <pubDate>Wed, 30 Jan 2008 11:53:12 -0700</pubDate>
        </item>

    </channel>
</rss>
