Skeletons and stubs form the client side and server side proxy by which the object state is accessed via the remote reference layer in the RMI protocol.
To generate them for our remote objects run rmic on the ServerPopupImpl and ClientPopupImpl, e.g. rmic ServerPopupImpl. This will generate the files:
PopupClientImpl_Skel.class
PopupClientImpl_Stub.class
PopupClientImpl_Skel.class
PopupClientImpl_Stub.class
Running the application
Start the server using java ServerStarter, and access the applets through Appletviewer or HotJava.
There is also a bat file for Windows users.
Applets do not have the permissions to start the registry in the browser.
An AppletSecurity Exception will be thrown by the applet security manager.
To use these applets with Netscape you will have to make a digitally signed jar file, incorporate the Netscape security API, and override the methods to give the applet relevant permissions.
Sameer Tyagi is a Software Engineer with several years of programming experience in iNet application development and has conducted multiple training workshops in Java. Besides holding an Engineering degree in Electronics he is a Sun Certified Java 1.1 Programmer.
Email: sameertyagi@usa.net
JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for
Windows 95, 98, ME, NT, 2000 and XP. It's designed to
automatically optimize your Windows settings, boosting your
Internet connection up to 200%.
Blackmail Applet
This applet prints out text that looks like letters cut out of a
newspaper. You can specify the text, the width and height of the
applet and the delay after each letter. Future versions will
have more parameters.
While surveys suggest that small businesses aren't prepared for ever-present security dangers, this Boston-area printer has maintained a pristine operation since a scare six years ago.