EJB3 Stateless Bean is always null in REST-WebService (Glassfish3, EJB3, Stateless Bean,)
问题 I hope you can help me with this: I have a WebProject created with Eclipse as a dynamic web project, running on a Glassfish3 Server. I’m using EJB 3.0 to create a stateless Façade(@stateless Annotation) that implements my business logic: @Stateless public class Facade { public void test(){ System.out.println("test hat geklappt!!"); } } Additionally I’m using a RESTRessource to offer my REST WS that uses my EJB with (@EJB Annotation) the business logic: @RequestScoped @Path("/prescriptions")