We've recently released a free open-source JSP taglibrary collection for generating Google Maps. It includes support for nearly all the documented functionality of Google Maps plus dozens of custom features and controls.

Some of the features (like marker clustering and WMS map layers) require the use of additional javascript files (also available from our website).

You can view demos and get downloads on our homepage http://www.lamatek.com/GoogleMaps/