Hi,
1.
Once the remote object works on the locally created object/deserialized object(pages 69-71), what will happen to that object? Shouldn't this be garbage collected.
2.
After that does the skeleton serialize the Dog object again and send it to the stub? Please refer to the page no.67 (the last para states that "Then it all happens in reverse". So skeleton should package and stub has to unpack the argument(here it is the Dog object).
3.
And then does the client get the newer version of the dog object, if it was modified by the remote object? I believe it should get a newer version of the dog object, even if there is no change to the dog object. Otherwise there will be lot of overheads in checking whether the object is changed or not.
Of course, once we talk in terms of enterprise beans answers to qns (1) and (3) might vary. I have not read the HFE completely(as I started reading it since yesterday), I think people who have mastered
EJB will share their opinions.
Thanks
SCJP(1.4), OCP(8i) DBA, Websphere Certified Associate Developer, Websphere Certified Solution Developer, Websphere Portal Application Developer