>
>Unfortunately it is not always clear whether an object referred to by its
>interface type is serializable.  I am in the middle of fixing a load of
>beans that returned Iterators, which worked fine on Orion 1.3.8.  Of
>course Iterator is an interface, and I discovered when I upgrade to Orion
>1.4.3 that the objects that backed the Iterator objects returned by JDK
>1.1's Vector and JDK 1.2's ArrayList (etc.) were *not* serializable.

well, that's perfectly ok because Iterator or ListIterator is not 
serializable either. Return collections from your beans. So orion let you 
get away with a design error (which is bad, I admit as it should have 
detected that the reurn type is neither a remote object nor serializable, 
shouldn't it?) but it remains a design error on your part.

robert



(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


Reply via email to