Serving XML currently comes with a console app, and also documents an API for imbedding the software in a Java application.