wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Call by reference in EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Call by reference in EJB" Watch "Call by reference in EJB" New topic
Author

Call by reference in EJB

Kalyan Anand
Ranch Hand

Joined: Feb 07, 2007
Posts: 194
For the Local Interface I read that they have ability to share data between client and bean through call by reference.

What does mean as Java goes by Call by value mechanism ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

Originally posted by Santhosh Jali:

What does mean as Java goes by Call by value mechanism ?


This has a very good explanation about Call by reference and call by value.

Originally posted by Santhosh Jali:
For the Local Interface I read that they have ability to share data between client and bean through call by reference.

So as explained in the FAQ,


If the (local interface) method changes some of the attributes of the object, it changes the original object (passed by the client).


[My Blog] [JavaRanch Journal]
 
Don't get me started about those stupid light bulbs.
 
subject: Call by reference in EJB
 
Similar Threads
java pass by copy, or pass by reference?
java parameter passing
Call by reference WAS 5.0 Developer
call by reference
java is call by value or call by ref.