You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Chad Schoettger <ch...@gmail.com> on 2005/11/30 00:19:49 UTC

Generating serialVersionUIDs for generated control classes...

I was looking at BEEHIVE-1014 and trying to determine best way to generate
serialVersionUID's for some of the velocity generated controls files.
Specifically the ClientInitializer and the ControlBean.

A pretty simple scheme would be to use the hash code of a string which
consisted of  the class name (including its package).  This would have the
effect of always generating a UID which was unique to that particular
class.

Does anyone on this list have any thoughts on this or other options worth
exploring?

  - Chad