2 Compulsory Reading Material Java; How to Program (9th Edition) byPaul Deitel & Harvey Deitel
3 Characteristics Of Java Java Is SimpleJava Is Object-OrientedJava Is DistributedJava Is InterpretedJava Is RobustJava Is SecureJava Is Architecture-NeutralJava is Portable / Platform IndependentJava's PerformanceJava Is MultithreadedJava Is Dynamic
4 JDK Versions JDK 1.02 (1995) JDK 1.1 (1996) JDK 1.2 (1998) A Java Development Kit (JDK) is a program development environment for writing Java applets and applications.JDK 1.02 (1995)JDK 1.1 (1996)JDK 1.2 (1998)JDK 1.3 (2000)JDK 1.4 (2002)JDK 1.5 (2004) a. k. a. JDK 5 or Java 5JDK 1.6 (2006) a. k. a. JDK 6 or Java 6JDK 1.7 (possibly 2010) a. k. a. JDK 7 or Java 7
5 JDK Editions Java Standard Edition (J2SE) J2SE can be used to develop client-side standalone applications or applets.Java Enterprise Edition (J2EE)J2EE can be used to develop server-side applications such as Java servlets and Java ServerPages.Java Micro Edition (J2ME).J2ME can be used to develop applications for mobile devices such as cell phones.
6 Which Java?Java 6+ JDK (Java Development Kit), Standard Edition includes:JDK (Java development kit) – for developing Java software (creating Java programs.JRE (Java Runtime environment) – only good for running pre-created Java programs.Java Plug-in – a special version of the JRE designed to run through web browsers.A plug-in is a software component that adds a specific feature to an existing software application.Most latest JDK and its documentation can be downloaded from:
7 Popular Java IDEs NetBeans; Open Source by Sun Eclipse; Open Source by IBMBorland JbuilderBlueJJcreatorIntelliJ IDEADr. Java
9 A High Level View Of Translating/Executing Java Programs Traditional Compiled ProgramJava ProgramThe Java development environment has two parts: a Java compiler and a Java interpreter.The Java compiler takes your Java program and instead of generating machine codes from your source files, it generates bytecodes.To run a Java program, you run a program called a bytecode interpreter, which in turn executes your Java program
10 A High Level View Of Translating/Executing Java Programs Stage 1: CompilationJava programFilename.javaJava compiler (javac)Java bytecode (generic binary)Filename.classBytecodes are a set of instructions that looks a lot like some machine codes, but that is notspecific to any one processor.
11 A High Level View Of Translating/Executing Java Programs Stage 2: Interpreting and executing the byte codeMachine language instruction (UNIX)Machine language instruction (Windows)Machine language instruction (Apple)Java bytecode (generic binary)Filename.classJava interpreter (java)
12 Assignment # 1Find out the Difference b/w Java & other programming languages.What is the connection between ORACLE and Java?