File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Game Development and the fly likes aplet vs. aplication Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Game Development
Reply Bookmark "aplet vs. aplication" Watch "aplet vs. aplication" New topic
Author

aplet vs. aplication

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110
Is better programming a 2D game like aplet or like aplication?
Could you write advantages and disadvantages of these choices.
Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32765
That depends on how you want to deliver it to the players.

Applets can be delivered via a browser (no download or installation involved), but depends on the Java Plugin being installed and configured correctly (which is not always the case). Applets have security restrictions (e.g. you can't access the local disk), which can be worked around, but that again complicates matters.

An application needs to downloaded and stored somewhere on the local hard disk, making it accessible even if no internet connection is available.

A good middle road might be to deliver an application by Java Web Start, thus reaping the benefits of an easy download and install, and the flexibility of an application.

For the actual game code there should be no difference no matter which method of delivery is chosen.
[ November 27, 2006: Message edited by: Ulf Dittmer ]

Android appsImageJ pluginsJava web charts
 
 
subject: aplet vs. aplication
 
Threads others viewed
java Unable to load the library libvlc
AXIS and JWDSP together in JBOSS 4.0
Type of questions from Design Pattern Topic !
TextFields Input
Positioning scroll bar
developer file tools