EJB: REST endpoint and singleton cache