Useful Java Utilities and Frameworks
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.
JTree Drag and Drop Gotcha
Before adding Drag and Drop capabilities to my JTable, I read Java Tip 97 and Java Tip 114 from JavaWorld….
Java News-reader Application
I started working on a news aggregator application as my semester project last month, but it has…
The RSS Version Fiasco
I’ve recently been extending my Java RSS/Atom feed reader to support more versions of RSS….
New System Tray API in JDK 6 (Mustang)
Robert Eckstein writes: The latest beta version of the Java 2 Platform Standard Edition 6.0…