dcsimg

Can two applets share data?

Julien SIMON

Yes. If two applets live in the same package, they are attached to the same memory context. Thus, they may exchange object references and use them directly. Two applets living in different packages may also share data, but in a much more controlled way: this is called object sharing and involves quite a bit of work!