Some day your boss may ask you to integrate a Java applet with some JavaScript code. How would you accomplish that task?