How can I instantiate a serialized JavaBean into an applet if my .ser file is in jar or zip archive?

John Zukowski

The Beans.instantiate() method needs to be passed the proper classloader. Just passing in null is not sufficient for an applet. For instance, if your class was Foo.class, use the following:

About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.