Answer»
- Depending on what DEVELOPMENT package you use to create your Java programs, will go about compiling, ORGANIZING, and testing your programs in different ways. However, the general development process is mostly the same no matter which package or platform you use.
- As discussed, the end result of the Java programs development process is a bytecode file which the server downloads to the browser for interpretation and execution. When you compile your Java source file, you are creating a bytecode file. Java source-code files, on the other hand, contain the class definitions and program statements you write using the Java LANGUAGE. In addition to the Java source-code files, you must create a small HTML file, which the browser uses to invoke your applet.
- After the compiler creates the bytecode and you create an HTML file, you can test your applet using either your browser or an appletviewer. If your applet contains errors, many Java development environments provide a debugger program that you can use to track down the errors. When you are ready to RELEASE your applet to the public, you must place the applet and a corresponding HTML file on a Web server.
- Therefore, the general development cycle of a Java applet INCLUDES the creation of source-code and HTML files, compiling the source into bytecode, testing the bytecode through an appletviewer, detecting and removing any errors from the applet using a debugger and, finally, releasing the applet for use on a Web server.
|