Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote vs local client view

 
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 ?

Br,
ST
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!