|
Hi,
I'd like to deploy an EJB that calls methods in a
protected class in its own package. I am currently trying to do this by
jarring up all the protected classes, along with the rest of my application,
into a .jar file which I place in lib/ext. In the ejbs deploy jar, I only
place the minimum classes ( Home, Remote, Bean, etc. ).
I suspect that the problem arises because the EJB
and the jar are loaded by different ClassLoaders, leading to
SecurityExceptions. It won't work to place the protected classes in the
EJB jar, as they are dependent on other, public classes in different packages,
etc... I could conceivably end up placing my whole application in there.
And to automate figuring out which classes need to be present,
fuhgedaboudit.
So... any ideas? It doesn't kill my
application to just make the other classes public, but things would be a lot
cleaner if they weren't. Thanks for any help.
Yours,
Eric
|
- Re: [JBoss-user] protected classes called by an EJB Eric Lindauer
- Re: [JBoss-user] protected classes called by an EJB Scott M Stark
- Re: [JBoss-user] protected classes called by an EJB Eric Lindauer
