[jboss-user] [EJB 3.0] - Re: SLSB Local Interface Exception - EjB 3.0 with jboss-4.0.

ALRubinger do-not-reply at jboss.com
Tue Sep 19 02:16:18 EDT 2006


If you're running this client from main, it'll be in its own instance of the JVM, so your client (even if running on the same machine as the EJB) is *not* local.  Local refers to "within same JVM" only, and will take advantage of certain in-JVM benefits, like being able to pass objects by reference, etc...

So in other words, your error isn't actually an error.  Use the remote proxy for remote clients.  If you want to call your EJB from within another process (perhaps another EJB in the container), then you can use the local interface.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972485#3972485

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972485



More information about the jboss-user mailing list