CCL Home Page
Up Directory CCL t015.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 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: Tue Feb 12 20:35:26 2002 GMT
Page accessed 2485 times since Tue Feb 4 16:11:30 2003 GMT