Ycad is a library of CAD functions in Java. Currently only DXF is supported for reading, viewing and writing. The DXF drawing may be rendered to a Graphics object for printing or imaging.
Geomajas is a web mapping GIS software with full vectorial editing capabilities, and support for custom attribute relation models in the browser. It has built-in support for any type of query, selection, filtering, snapping, printing, ...
With OSM Parser it is possible to process OpenStreetMap geodata for various purposes. For example, it can be used to extract streets or other OSM elements for user defined regions to generate a street directory.