I am successfully doing this using a jndi lookup like this:
Object ref = initCtx.lookup("/ejb/myEJBBla");
However,
I'm having, what I think is a firing order issue with JBOSS. When I retrieve an EJB home interface within the constructor of a class that implements Schedulable, I get classdefnotfound errors.
I believe this is caused because the ejb container coming up after the mbean for the "Schedulable" tasks.
Can I change this order?
Should I? I have work-arounds, but they suck.
Jim
jgkennedy@mindspring.com