SlideShare a Scribd company logo
Introduction to
        Java Technology


Information   FEU – EAST ASIA COLLEGE
Technology
Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        Java language, originally called the ‘Oak’, was
        originally developed by James Gosling at Sun
        Microsystems, which is now a subsidiary of Oracle
        Corporation, and released in 1995 as a core
        component of Sun Microsystems' Java platform.

        It has derived much of its syntax from C and C++ but
        has a simpler object model and fewer low-level
        facilities.


  Information     FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA


  http://en.wikipedia.org/wiki/James_Gosling


  About James Gosling




  Information   FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        Java is a general-purpose, concurrent, class-based,
        object-oriented language that is specifically designed
        to have as few implementation dependencies as
        possible.

        The Java source code files (files with .java extension)
        are compiled into a format called bytecode (files
        with .class extension), which can be executed by a
        Java interpreter.


  Information      FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        It was intended for use in Sun’s project research to
        work on a programming software to control electronic
        devices.

        It was modified to take advantage of the World Wide
        Web. The WebRunner, later named as HotJava, was
        the very first web browser created in Java.

        In 1995, the Netscape Navigator internet browser was
        also developed to support Java.

  Information     FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA
        Features of Java:

        3.Simple, Object-oriented, and Familiar

        5.Robust and Secure

        7.Architecture Neutral and Portable

        9.High Performance

        11.Interpreted, Threaded, and Dynamic

  Information     FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


 HISTORY AND BACKGROUND OF JAVA

            Java Program
class HelloWorld{                                                           Compiler
   public static void main(String args[ ]){
      System.out.println(“Hello World”);
   }
}                                                           Interpreter                     Interpreter

            HelloWorld.java
                                                                              Interpreter
                                                                                               Hello World
                                              Hello World




                                                                           Hello World


                                               Win32                                                 MacOS

                                                                          Solaris

       Information                FEU – EAST ASIA COLLEGE
       Technology
       Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA
    myProgram.java
 _________________                Interpreter
 _____________
 _______________

                                                     My
                                                   Program
                             myProgram.class
         Compiler         _________________
                          _____________
                          _______________


  The Java source code (.java file) is normally compiled to
   produce the bytecode file (.class file) which is normally
       interpreted by the Java virtual machine (JVM)
  Information        FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        Java Editions:

         J2SE
                 Java 2 Standard Edition
         J2EE
                 Java 2 Enterprise Edition
         J2ME
                 Java 2 Micro Edition




  Information    FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA
     The Java Virtual Machine (JVM)

   Java is a portable language that could run on any
  platform. The language was able to do this by generating
  intermediate code for a hypothetical computer called a
  virtual machine.

  The Java Virtual Machine (JVM) is a program that
  runs on all computers. The JVM creates a software
  simulation of a CPU and memory and handles all
  communication between the Java program and the
  underlying operating system and hardware.
  Information   FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA
     The JVM and Application Architecture




            Source Code          “javac”          Byte Code

  Information       FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA
     The JVM and Application Architecture




         Byte Code      Java Virtual Machine       Machine Code


  Information        FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA
     How JVM Works



                                 JVM for         Windows OS
                                 Windows


      Byte code
     .class File
  (Java Application)

 “Write once, run                JVM for             Linux OS
 anywhere technology.”            Linux

  Information          FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        The J2SDK (JDK)
        Java 2 Software Development Kit contains

         java – the loader for Java applications

         javac – the compiler

         javadoc – the documentation generator

         other tools

  Information      FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        Steps in Creating a Java Application


        3.Create the source code.
        4.Compile the source code.
        5.Run the program.




  Information     FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        Steps 1 : Creating the Source Code

                Create the source code using any text editor.

                Save the file with a “.java” extension.
                      Example: HelloJava.java




  Information          FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming

HISTORY AND BACKGROUND OF JAVA
   Steps 2 : Compiling the Source Code

         Compile the source code to create the bytecode
         using javac tool from the J2SDK.

         Open an MS-DOS console, browse for the directory
         where you saved the source code.

         Type the command javac HelloJava.java and
         press ENTER.

         Verify that the HelloJava.class has been created
  Information     FEU – EAST ASIA COLLEGE
  Technology
  Department
Object-Oriented Programming


HISTORY AND BACKGROUND OF JAVA

        Steps 3 : Running the Program

                To execute the program, type the command: java
                HelloJava and press ENTER.




  Information         FEU – EAST ASIA COLLEGE
  Technology
  Department
