Is it possible to dynamically load entity bean classes? I.e. I have a JBoss server with some ClassA entity bean there, some stateless session bean with a method that will return ClassA instance as the return value - can client work with that class by dynamically loading its definition (RMI or whatever) directly from JBoss?
I can tell you that Remoting has a facility for downloading classes from the server to the client in the course of deserializing an invocation response. See the discussion of the "loaderport" parameter in Section "5.5. Marshalling" in the Remoting Guide (http://labs.jboss.com/jbossremoting/docs/guide/index.html).
I should add that I don't know if anyone has used this facility with EJBs.