Originally posted by Balaji Natarajan:
I am creating an enum type (public enum ApplicationEnum) and using it as a class member in a domain object. Is this ApplicationEnum (which is of type enum) is serializable by default or do i have to explicitly declare the enum ApplicationEnum as Serializable.
Write a piece of code that creates an instance of your enum and then uses instanceof to check if it implements the Serializable interface.
Edit - or you could look at the documentation
Originally posted by Balaji Natarajan:
Lastly, is enum involved in a Serialization mess?
What do you mean by 'a Serialization mess' ?
[ August 22, 2008: Message edited by: Joanne Neal ]