It should work if you use remote home interface without "big-white-switch",
i.e. the DTOs are serialized between the layers.

/Johan

Den 2003-02-24 05.24, skrev "Ashwani Kalra" <[EMAIL PROTECTED]>:

> 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
>
>
>
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to