Re: RMI From TomEE to Jboss

2018-07-11 Thread Howard W. Smith, Jr.
On Tue, Jul 10, 2018 at 7:23 PM, Jonathan S. Fisher wrote: > > A better way would be to wrap your legacy EJBs with RESTful services > so that way you're platform independent. > +1 I like this approach... even though I am running 2 separate TomEE's on same machine, they communicate via RESTful

Re: RMI From TomEE to Jboss

2018-07-11 Thread Jonathan Gallimore
Ah - wonder why I haven't seen that before. Thanks for the note. I'll see if I can throw an example here. On Wed, Jul 11, 2018 at 10:31 AM, Romain Manni-Bucau wrote: > The "Referencing a bean in another server" part of > http://tomee.apache.org/ejb-refs.html should already enable several cases.

Re: RMI From TomEE to Jboss

2018-07-11 Thread Romain Manni-Bucau
The "Referencing a bean in another server" part of http://tomee.apache.org/ejb-refs.html should already enable several cases. Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github

Re: RMI From TomEE to Jboss

2018-07-11 Thread Jonathan Gallimore
You can certainly make remote calls to JBoss in the same way you would do with a regular client. You'd need to include the JBoss client jars, and use the appropriate URL and context factory in your InitialContext. This should be a reasonable approach. JBoss itself has the concept of an

Re: RMI From TomEE to Jboss

2018-07-10 Thread Romain Manni-Bucau
client or extenal jndi provider to inject the remote context config. Not sure it is good compared to having a plain client but very doable. Romain Le mer. 11 juil. 2018 02:16, Gurkan Erdogdu a écrit : > Hi Joshua > AFAIK, it is not possible to propagate RMI call from TomEE to JBoss b

Re: RMI From TomEE to Jboss

2018-07-10 Thread Jonathan S. Fisher
It's likely possible, but whether or not it's a "good idea" is the better question :) It might be best to see about getting a consultant from Tomitribe out there to help you. The process would be something like, use the JBoss InitialContextFactory and point it at the remote server. Then, you

RMI From TomEE to Jboss

2018-07-10 Thread Joshua Sharf
Is there a way to make an RMI call *from* a TomEE server *to* a JBoss EJB? I know we can set up TomEE to host EJBs, but that's not what we want to do. We want to make the call from TomEE to the remote EJB, We're running TomEE Plume 7.0.4, and EAP7. Thanks for any help you can give us, Joshua