<?xml version="1.0" encoding="utf-8"?>
<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>vsbabu.org : java</title>
    <link>http://vsbabu.org/mt/archives/categories/java/</link>
    <description>Gluing passing thoughts to foregone conclusions</description>
    <dc:language>en-us</dc:language>
    <dc:creator>vsbabu@gmail.com</dc:creator>
    <dc:rights>Copyright 2010</dc:rights>
    <dc:date>2010-03-02T15:03:54+05:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.661" />
    <admin:errorReportsTo rdf:resource="mailto:vsbabu@gmail.com"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>

    <item>
      <title>Simple MongoDB+Java example</title>
      <link>http://vsbabu.org/mt/archives/2010/03/02/simple_mongodbjava_example.html</link>
      <description>Starter Java code to use MongoDB.</description>
      <guid isPermaLink="false">1071@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://www.mongodb.org/">MongoDB</a> is pretty slick for ease of use and scalability. As part of figuring out how to interface with MongoDB, I wrote a simple Java class that gives you an idea about how to create a collection and do CRUD on that. See below. Quite a bit of information is available on the web, but I thought a sample that shows off all the basic things will be useful. Good link - <a href="http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/">notes from a production mongoDB deployment</a>
</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2010-03-02T15:03:54+05:00</dc:date>
    </item>
    <item>
      <title>Lightweight JSP development environments</title>
      <link>http://vsbabu.org/mt/archives/2009/08/22/lightweight_jsp_development_environments.html</link>
      <description>Couple of links if you *need* to be interested in JSP</description>
      <guid isPermaLink="false">1043@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p><a href="http://weblogs.java.net/blog/felipeal/archive/2004/10/setting_a_light.html">Felipe Leme's Blog: Setting a lightweight JBoss server for web development only</a>.</p>
<p>
Pretty slick. Should be used as a starter for my own training!</p>
<p>
Still better is using <a href="http://www.draconianoverlord.com/2009/01/10/war-less-dev-with-jetty.html">Jetty for War-less development</a>.  Another tutorial on using <a href="http://www.itjungle.com/fhg/fhg082708-story02.html">Netbeans with Jetty</a>.</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2009-08-22T10:56:51+05:00</dc:date>
    </item>
    <item>
      <title>jEdit with jGoodies</title>
      <link>http://vsbabu.org/mt/archives/2004/11/20/jedit_with_jgoodies.html</link>
      <description>Quick notes on configuring jEdit to use jGoodies looks</description>
      <guid isPermaLink="false">994@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
    Probably, not much useful; but I like <a href="http://www.jgoodies.com/">JGoodies</a>
    look much better than most other skins. Here is my notes on how I got this to work
    on WindowsXP.
</p>

<ol>
    <li>
        If you don't have jEdit yet, download it and install it from
        <a href="http://www.jedit.org/">www.jedit.org</a>.
    </li>
    <li>
        Now download <a href="http://www.jgoodies.com/download/libraries/looks-1_2_2.zip">jGoodies looks R1.2.2</a>
        and extract <tt>looks-1.2.2.jar</tt> to your PC somewhere.
    </li>
    <li>
        Create a <tt>jgoodiesLF.bsh</tt> in the <tt>startup</tt> directory
        under jEdit installation folder. The file should look like:
        <blockquote><code>
        // Set JGoodies look<br/> 
        //Uncomment next line and modify it if you want to use custom themes provided by<br/>
        //JGoodies -- see the API documentation for available themes.<br/>
        //com.jgoodies.plaf.plastic.PlasticXPLookAndFeel.setMyCurrentTheme(new com.jgoodies.plaf.plastic.theme.SkyBluer());<br/>
        try {<br/>
            UIManager.setLookAndFeel(new com.jgoodies.plaf.plastic.PlasticXPLookAndFeel());<br/>
        }<br/>
        </code></blockquote>
        <em>If this doesn't work, try removing the try{} around the UIManager line.</em>
    </li>
    <li>
        Create a Window's shortcut that looks like this:
        <blockquote><code>
        PATH\TO\JRE\javaw.exe -Xbootclasspath/a:PATH\TO\EXTRACTED\looks-1.2.2.jar -jar "JEDIT\INSTALLATION\PATH\jedit.jar"
       </code></blockquote>
    </li>
    <li>
        Double click on the shortcut to start jEdit. Here's a screenshot.
    </li>
