File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes serialversionUID in CMP bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "serialversionUID in CMP bean" Watch "serialversionUID in CMP bean" New topic

serialversionUID in CMP bean

Vijay P

Joined: Jun 17, 2006
Posts: 10

I am new to EJB and i am creating a sample applicaton using CMP. During the CMP creation using WSAD. Its creating a static final variable called "serialVersionUID" and assiging it a default value.

What is this "serialVersionUID"? What is its significance and when it is used?

I had done some R&D on this i think its used for serailization.
Can any body explain me when it is used and why it is used?

I agree. Here's the link:
subject: serialversionUID in CMP bean
It's not a secret anymore!