Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote vs local client view  RSS feed

Sven Thor
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!