File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 10102
    
165

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call by reference in EJB