Running glassfish with JVM otion -Djava.awt.headless=false
I am creating barcodes in my application running Glassfish 3.1.1. I am using Barbecue 1.5 and unfortunately this requires a non-headless application. I have added the JVM setting:
and so far things look ok. But before going to prod I want to make sure there is no risk. So here are my questions:
- what are the drawback of running non-headless? More memory/cpu usage?
- is it possible to run with this "-Djava.awt.headless=false" on a server that as no display or must I install Xvfb?