Wrapping a PHP app in spring-boot and web