• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pass By Value and Pass By Reference used with EJB  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi ,

Can anybody please tell me

What Is Pass By Value and Pass By Reference with respect to EJB ??

How are these terms associated with EJB .

Thanks in advance
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36446
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remote EJBs make a copy of the parameters so changes in the copy do not affect the original. Local EJBs use the same object via a references so changes do affect the original. However, it is poor practice to make changes to a parameter since you shouldn't rely on this behavior.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You very much .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!