PDFreactor can be integrated with just these few lines of Java code:
PDFreactor pdfReactor = new PDFreactor(); Configuration config = new Configuration(); config.setDocument("http://www.realobjects.com"); Result result = pdfReactor.convert(config); byte[] pdf = result.getDocument();
See also the chapter Using the Java library in the PDFreactor Manual.