That's one of the reasons people are migrating to web services :) Or use JMS, too.
Really, if your app server is upgraded or vendor is changed, there is no way your old/foreign stubs will work with new code on server side. :-(
Remember EJB declared there should be an application deployer role? It's up to him to prepare client.jar for client applications and distribute it (or may be it's the application packager? doesn't matter; the point is: it's not an automatic operation).
Some tricks may be possible (like demanding placing client.jar onto specific place on the server to download it by client first, then use class loader to use), but those are more hacks than established practice.
As for JBoss specifics, I have no any information.