A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
I/O and Streams
Why are Iterators non-serializable?
Joined: Jan 01, 2007
Aug 05, 2008 21:41:00
I am not sure why Iterators in Collections framework are non-serializable? Is it wrong design to have my own iterator which extends serializable interface?
Thanks and Regards
Joined: Mar 22, 2005
Aug 05, 2008 23:35:00
What would it mean to have the Iterator serializable, since you can't force the underlying collection to be serialized at the same time?
I agree. Here's the link:
subject: Why are Iterators non-serializable?
states of stateful session bean
Questions on serializable and deserializable understanding
Question about ejbActivate and ejbPassivate
Enumerations Vs Iterators
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014