Questions and Comments




Information   FEU – EAST ASIA COLLEGE
Technology
Department

More Related Content

What's hot (20)

PPTX
Features of java
Hitesh Kumar
 
PPTX
Important features of java
AL- AMIN
 
PPTX
Basics of JAVA programming
Elizabeth Thomas
 
PPTX
Introduction to Java Programming
Saravanakumar R
 
PDF
Introduction to Java
Professional Guru
 
PDF
A seminar report on core java
Aisha Siddiqui
 
PDF
Introduction to Java Programming Language
jaimefrozr
 
PDF
Core java course syllabus
Papitha Velumani
 
PPTX
core java
Roushan Sinha
 
PPTX
Java presentation
surajdmk
 
PDF
Learn Java Part 1
Gurpreet singh
 
PPTX
computer science JAVA ppt
brijesh kumar
 
PPTX
Java Introduction
javeed_mhd
 
PPTX
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
PPTX
Introduction to java
Java Lover
 
PPT
Java features
myrajendra
 
PDF
Introduction to java (revised)
Sujit Majety
 
PPTX
Java seminar
devendrakhairwa
 
PPT
Java Methods - An Introduction to Software Development
RajKumar Radhamanalan
 
Features of java
Hitesh Kumar
 
Important features of java
AL- AMIN
 
Basics of JAVA programming
Elizabeth Thomas
 
Introduction to Java Programming
Saravanakumar R
 
Introduction to Java
Professional Guru
 
A seminar report on core java
Aisha Siddiqui
 
Introduction to Java Programming Language
jaimefrozr
 
Core java course syllabus
Papitha Velumani
 
core java
Roushan Sinha
 
Java presentation
surajdmk
 
Learn Java Part 1
Gurpreet singh
 
computer science JAVA ppt
brijesh kumar
 
Java Introduction
javeed_mhd
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
Introduction to java
Java Lover
 
Java features
myrajendra
 
Introduction to java (revised)
Sujit Majety
 
Java seminar
devendrakhairwa
 
Java Methods - An Introduction to Software Development
RajKumar Radhamanalan
 

Viewers also liked (20)

