Monday, July 22, 2013

Welcome

Welcome to ITECH 2100 - Programming 2 in Java

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand"

Why Java?

  • Java Is Simple 
  • Java Is Object-Oriented 
  • Java Is Distributed 
  • Java Is Interpreted 
  • Java Is Robust 
  • Java Is Secure 
  • Java Is Architecture-Neutral 
  • Java Is Portable 
  • Java's Performance 
  • Java Is Multi-threaded 
  • Java Is Dynamic 

Terminologies


  • SDK: Software Development Kit = JDK + more
    • The JDK is a subset of what is loosely defined as a software development kit (SDK) in the general sense. In the descriptions which accompany their recent releases for Java SE, EE, and ME, Sun acknowledge that under their terminology, the JDK forms the subset of the SDK which is responsible for the writing and running of Java programs. The remainder of the SDK is composed of extra software, such as Application Servers, Debuggers, and Documentation.
  • JDK: Java Development Kit = JRE + Compiler and Debugger (javac)
  • IDE: Integrated Development Environments, software application that provides comprehensive facilities to computer programmers for software development (Netbeans, Eclipse)
  • JRE: Java Runtime Environmen, for deploying Java applications (i.e. converting source code to byte code ) (java <class file>)
    • JRE = JVM + Java platform core classes  + supporting Java platform libraries (AWT, SWING)
  • JVM: Java Virtual Machine, loading the appropriate class files for executing a Java Program, and then to execute it.
  • JAR: Java ARchive, similar to .ZIP file, containing the class, image, and sound files for a Java application or applet gathered into a single file and possibly compressed.

Software


JDK Editions
  • Java SE – Standard Edition: client-side standalone applications and applets
  • Java EE – Enterprise Edition: server-side applications such as Java servlets, Java ServerPages
  • Java ME – Micro Edition: Mobile devices


Recommended sites