hi,

I have deployed an ear file  whose structure is like this

a.war
b.jar(contains ejbs)
common.jar(utility classes used by ejbs)



a.war  also has common.jar (in the lib dir)


Common.jar contains DTO classes(serializable) .  When a DTO is returned
from ejb layer to the web layer I get a class caste exception .
even though I have same  version on both layers. How to  force jvm to treat
DTO as of same version. I read that I can give serial id in the class for
this.

Any Idea how ?

TIA
Ashwani




This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Reply via email to