Well..i guess the either optinos are correct..Let's try to mix them :
--> "for remote calls, java passes **remote objects stub** by ** remote objects stub** copy, not reference copy!!!
Does it make sense?
I would like always something like : "COPY OF reference"....and (for remote calls) ALWAYS "stubs"!!!
Please guys advise on this too!!!
SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Joined: Nov 02, 2004
Hi, After reading couple of pages after page number 74, i found list of types of arguments/return types for a remote method. Following are my understandings. Please correct me if i am off the path. A remote method can take/return a primitive, a serialised object, An array of seiralised objects, a remote object. When a remote method takes/returns objects, those objects will be passed by java as "
" not reference copy When a remote method takes/returns a remote object, then stub for the remote method will be passed to/from the remote method.