I have a question regarding remote vs local client view and EJBs.
My appserver (JBoss) seems to apply local communication also when I lookup the remote interfaces in JNDI. That is, the appserver seems to override my intention of using remote communication (RMI/IIOP) and use local communication instead. More specifically, I am able to pass non-serializable objects between EJBs and they are passed-by-reference.
Since I am working within the same EJB container (JBoss installed on my laptop) it is of course OK to use local communication.
Has anybody else had similar exeperiences ? Is this the case also for other appservers ?