Jul 24 2008

Useful Java Utilities and Frameworks

Published by at 7:48 pm under Java

There are so many useful Java frameworks and utilities out there that are free and open source that it boggles the mind. Here are a few of my recent favorites. Feel free to add your own to the list. There are many many more that I did not add to this list because they are very common (e.g. log4J, JUnit, etc.)

  • Joda Time Java Date/Time replacement
  • XStream “A simple library to serialize objects to XML and back again.”
  • Rome Java tools for parsing, generating and publishing RSS and Atom feeds.
  • Google Collections “a suite of new collections and collection-related goodness for Java 5.0, brought to you by Google. This library is a natural extension of the Java Collections Framework you already know and love. “
  • Google Guice (DI Framework) “Put simply, Guice alleviates the need for factories and the use of new in your Java code. Think of Guice’s @Inject as the new new. You will still need to write factories in some cases, but your code will not depend directly on them. Your code will be easier to change, unit test and reuse in other contexts.”
  • EasyMock “EasyMock provides Mock Objects for interfaces in JUnit tests by generating them on the fly using Java’s proxy mechanism.”
  • Apache Commons Tons of useful utilities for Java that I can’t pick just one.
  • GWT Java-Ajax web framework – very cool
  • JFreeChart “JFreeChart is a free 100% Java chart library that makes it easy for developers to display professional quality charts in their applications.”
  • Java Mozilla HTML Parser a wrapper around Mozilla’s HTML Parser.
  • Lucene “High-performance, full-featured text search engine library written entirely in Java.”
  • Squirrel SQL “Graphical Java program that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc,”
  • NIO.2 Ok, technically not an open source framework. This is the new version of NIO that will be included in Java 7. This is what we’ll be using in place of File and many of the other classes in the java.io package. Pretty cool.

4 responses so far

4 Responses to “Useful Java Utilities and Frameworks”

  1. anjan bacchuon 25 Jul 2008 at 1:34 pm

    hi there,

    thanks for sharing your list.

    I knew most of them except Rome, Mozilla HTML parser and NIO.2.

    BR,
    ~A

  2. Francisco Mesaon 26 Jul 2008 at 6:12 pm

    What about dbvisualizer?

  3. xcd eszon 28 Jul 2008 at 8:25 am

    Nice list.. The availability of free libraries are one of the primary reasons that java is so popular.. Don\’t forget a DOM parser (i.e; dom4j), logging (i.e; log4j), ORM (i.e; hibernate, ibatis), embedded DB (i.e; Derby, HQSLDB), web services (i.e; CXF), etc.. The list is pretty much endless

  4. Aymen HAJ AYEDon 11 Jul 2012 at 3:16 am

    Hi all,

    thanks for this nice list.

    I used Google collections ans it’s a very useful and practical tool for java developping 😉

    Aymen