Anthony W.<br />MCP, SCJP 1.4, SCJD, SCWCD 1.3, SCWCD 1.4, SCBCD
Originally posted by Anthony Watson:
Yes, assuming the entity has not been removed, because stubs are serializeable.
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Anthony W.<br />MCP, SCJP 1.4, SCJD, SCWCD 1.3, SCWCD 1.4, SCBCD
Originally posted by Anthony Watson:
...In any case, when your stateful session bean is activated, the container will use either deserialization or something like it to give you a valid EJBObject stub.
Of course, if the entity was deleted, you'd still be out of luck.
So, I was thinking...stubs can be serialized, so they can be deserialized when the EJBOjbect stub is activated.
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Anthony W.<br />MCP, SCJP 1.4, SCJD, SCWCD 1.3, SCWCD 1.4, SCBCD
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Reid - SCJP2 (April 2002)
Reid - SCJP2 (April 2002)
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Reid - SCJP2 (April 2002)
You'll end up with 2 copies of B, unless for some reason the container serialized/deserialized A and C (and B) at the same time.
Keith Rosenfield<br />SCJP<br />SCWCD<br />SCBCD
Don't get me started about those stupid light bulbs. |