O'Reilly logo

Beginning Java SE 6 Game Programming, Third Edition by Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Galactic War: Web Deployment

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required