Folks;
slowly diving into doing EJBs using NetBeans, I stumbled across the
following situation. Here's what I did:
- Created two Enterprise Applications ("frontend" and "backend" as I
want to keep this kind of separation).
- Created an EJB implementing a Remote interface in the ejb
module of "backend".
- Created a servlet in the web module of "frontend".
- Used "call enterprise java bean" inside the servlet to call a method
from the Remote interface in "backend".
- Deployed both applications.
Phenomenon: "backend" comes up well. "frontend" however fails to start
up complaining that the JndiName for the given ejb is already taken...
Looking at things closely, this happening seems obvious as the
"frontend" ejb module includes the "backend" ejb module as dependency
so it obviously gets deployed again it seems... So, looking at this
setup, what is a good way / project structure to do something like that
in NetBeans without losing the power of the IDE features (EJB tooling,
most notably)?
Thanks in advance, kindest regards.
Kristian
--
Kristian Rink *
http://zimmer428.net *
http://flickr.com/photos/z428/jab:
kawazu@... * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)