CCL Home Page
Up Directory CCL t016.html

Jan K. Labanowski: "Tomcat, servlets, JSPs and other friends"


Object oriented language (i.e., classes which contain data and methods) similar to C++. However, some dangerous C++ constructs are removed (pointers, memory allocation/deallocation, multiple inheritance, operator overloading).

Java is platform independent (write once, run anywhere [where Java runs]).

  • Compile Java source code to a bytecode:
    which will produce a class file MyJavaThing.class with bytecode. Bytecode can be executed on any Java supported platform. Compiler javac is available free from Sun Microsystems Web site: as a part of J2SDK (Java 2 Software development Kit).
  • Execute the bytecode with the Java Virtual Machine (JVM) as:
    java MyJavaThing
    JVM (java) comes as a part of Java Runtime Environment (JRE). If your class was an applet or a servelet, you need to execute it with another tool (browser, or applet viewer, in case of applet, and the servlet container, in case of servlets).

Modified: Wed Feb 13 20:35:32 2002 GMT
Page accessed 3195 times since Mon Feb 3 15:33:35 2003 GMT