</ol>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2004-11-20T16:32:16+05:00</dc:date>
    </item>
    <item>
      <title>Jython is great</title>
      <link>http://vsbabu.org/mt/archives/2004/02/24/jython_is_great.html</link>
      <description>Long overdue note on the ease and elegance of Jython.</description>
      <guid isPermaLink="false">981@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
    <a href="http://www.jython.org/">Jython</a> is a great time saver. It is a small
    download and installation is a very easy. It actually makes Java a bit more
    pleasing.
</p>

<p>
    Some quick uses I've found so far include:
</p>

<ol>
    <li>Making quick test scripts to integrate different Java components.</li>
    <li>Adding such scripts write into an Ant task.</li>
    <li>Using the great <a href="http://vsbabu.org/mt/archives/2003/02/13/joy_of_python_dir_help_and_pprint.html">pprint and dir</a>
        functions to dive into Java classes and methods much faster than API documentation.</li>
</ol>

<p>
    I am sure there are many more ways Jython can be used. For example, I checked in one old script
    that took about 15 minutes to write -- it provides a <a href="http://vsbabu.org/tmp/jyqlp.jy">rudimentary interactive sql shell</a>.
    The code couldn't be simpler! A while back, I needed to access an Oracle database. SQL*Plus
    was not installed in the client machine and the installer was not available either. This script
    came in handy then.
</p>]]></content:encoded>
      <dc:subject>python</dc:subject>
      <dc:date>2004-02-24T12:13:48+05:00</dc:date>
    </item>
    <item>
      <title>Fake J2EE is not that bad!</title>
      <link>http://vsbabu.org/mt/archives/2003/11/02/fake_j2ee_is_not_that_bad.html</link>
      <description>Thoughts on weighing complexity and programming kewlness against what the user really needs?</description>
      <guid isPermaLink="false">932@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<h4>A <em>J2EE</em> Application</h4>
<p>
Recently, I was (un)fortunate enough to witness a web
application that was already deployed and in use for
over an year. At the time of installation, the main
marketing points appeared to be:
</p>

<ol>
<li>To modify the layout and design, programming knowledge is not necessary. The vendor had developed a proven templating scheme that plays well with existing HTML editors.</li>
<li>It doesn't lock you to a particular operating system since it is written in Java.</li>
<li>Since it employs J2EE, it scales, rocks and keep your job safe <em>(I sensed the last one, but it was not explicitly spelled out.)</em></li>
<li>It runs on any servlet container.</li>
</ol>]]></content:encoded>
      <dc:subject>programming</dc:subject>
      <dc:date>2003-11-02T19:35:27+05:00</dc:date>
    </item>
    <item>
      <title>Respecting SQL</title>
      <link>http://vsbabu.org/mt/archives/2003/10/13/respecting_sql.html</link>
      <description>SQL is getting unfashionable among Java crowd. It doesn&apos;t have to be - you get reliability, maturity and familiarity with your data, using SQL.</description>
      <guid isPermaLink="false">915@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://www.devx.com/dbzone/article/17520">Jack D. Herrington</a>: <q>Have a Little Respect for SQL Databases
As we race towards better object technology, some people seem content to put relational database systems out to pasture—for no good reason. </q>
</p>

<p>
Via <a href="http://weblog.cemper.com/a/200310/12-have-a-little-respect-for-sql-databases.php">Christoph C. Cemper</a>
</p>]]></content:encoded>
      <dc:subject>dbms</dc:subject>
      <dc:date>2003-10-13T16:14:37+05:00</dc:date>
    </item>
    <item>
      <title>Jodd</title>
      <link>http://vsbabu.org/mt/archives/2003/10/08/jodd.html</link>
      <description>Nice library to keep handy.</description>
      <guid isPermaLink="false">912@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p><q><a href="http://jodd.sourceforge.net/">Jodd</a> is a generic purpose open-source Java library and a mvc JSP framework. It may help in development of Java applications, both stand-alone and server-side. You may think of Jodd as swiss army knife for Java: small, sharp and with plenty useful gadgets included.</q>
</p>

<p>
Sweet.
</p>
]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2003-10-08T09:04:48+05:00</dc:date>
    </item>
    <item>
      <title>Good middle-tier architecture</title>
      <link>http://vsbabu.org/mt/archives/2003/10/07/good_middletier_architecture.html</link>
      <description>Finally! Someone has the guts to say things that are not fashionable.</description>
      <guid isPermaLink="false">910@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://www.onjava.com/pub/a/onjava/2003/10/01/middletier.html">Satya Komatineni writes</a>:
<blockquote><q> IT spends a considerable sum of dollars in creating company-wide frameworks as part of building their business applications. This is especially true for typed languages like C++, Java, and C#. The core of this spending goes towards coming up with an architecture for the middle tier. How does one know if the resulting architecture will serve the needs? This article examines the qualities of a good middle-tier architecture and answers how the well known middle-tier architectures that are in vogue today stack up against this analysis. The middle-tier architectures analyzed include stored procedures, SOA, EJBs, COM+, and SQLJ. </q></blockquote>
</p>

<p>
Several points raised in the article resonate very strongly with me.
</p>]]></content:encoded>
      <dc:subject>computing</dc:subject>
      <dc:date>2003-10-07T18:49:34+05:00</dc:date>
    </item>
    <item>
      <title>JDeveloper 10g - Look and Feel</title>
      <link>http://vsbabu.org/mt/archives/2003/10/05/jdeveloper_10g_look_and_feel.html</link>
      <description>How-to: Apply Kunststoff look-and-feel for JDeveloper 10g on Linux.</description>
      <guid isPermaLink="false">909@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Though Oracle doesn't support it, I <a href="http://vsbabu.org/mt/archives/2003/09/22/jdeveloper_10g_on_linux.html">tried out JDeveloper 10g on Linux</a>. <a href="http://www.robsite.org/">Rob Clevenger</a> solved the font problem - I now have Bitstream Vera in its full glory.
</p>

<p>
A little bit digging around solved my other issues too.
</p>]]></content:encoded>
      <dc:subject>oracle</dc:subject>
      <dc:date>2003-10-05T17:53:41+05:00</dc:date>
    </item>
    <item>
      <title>JDeveloper for WS client development</title>
      <link>http://vsbabu.org/mt/archives/2003/09/28/jdeveloper_for_ws_client_development.html</link>
      <description>Newbie notes on how developing a Google consumer using JDeveloper.</description>
      <guid isPermaLink="false">907@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
If you go for a  Visual Studio.NET demo, chances are that the speaker will try to impress
you with its prowess when it comes to building web services clients (also called as 
consumers). Once you are impressed, the next slide will most certainly be about lack of
such tools in the Java world. To a certain extent that is true, but in the context of
web service consumers, Oracle JDeveloper is just as easy as VS.NET. 
</p>

<p>
This is a small write-up that is aimed at helping you to like JDeveloper, by writing a
client for Google web services. Once you have the software installed, you can see that
it wouldn't even take 5 minutes to have a working client.
</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2003-09-28T18:04:18+05:00</dc:date>
    </item>
    <item>
      <title>Readable Java 1.5</title>
      <link>http://vsbabu.org/mt/archives/2003/09/25/readable_java_15.html</link>
      <description>I still think the proposed version of for loop is not readable enough.</description>
      <guid isPermaLink="false">904@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<q> The Java 1.5 proposal offers programmers a false choice between desirable <a href="http://www.onjava.com/pub/a/onjava/2003/09/24/readable_java.html">new features and readability</a>. In fact, all of the proposed new features for 1.5 can be represented by clear, unambiguous, and readable constructs without breaking backwards compatibility.</q></a>
