posted 11 years ago
Hi folks !
I have a noob doubt, or not so noob at all. I was thinking about the serialization and on my actual job I found a lot of classes that have the serial IDs generateds and other classes that have It with its default value, 1L.
The project is a group of 8 modules where one is the generic and have almost all EJBs, so thinking that we are working with EJBs and this system will be used in a cluster environment, what is the real matter with the serial IDs, I mean we have to use the generated or we could use whatever ?
I always had concern about the importance of the serial IDs and always thought that we must use the generated IDs, not the default.
Anyone could give me a good explanation or point some links and material for read about it ?
Thanks all!