Java View all facts Glossary Help |
Java program > application > server |
server | ||||
subject | fact |
server | has definition An application that serves clients on a network | |
is a kind of application | ||
supports clients on a network | ||
application | consists of one or more classes | |
contains one class that contains a main method which serves as the starting point for the rest of the program | ||
has example of running java HelloWorld | ||
has part 1 main method called its entry point | ||
is similar to an applet | ||
is run by using a Java interpreter to load the application's main class file - this is normally done from the command-line prompt using the java tool from the SDK | ||
may have command line arguments | ||
to run you type java and the class file name (without its extension) on the command line | ||
Java program | can be compiled on any platform that has a Java compiler | |
can be run on any implementation of the Java Virtual Machine specification | ||
is portable because it is compiled into bytecode that can run on any computer with a Java Virtual Machine | ||
is usually slower than native code | ||
is executed by a Java Virtual Machine | ||
must be readable by humans | ||
runs on a Java platform | ||
should follow consistent guidelines that make the program easy to read | ||
to run you may need platform-specific instructions |
Next application: compiler Up: application Previous application: HTML Converter