</p>

<p>
As far as for-loops are concerned, I think Guido's choice of syntax for Python is the best I've seen in any language.
</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2003-09-25T18:24:47+05:00</dc:date>
    </item>
    <item>
      <title>JDeveloper 10g on Linux</title>
      <link>http://vsbabu.org/mt/archives/2003/09/22/jdeveloper_10g_on_linux.html</link>
      <description>It  runs very well on Linux.</description>
      <guid isPermaLink="false">899@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Thanks to Isabel, just before power went out, I downloaded <a href="http://otn.oracle.com/software/products/jdev/content.html">Oracle JDeveloper 10g preview edition</a>. It is a 230MB download, after a free registration (possibly followed by many sales calls from Oracle!) certified for
Win32. Just for the fun of it, I copied it over to my Linux partition and ran it. It runs just as well - here is a screen shot. Perhaps Java is _really_ cross-platform!
</p>

<p align="center"><a href="http://vsbabu.org/mt/archives/images/jdev10g_preview_ss.html" onclick="window.open('http://vsbabu.org/mt/archives/images/jdev10g_preview_ss.html','popup','width=888,height=666,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img alt="jdev10g_preview_ss_tn.jpg" src="http://vsbabu.org/mt/archives/images/jdev10g_preview_ss_tn.jpg" width="200" height="150" border="1" /></a></p>]]></content:encoded>
      <dc:subject>oracle</dc:subject>
      <dc:date>2003-09-22T10:54:03+05:00</dc:date>
    </item>
    <item>
      <title>Java is an SUV</title>
      <link>http://vsbabu.org/mt/archives/2003/09/21/java_is_an_suv.html</link>
      <description>Couldn&apos;t have said it any better than Philip Greenspun.</description>
      <guid isPermaLink="false">896@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://blogs.law.harvard.edu/philg/2003/09/20#a1762">Java is the SUV of programming tools</a>: <q>A project done in Java will cost 5 times as much, take twice as long, and be harder to maintain than a project done in a scripting language such as PHP or Perl.  People who are serious about getting the job done on time and under budget will use tools such as Visual Basic (controlled all the machines that decoded the human genome).  But the programmers and managers using Java will feel good about themselves because they are using a tool that, in theory, has a lot of power for handling problems of tremendous complexity. </q>
</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2003-09-21T08:50:44+05:00</dc:date>
    </item>
    <item>
      <title>Linkfest - java articles</title>
      <link>http://vsbabu.org/mt/archives/2003/09/11/linkfest_java_articles.html</link>
      <description>Links to remember; for reading later.</description>
      <guid isPermaLink="false">884@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<ul><li><a href="http://www-106.ibm.com/developerworks/java/library/j-echo1/">Intro to the Echo Web framework</a> - I like Echo.</li>
<li><a href="http://www-106.ibm.com/developerworks/opensource/library/os-ecref/">Refactoring using Eclipse</a></li>
<li><a href="http://www-106.ibm.com/developerworks/xml/library/x-antxsl/">Enhancing Ant with XSLT</a></li>
<li><a href="http://www.eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html">Developing Eclipse plugins</a></li>
</ul>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2003-09-11T06:06:25+05:00</dc:date>
    </item>
    <item>
      <title>Slashdot: Java vs .Net</title>
      <link>http://vsbabu.org/mt/archives/2003/09/05/slashdot_java_vs_net.html</link>
      <description>Interesting (for a change) discussion on the subject, on Slashdot.</description>
      <guid isPermaLink="false">879@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://developers.slashdot.org/developers/03/09/05/1855250.shtml?tid=108&tid=109&tid=126&tid=156&tid=187">Slashdot discussion</a> - this one has the usual flame war bit, but there are some *excellent* comments also.
</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2003-09-05T18:20:55+05:00</dc:date>
    </item>


  </channel>
</rss>


