[jboss-dev-forums] [Design of POJO Server] - Re: Missing org.jnp.server.NamingServer_Stub

adrian@jboss.org do-not-reply at jboss.com
Fri Nov 21 09:18:36 EST 2008


"adrian at jboss.org" wrote : "dimitris at jboss.org" wrote : 
  |   | The other way round (4.2.x client accessing 5.0.x server) is working.
  | 
  | Not for me it isn't. ;-)
  | See above.

But if I compile the NamingServer_stub for JBoss5 and add it the
server/xxx/lib
then both are happy.

That's because the stub classes are different (not the same interfaces)
in the two different versions.

So the short answer is that dynamic proxies can't work if you change the
interfaces of your Remote object. ;-)

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

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



More information about the jboss-dev-forums mailing list