Tom Kelliher, CS 245
Oct. 29, 2008
Deliverables due today, Monday.
None.
Threads Lab II.
Networking Lab.
Do not use IE with its native JVM to run client code. Firefox and IE with Sun's JVM will work. See class Web site for link to Sun's Java JRE.
Using the AppletViewer from Eclipse should be fine -- all security is disabled!
What you'll need to do: Serve your applet from Apache on phoenix. Java's security model permits an applet to connect back to the server which served it.
Client and server must ultimately reside on phoenix!
How do I make my applet available on the Web?
public_html
directory under home directory.
public_html
directory.
Transfer ALL class files.
chmod -R go+rX public_html
Skeletal HTML to use:
<html> <head> <title>Game2Dclient Applet</title> </head> <body> <h1>Game2Dclient Applet</h1> <hr> <applet code="Game2Dclient.class" width=500 height=500 > </applet> <hr> </body> </html>
Source code availability.
Work in your teams to answer the following:
Game2Dclient.java
questions:
G2DLaunch.java
questions: