Hi, On Wed, 16 Jan 2002 23:01, Paul Hammant wrote: > ... If it is sent over an ObjectStream to a client from a server, then > has it's name changed on the server with setName() and sent again, the > client cannot see the name change. The reason is that the ObjectStream > makes an 'optimization' and decides that the person object does not need > to be deserialized a second time because it already has it. The issue > is fixed by hitting reset() after each write of Object, but this halves > performance, probably I guess because the reset() has to be communicated > to the client at that time. A resetDelay() might be nice.
I would highly recomend that you call reset() after each invocation of a method - it causes a lot of pain otherwise and I have been burnt by it before ;) > I'm also looking to make adaptors for AltRMI so that it can be used in > JNDI. For those that are interesed -> > http://java.sun.com/products/jndi/tutorial/objects/storing/remote.html > is a good starting point. kool - so do you mean you are going to create and object factory + wa way to create Reference objects or something? -- Cheers, Pete ------------------------------------------ I just hate 'yes' men, don't you Smithers? ------------------------------------------ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
