Simple example of using conjunction of json/cdi/ejb.