@Mark: depends, using remote ejb between TomEEs (didn't try glassfish) can lead to perf improvement since ejbd is really fast compared to soap or rest. it really depends the app and the remote usage it does
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/5/28 Mark Struberg <[email protected]> > I've tried such things once and gave up. For accessing the Remote EJB you > need some client.jar from that very server (glassfish-client.jar). And > those often contain lots of classes which really create classpath clashes. > They are really only meant for clients which do not have any EJB knowledge > at all, like say a Swing client. > > My tip is to use JAX-RS or some other portable interface. There is no way > of transaction propagation between EJBs from different servers anyway, > etc.Thus you gain not much from really using remote EJBs in this case. > > LieGrue, > strub > > > > > ----- Original Message ----- > > From: Romain Manni-Bucau <[email protected]> > > To: [email protected] > > Cc: > > Sent: Tuesday, 28 May 2013, 6:40 > > Subject: Re: Invoke EJB on Glassfish > > > > Is the lookup itself an issue? If so you can still write a small cdi > > extension to get remote ejb through @Inject, it is quite easy and > portable. > > Le 28 mai 2013 00:41, "jply" <[email protected]> a > > écrit : > > > >> Romain Manni-Bucau wrote > >> > If i understood you just need a remote lookup > >> > [...snip...] > >> > >> You understand correctly. I need to lookup EJBs on a Glassfish server > from > >> a > >> webapp on a TomEE server. > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > > > http://openejb.979440.n4.nabble.com/Invoke-EJB-on-Glassfish-tp4663221p4663262.html > >> Sent from the OpenEJB User mailing list archive at Nabble.com. > >> > > >
