These are the Java libraries I end up using in many if not most of my projects, from the least known to the most popular:

Generic Algorithms for Java (jga) provides really easy tools for common collection tasks. Alas, this great library has languished unmaintained for a while.

Google Collections contains the same kind of functor functionality as jga, as well as useful collections utilities. There is only an alpha release available at this time, and it is unclear to me whether Google is committed to maintaining the library in the future.

Joda-Time lets you handle dates and times in a way that leaves you refreshed and invigorated, instead of wanting to scratch your eyes out, like the standard library date/time functionality. It is in the process of being included in the standard library at some point in the future.

Apache MINA provides nice, just abstract enough interfaces for building network servers for lesser-known protocols, and takes care of the nitty gritty details of the high-performance networking requirements.

Grizzly approaches the same area as MINA from a different direction, and might replace it in my use, especially as it's a part of GlassFish, and thus deployed into production with every GF installation.

Spring Framework does a whole lot of J2EE related gruntwork and boilerplate, saving you the trouble of re-inventing those wheels. Instantly improve the quality of your codebase by telling junior developers to only touch JDBC through Spring. This library is a gift that keeps on giving.

Google Guice provides a subset of Spring's functionality. It has excellent potential, but only a few developers and few users outside Google.

0 comments:

Post a Comment

top