Can applet in different page communicate with each other?
Yes, An applet can communicate with another applet on different. Since an AppletContext will be created for a single page. If it is in multiple pages, different applet context will be there for different applets.
But even if the applets are on different pages, they run under the same JVM, so we can create an class similar to AppletContext say this class AppletRegistry, which holds references to all the applets running in the JVM, and this class can be use to hand over the reference to whoever needs it for communication.
This registry should maintain a static hashtable that should keep the map of all the applet objects.