This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "serialversionUID in CMP bean" Watch "serialversionUID in CMP bean" New topic
Author

serialversionUID in CMP bean

Vijay P
Greenhorn

Joined: Jun 17, 2006
Posts: 10
Hi

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?

--Vijay
 
Consider Paul's rocket mass heater.
 
subject: serialversionUID in CMP bean
 
Similar Threads
View SQL statements generated by WebSpere App Server
Deserialization problem - InvalidClass w/ negative serialVersionUid for local class
Java class consisting of serialVersionUID
CMP Bean
serialVersionUID + jpa?