View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821683#3821683
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821683 I have a stateless session bean that defines a business method: public MyInterface help() {return new MyImpl();} MyInterface is : public interface MyInterface implements java.rmi.Remote { public void a(); } according to the RMI documentation this interface may be declared as a return parameter of a business EJB method WIHTHOUT explicitly being Serializable (because you pass around an 'interface' proxy not the implementation) But, in JBOSS, if the implementation of MyInterface does NOT implement Serializable an exception occurs. OK, I 'fixed' it and it is deployed ok. Then I debugged a client application for the bean and it turns out the implementation of the interface in the CLIENT vm is of the implemntation class in the JBOSS vm. My question is - why is this so? Why does not JBOSS create its own stub implementations? ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user