demo apache and java apps