users@glassfish.java.net

deploy a ejb component and a web application without using EAR application

From: <glassfish_at_javadesktop.org>
Date: Thu, 21 Aug 2008 00:42:17 PDT

Hi,

I need to know if this is possible:

1. -Deploy a EJB component to GlassFish with several session beans an entity beans
and
2.- Deploy a web application that will use the Beans previously deployed in the standalone EJB component.

I explain:
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.

Antonio
[Message sent by forum member 'antoniojsg' (antoniojsg)]

http://forums.java.net/jive/thread.jspa?messageID=294543