This chapter finishes the book by explaining the all-important subject of how to deploy your Java applet-based games to the web. I assume you already have some knowledge about how to use FTP to copy your game to a web server. I will show you how to prepare the applet so that it will run from your own web page! (Even if you use a free hosting service, if you can upload the files to your website, then very likely the game will run from your site.) You will also learn how to use the Java Archive tool to bundle your entire game (with class files and all media files together) in a Java Archive file.
Here are the key topics in this chapter:
Packaging an applet in a Java Archive (JAR)
Using the JAR command-line program ...