If you have road data in KML or GML that you would like to serve dynamically using Java, a GIS-savvy database and the Google Maps API, then this post by Mark McLaren will save you hours. It’s a meticulously documented step-by-step account of the process.