Forums Register Login

serialization issue....

+Pie Number of slices to send: Send
I have a class B that extends class A, both class B and Class A contain few attributes. I want to serialize object of class B but I have a specific requirement that need that after unmarshalling only attributes of class A should be available to the client. Use of transient is not permitted because there are many situations when attribute of both A and B are required. Is there any way to achieve this?


Thanks for your help.
We noticed he had no friends. So we gave him this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 723 times.
Similar Threads
Can I cast same class but of different packages
Values of HttpSession object
What does it mean?
problem in custom taglib
Tutorial on Dynamic Attributes
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:47:51.