I get an unexpected IllegalStateException: 'No remote interface defined' when invoking SessionContext.getEJBObject() in a (stateful) Session that was created with its local home. The spec. does not forbid this, as far as I can see.
Motivation: I have a master Session bean that wants to instantiate and collaborate with a number of other Sessions, via their local interfaces. It also wants to pass a reference to one of these instances back to a remote client--the one that created the master instance, of course. So basically, in a business method, I need to convert a local reference into a remote one (going the other way would be useful, too). I need to do the same within Entity beans, but there I can always use findByPrimaryKey() to do the conversion. Is there any reason why this should not be possible with Sessions??? Thanks in advance. -Peris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837138#3837138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837138 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development