I have to be able to access the Business Delegate class instance from my EJBs. I guess not directly since isolation is lost, so RMI perhaps ?
I'm not sure what you mean by "outside" the container. But there are 3 options, as I see it.
1. 2 JVMs on 2 machines
2. 2 JVMs on same machine
3. both in same JVM.
For #1 or #2, use an MBean and use the RMI connector to communicate between the two. For this solution, use the JBoss JMX and for good explanation of JMX see free JMX book on www.theserverside.com.
For #3, I don't know - depends what you mean.
Option #3 meets my needs.
I just want to make sure I isolate my EJBs from code (Jolt) that manipulates threads. At least in Weblogic that caused problems.
I guess I will have to isolate my Jolt code from the EJB in JBoss too?
What is the best way to do that in JBoss?