• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Generated Serial ID Vs. Default Serial ID in EJB

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic