SlideShare ist ein Scribd-Unternehmen logo
1 von 19
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

Weitere ähnliche Inhalte

Was ist angesagt?

Important features of java
Important features of javaImportant features of java
Important features of javaAL- AMIN
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programmingElizabeth Thomas
 
Introduction to Java Programming
Introduction to Java Programming Introduction to Java Programming
Introduction to Java Programming Saravanakumar R
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core javaAisha Siddiqui
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Languagejaimefrozr
 
Java presentation
Java presentationJava presentation
Java presentationsurajdmk
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA pptbrijesh kumar
 
Java Introduction
Java IntroductionJava Introduction
Java Introductionjaveed_mhd
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaShravan Sanidhya
 
Introduction to java
Introduction to java Introduction to java
Introduction to java Java Lover
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)Sujit Majety
 
Java Methods - An Introduction to Software Development
Java Methods - An Introduction to Software DevelopmentJava Methods - An Introduction to Software Development
Java Methods - An Introduction to Software DevelopmentRajKumar Radhamanalan
 

Was ist angesagt? (20)

Features of java
Features of javaFeatures of java
Features of java
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Introduction to Java Programming
Introduction to Java Programming Introduction to Java Programming
Introduction to Java Programming
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core java
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Core java course syllabus
Core java course syllabusCore java course syllabus
Core java course syllabus
 
core java
core javacore java
core java
 
Java presentation
Java presentationJava presentation
Java presentation
 
Learn Java Part 1
Learn Java Part 1Learn Java Part 1
Learn Java Part 1
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA ppt
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan Sanidhya
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Java features
Java featuresJava features
Java features
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 
Java seminar
Java seminarJava seminar
Java seminar
 
Java Methods - An Introduction to Software Development
Java Methods - An Introduction to Software DevelopmentJava Methods - An Introduction to Software Development
Java Methods - An Introduction to Software Development
 
Java
JavaJava
Java
 

Andere mochten auch

Griffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyGriffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyJames Williams
 
Android - 04 - Internship project introduction
Android - 04 - Internship project introductionAndroid - 04 - Internship project introduction
Android - 04 - Internship project introductionNoveo
 
Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technologysshhzap
 
Java 7 - State of the Enterprise
Java 7 - State of the EnterpriseJava 7 - State of the Enterprise
Java 7 - State of the EnterpriseMarkus Eisele
 
Whitep paper on Emerging java and .net technology and critical trends
Whitep paper on Emerging java and .net technology and critical trendsWhitep paper on Emerging java and .net technology and critical trends
Whitep paper on Emerging java and .net technology and critical trendsRakesh Jha
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introductionjyoti_lakhani
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java ProgrammingPokequesthero
 
Presentation On Android OS
Presentation On Android OSPresentation On Android OS
Presentation On Android OSAkshay Kakkar
 
What is Android OS in ppt ?
What is Android OS in ppt ? What is Android OS in ppt ?
What is Android OS in ppt ? SoonTips.com
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS Presentationhession25819
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my collegeSneha Lata
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentationconnectshilpa
 

Andere mochten auch (20)

An introduction to java programming language forbeginners(java programming tu...
An introduction to java programming language forbeginners(java programming tu...An introduction to java programming language forbeginners(java programming tu...
An introduction to java programming language forbeginners(java programming tu...
 
Griffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyGriffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java Technology
 
Ozis Pre
Ozis PreOzis Pre
Ozis Pre
 
Android - 04 - Internship project introduction
Android - 04 - Internship project introductionAndroid - 04 - Internship project introduction
Android - 04 - Internship project introduction
 
Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technology
 
Java 7 - State of the Enterprise
Java 7 - State of the EnterpriseJava 7 - State of the Enterprise
Java 7 - State of the Enterprise
 
Introduction to java technology
Introduction to java technologyIntroduction to java technology
Introduction to java technology
 
Whitep paper on Emerging java and .net technology and critical trends
Whitep paper on Emerging java and .net technology and critical trendsWhitep paper on Emerging java and .net technology and critical trends
Whitep paper on Emerging java and .net technology and critical trends
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Java Technology Trends
Java Technology TrendsJava Technology Trends
Java Technology Trends
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Presentation On Android OS
Presentation On Android OSPresentation On Android OS
Presentation On Android OS
 
What is Android OS in ppt ?
What is Android OS in ppt ? What is Android OS in ppt ?
What is Android OS in ppt ?
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS Presentation
 
Java basic
Java basicJava basic
Java basic
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my college
 
Core java slides
Core java slidesCore java slides
Core java slides
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
 
Android ppt
Android pptAndroid ppt
Android ppt
 

Ähnlich wie 1 introduction to java technology

Ähnlich wie 1 introduction to java technology (20)

TechSearchWeb.pdf
TechSearchWeb.pdfTechSearchWeb.pdf
TechSearchWeb.pdf
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
 
java basics.pptx
java basics.pptxjava basics.pptx
java basics.pptx
 
Learning java from scratch
Learning java from scratchLearning java from scratch
Learning java from scratch
 
TechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdfTechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdf
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVA
 
01. Introduction to programming with java
01. Introduction to programming with java01. Introduction to programming with java
01. Introduction to programming with java
 
javacourse in c.pdf
javacourse in c.pdfjavacourse in c.pdf
javacourse in c.pdf
 
javacourse in c.pdf
javacourse in c.pdfjavacourse in c.pdf
javacourse in c.pdf
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
 
1 .java basic
1 .java basic1 .java basic
1 .java basic
 
Core Java-1 (1).pdf
Core Java-1 (1).pdfCore Java-1 (1).pdf
Core Java-1 (1).pdf
 
CORE JAVA
CORE JAVACORE JAVA
CORE JAVA
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
 
Curso de Programación Java Intermedio
Curso de Programación Java IntermedioCurso de Programación Java Intermedio
Curso de Programación Java Intermedio
 
Presentation on Java Basic
Presentation on Java BasicPresentation on Java Basic
Presentation on Java Basic
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
 
1 introduction
1 introduction1 introduction
1 introduction
 
Java - At a glance
Java - At a glanceJava - At a glance
Java - At a glance
 

Kürzlich hochgeladen

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Kürzlich hochgeladen (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

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

Hinweis der Redaktion

  1. 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
  2. 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.
  3. 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