PPT
An introduction to java programming language forbeginners(java programming tu...
Daroko blog(www.professionalbloggertricks.com)
 
ODP
Griffon: Re-imaging Desktop Java Technology
James Williams
 
PDF
Ozis Pre
ozis_studio
 
PDF
Android - 04 - Internship project introduction
Noveo
 
PPT
Chapter 1 introduction to java technology
sshhzap
 
PDF
Java 7 - State of the Enterprise
Markus Eisele
 
PDF
Introduction to java technology
Indika Munaweera Kankanamge
 
PDF
Whitep paper on Emerging java and .net technology and critical trends
Rakesh Jha
 
PPTX
1 java programming- introduction
jyoti_lakhani
 
PPTX
Introduction to Java Programming
Pokequesthero
 
PDF
Java Technology Trends
Software Park Thailand
 
PPT
Introduction to-programming
BG Java EE Course
 
PPTX
Presentation On Android OS
Akshay Kakkar
 
PPTX
What is Android OS in ppt ?
SoonTips.com
 
PPTX
Android OS Presentation
hession25819
 
PPT
Java basic
Sonam Sharma
 
PPTX
My presentation on Android in my college
Sneha Lata
 
PPT
Core java slides
Abhilash Nair
 
PPT
Android seminar-presentation
connectshilpa
 
PPTX
Android ppt
srikanth982
 
An introduction to java programming language forbeginners(java programming tu...
Daroko blog(www.professionalbloggertricks.com)
 
Griffon: Re-imaging Desktop Java Technology
James Williams
 
Ozis Pre
ozis_studio
 
Android - 04 - Internship project introduction
Noveo
 
Chapter 1 introduction to java technology
sshhzap
 
Java 7 - State of the Enterprise
Markus Eisele
 
Introduction to java technology
Indika Munaweera Kankanamge
 
Whitep paper on Emerging java and .net technology and critical trends
Rakesh Jha
 
1 java programming- introduction
jyoti_lakhani
 
Introduction to Java Programming
Pokequesthero
 
Java Technology Trends
Software Park Thailand
 
Introduction to-programming
BG Java EE Course
 
Presentation On Android OS
Akshay Kakkar
 
What is Android OS in ppt ?
SoonTips.com
 
Android OS Presentation
hession25819
 
Java basic
Sonam Sharma
 
My presentation on Android in my college
Sneha Lata
 
Core java slides
Abhilash Nair
 
Android seminar-presentation
connectshilpa
 
Android ppt
srikanth982
 
Ad

Similar to 1 introduction to java technology (20)

PDF
TechSearchWeb.pdf
TechSearchWeb
 
PDF
Technology Tutorial.pdf
TechSearchWeb
 
PPTX
java basics.pptx
mlakshumaiah
 
PPTX
Learning java from scratch
ActonRoy
 
PPTX
1_Introduction to Java.pptx java programming
amitraj53904
 
PDF
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
PPT
Object Oriented Programming-JAVA
Home
 
PPTX
01. Introduction to programming with java
Intro C# Book
 
PDF
javacourse in c.pdf
snehawork
 
PDF
javacourse in c.pdf
snehawork
 
PPTX
JAVA ALL 5 MODULE NOTES.pptx
DrPreethiD1
 
PPTX
1 .java basic
Indu Sharma Bhardwaj
 
PDF
Core Java-1 (1).pdf
HaskellKohler1234
 
PDF
Java Introduction | PDF
Geekster
 
PPTX
Java ms harsha
Harsha Batra
 
PDF
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
PDF
Curso de Programación Java Intermedio
Universidad de Occidente
 
PPTX
Presentation on Java Basic
Rustamji Institute of Technology
 
PPTX
Java Lecture 1
Qualys
 
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
TechSearchWeb
 
java basics.pptx
mlakshumaiah
 
Learning java from scratch
ActonRoy
 
1_Introduction to Java.pptx java programming
amitraj53904
 
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
Object Oriented Programming-JAVA
Home
 
01. Introduction to programming with java
Intro C# Book
 
javacourse in c.pdf
snehawork
 
javacourse in c.pdf
snehawork
 
JAVA ALL 5 MODULE NOTES.pptx
DrPreethiD1
 
1 .java basic
Indu Sharma Bhardwaj
 
Core Java-1 (1).pdf
HaskellKohler1234
 
Java Introduction | PDF
Geekster
 
Java ms harsha
Harsha Batra
 
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
Curso de Programación Java Intermedio
Universidad de Occidente
 
Presentation on Java Basic
Rustamji Institute of Technology
 
Java Lecture 1
Qualys
 
Ad

Recently uploaded (20)

PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 

1 introduction to java technology

  • 1. Introduction to Java Technology Information FEU – EAST ASIA COLLEGE Technology Department
  • 2. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Java language, originally called the ‘Oak’, was originally developed by James Gosling at Sun Microsystems, which is now a subsidiary of Oracle Corporation, and released in 1995 as a core component of Sun Microsystems' Java platform. It has derived much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Information FEU – EAST ASIA COLLEGE Technology Department
  • 3. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA http://en.wikipedia.org/wiki/James_Gosling About James Gosling Information FEU – EAST ASIA COLLEGE Technology Department
  • 4. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible. The Java source code files (files with .java extension) are compiled into a format called bytecode (files with .class extension), which can be executed by a Java interpreter. Information FEU – EAST ASIA COLLEGE Technology Department
  • 5. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA It was intended for use in Sun’s project research to work on a programming software to control electronic devices. It was modified to take advantage of the World Wide Web. The WebRunner, later named as HotJava, was the very first web browser created in Java. In 1995, the Netscape Navigator internet browser was also developed to support Java. Information FEU – EAST ASIA COLLEGE Technology Department
  • 6. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Features of Java: 3.Simple, Object-oriented, and Familiar 5.Robust and Secure 7.Architecture Neutral and Portable 9.High Performance 11.Interpreted, Threaded, and Dynamic Information FEU – EAST ASIA COLLEGE Technology Department
  • 7. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Java Program class HelloWorld{ Compiler public static void main(String args[ ]){ System.out.println(“Hello World”); } } Interpreter Interpreter HelloWorld.java Interpreter Hello World Hello World Hello World Win32 MacOS Solaris Information FEU – EAST ASIA COLLEGE Technology Department
  • 8. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA myProgram.java _________________ Interpreter _____________ _______________ My Program myProgram.class Compiler _________________ _____________ _______________ The Java source code (.java file) is normally compiled to produce the bytecode file (.class file) which is normally interpreted by the Java virtual machine (JVM) Information FEU – EAST ASIA COLLEGE Technology Department
  • 9. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Java Editions:  J2SE Java 2 Standard Edition  J2EE Java 2 Enterprise Edition  J2ME Java 2 Micro Edition Information FEU – EAST ASIA COLLEGE Technology Department
  • 10. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA The Java Virtual Machine (JVM)  Java is a portable language that could run on any platform. The language was able to do this by generating intermediate code for a hypothetical computer called a virtual machine. The Java Virtual Machine (JVM) is a program that runs on all computers. The JVM creates a software simulation of a CPU and memory and handles all communication between the Java program and the underlying operating system and hardware. Information FEU – EAST ASIA COLLEGE Technology Department
  • 11. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA The JVM and Application Architecture Source Code “javac” Byte Code Information FEU – EAST ASIA COLLEGE Technology Department
  • 12. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA The JVM and Application Architecture Byte Code Java Virtual Machine Machine Code Information FEU – EAST ASIA COLLEGE Technology Department
  • 13. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA How JVM Works JVM for Windows OS Windows Byte code .class File (Java Application) “Write once, run JVM for Linux OS anywhere technology.” Linux Information FEU – EAST ASIA COLLEGE Technology Department
  • 14. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA The J2SDK (JDK) Java 2 Software Development Kit contains  java – the loader for Java applications  javac – the compiler  javadoc – the documentation generator  other tools Information FEU – EAST ASIA COLLEGE Technology Department
  • 15. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Steps in Creating a Java Application 3.Create the source code. 4.Compile the source code. 5.Run the program. Information FEU – EAST ASIA COLLEGE Technology Department
  • 16. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Steps 1 : Creating the Source Code Create the source code using any text editor. Save the file with a “.java” extension. Example: HelloJava.java Information FEU – EAST ASIA COLLEGE Technology Department
  • 17. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Steps 2 : Compiling the Source Code Compile the source code to create the bytecode using javac tool from the J2SDK. Open an MS-DOS console, browse for the directory where you saved the source code. Type the command javac HelloJava.java and press ENTER. Verify that the HelloJava.class has been created Information FEU – EAST ASIA COLLEGE Technology Department
  • 18. Object-Oriented Programming HISTORY AND BACKGROUND OF JAVA Steps 3 : Running the Program To execute the program, type the command: java HelloJava and press ENTER. Information FEU – EAST ASIA COLLEGE Technology Department
  • 19. Questions and Comments Information FEU – EAST ASIA COLLEGE Technology Department

Editor's Notes

  • #7: Simple, Object-oriented, and Familiar Java can be programmed without extensive programmer training while being attuned to current software practices. The needs of distributed, client-server based systems coincide with the encapsulated, message-passing paradigms of object-based software. It looks like C++ as far as possible results in it being a familiar language, while removing the unnecessary complexities of C++. Robust and Secure It provides extensive compile-time checking, followed by a second level of run-time checking Java technology is designed to operate in distributed environments, which means that security is of paramount importance 3. Also mention fetures like garbage collection
  • #8: Architecture Neutral and Portable Java technology is designed to support applications that will be deployed into heterogeneous network environments. To accommodate the diversity of operating environments, the Java compiler product generates bytecode – an architecture neutral intermediate format designed to transport code efficiently to multiple hardware and software platforms. The interpreted nature of Java technology solves both the binary distribution problem and the version problem; the same Java programming bytecodes will run on any platform. High Perforrnance The automatic garbage collector runs as a low priority background thread, ensuring a high probability that memory is available when required, leading to better performance. Interpreted, Threaded, and Dynamic The Java interpreter can execute the bytecodes directly on any machine to which the interpreter and run-time system have been ported. Java technology’s multi-threading capability provides the means to build applications with many concurrent threads of activity. Multi-threading thus results in a high degree of interactivity with end users. While Java compiler is strict in its compile-time static checking, the language and run-time system are dynamic in their linking stages.
  • #9: Simple, Object-oriented, and Familiar Java can be programmed without extensive programmer training while being attuned to current software practices. The needs of distributed, client-server based systems coincide with the encapsulated, message-passing paradigms of object-based software. It looks like C++ as far as possible results in it being a familiar language, while removing the unnecessary complexities of C++. Robust and Secure It provides extensive compile-time checking, followed by a second level of run-time checking Java technology is designed to operate in distributed environments, which means that security is of paramount importance