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

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 

Kürzlich hochgeladen (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

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