deploy a ejb component and a web application without using EAR application
I need to know if this is possible:
1. -Deploy a EJB component to GlassFish with several session beans an entity beans
2.- Deploy a web application that will use the Beans previously deployed in the standalone EJB component.
Right know I am able to ensamble a EAR application with both EJB and WAR components, everything works fine. But my EJB component will be used by several web applications, so I do not want to create severa EAR projects all using the same ejb component.
I want to deploy only one EJB component to GlassFish and then be able to deploy several WEB application that all will use the same EJB Component.
I have deployed the standalone EJB component without errors. When I try to deploy the war file of the web application I get a classNotFound exception for the interface class name . I am not able to use JNDI correctly.
Thank you for your help.