Reputation: 1721
I am using netbeans to run my web application. Now, in my web application project, I have a jsp code which call a servlet and that servlet call's a EJB and shows the output of EJB in a jsp page. Now, to run my application I am right clicking on application and then pressing run button. However, I want to run my ejb outside of the ejb container. Can anybody help me how to do that ? Means how to run a ejb outside it's ejb container in Netbeans.
Upvotes: 0
Views: 296
Reputation: 42114
Concept of EJB without container is bit problematic. EJB container and EJB are fundamentally connected. Container for example creates instances of EJB, offers many kind of services (transactions for example) to EJB, and controls it during lifecycle.
If for example options for testing EJB, then this page provides instructions about how to use embedded GlassFish with NetBeans.
Upvotes: 1