How to include home and remote interface in a web module?

I asked this question about two weeks ago but I did not get any answer
so far. So here we go again (maybe someone has a solution for me now).

I have a web module and an ejb module. The web module depends the ejb
module. I have no problems compiling but I do not find any way to
include the home and remote interface of the ejb in the web application.

Without the interfaces, the web application will not work when being
deployed (e.g. using Weblogic integration) of course. It would only work
when deploying both modules as a complete application module, but it
would of course be much better to be able to redeploy single components
instead of the whole application.

Michael

2 comments
Comment actions Permalink

You mean <ejb-ref> references in web.xml, right ?
Editing these will be supported in 4.1.

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Michael Descher" <michael.descher@gmx.de> wrote in message news:c3ai6g$k65$1@is.intellij.net...

I asked this question about two weeks ago but I did not get any answer
so far. So here we go again (maybe someone has a solution for me now).

>

I have a web module and an ejb module. The web module depends the ejb
module. I have no problems compiling but I do not find any way to
include the home and remote interface of the ejb in the web application.

>

Without the interfaces, the web application will not work when being
deployed (e.g. using Weblogic integration) of course. It would only work
when deploying both modules as a complete application module, but it
would of course be much better to be able to redeploy single components
instead of the whole application.

>

Michael



0
Comment actions Permalink

Alexey Kudravtsev (JetBrains) wrote:

You mean <ejb-ref> references in web.xml, right ?
Editing these will be supported in 4.1.


Well, I meant something else. My problem is that I cannot include the
ejb module classes into the web module. That means the home and remote
interface classes are not included in the web module and so the web
module cannot use the ejb module. I can compile everything fine, but I
cannot run the web application.

The only way I see is to use a j2ee application module and include both,
the ejb and the web module, so the ejb classloader becomes the parent
classloader of the web module.

Is this intended behaviour, i.e. is seperate deployment of ejb and web
modules (where the web module uses the ejb) not supported or am I
missing anything?

Michael

0

Please sign in to leave a comment.