Problem in deserializing an Object over URLConnection , when Object is different on receiving side
Posted on 2003-11-25
I have application W deployed on WebLogic. This app W has one Java object JO which is serializable. I have application A on ATG. app W and app A are same except java object JO is not serializable on ATG and is having less attributes than JO on Weblogic.
I am sending JO from app W to app A by HttpURLConnection. But when I receive it in app A( from input stream of the Connection) and try to cast the object received to JO on ATG, it throws me error, which is normal, as the classes are not same.
Is there any way by which I can send object to ATG without modifying the class on ATG. I can create new classes on WebLogic, but not on ATG.
Any suggestion is most Welcome.
Thanks in Advance