posted 17 years ago
Adding to your knowledge ...
1. It is more concerned about instantiating a serialized bean.
2. That is why we use 'type' attribute with it, to let the container know, what should the bean be casted to.
3. Also, 'class' is not mentioned because 'class' is more towards creating a new instance when one doesn't exist. But here, we want to bring a serialized bean (existing bean) back into action.
I am sure about '1'. Points '2' and '3' are my extrapolation.
[ December 28, 2006: Message edited by: Manikandan Jayaraman ]
Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)