SlideShare a Scribd company logo
1 of 18
JAVA (Part 2) UNIT 1
BY:SURBHI SAROHA
SYLLABUS
• Differentiate between jdk 1.0,jdk 1.1,jdk 1.2,J2SE,J2EE,J2ME and J2SE
v 1.3.
• Overview of main improvements and additions in each version.
• Information about deprecated classes and methods till the java 2
platform.
• Support or refute the statement:”Since jdk 1.1,there have not been
many enhancements in the java language specification,but there
improvements have take place in the Java API’s.
• Differences between:
• Java Language and Java Platform.
JDK 1.0 (January 23, 1996)
• It was the first stable released version of Java.
• Its codename was Oak.
• The first stable version of JDK was JDK 1.0.2 and it was called
Java 1.
• Up to JDK 1.0.1, private and protected keywords could be used
together to create yet another form of protection which used to
act as a restriction to methods or variables mainly to subclasses of
a given class.
• In JDK 1.0.2, this capability has been removed.
JDK 1.1 (February 19, 1997)
• Some additions were included to this version. i.e.
• The concept of Inner Class
• JavaBeans
• JDBC
• RMI
• AWT event model was totally reshaped.
• Reflection(which supported Introspection only, modification was not possible at
runtime).
• JIT(Just In Time) compiler on Microsoft Windows platforms, produced for
JavaSoft by Symantec
• Internationalization and Unicode support originating from Taligent.
J2SE 1.2 (December 8, 1998)
• Its codename was Playground. First time, it was called J2SE (Java 2 Platform,
Standard Edition) .It replaced JDK to recognize the base platform from J2EE
(Java 2 Platform, Enterprise Edition) and J2ME(Java 2 Platform, Micro
Edition) .It was a very important java release as it tripled the size of the Java
platform to 1520 classes in 59 packages.
• Some additions were included to this version. i.e.
• Java plug-in
• Java IDL, an IDL implementation for CORBA interoperability
• Collections framework
• the Swing graphical API was integrated into the core classes
• Sun's JVM was equipped with a JIT compiler for the first time
J2SE 1.3 (May 8, 2000)
• Its codename was Kestrel. Some additions were included to this
version. i.e.
• HotSpot JVM included.
• RMI was modified to support optional compatibility with CORBA.
• JNDI (Java Naming and Directory Interface).
• Java Platform Debugger Architecture (JPDA) included.
• JavaSound.
• Synthetic proxy classes.
J2SE 1.4 (February 6, 2002)
• Its codename was Merlin. It was the first Java platform which was released under the Java
Community Process.
• Some additions were included to this version. i.e.
• Improved libraries.
• Perl regular expressions included.
• Provided exception chaining (It allows an exception to encapsulate original lower-level
exception).
• IPv6 support (Internet Protocol version 6).
• Logging API (Specified in JSR 47.)
• Image I/O API for reading and writing images in formats like JPEG and PNG.
• XML parser and XSLT processor integrated.
• Security and cryptography extensions (JCE, JSSE, JAAS) integrated.
J2EE(Java Platform, Enterprise Edition):
• The Enterprise edition of Java has a superior usage of Java, like a growth
of web services, networking, server-side scripting and further a variety
of web-based applications.
• It is a community-driven edition, i.e. there are many of nonstop
offerings from industry experts, Java developers, and other open source
organizations.
• It uses Website designing tools like HTML, CSS, JavaScript, Ajax, Jquery
etc, so as to build web pages and web services.
• There are also countless languages like .net and PHP, which can perform
that task, however, what distinguishes it from other languages is the
flexibility, compatibility and protection features, which are not that
much major in other languages.
J2ME(Java Platform, Micro Edition)
• This used for the applications running on small devices, mobiles,
and embedded systems.
• Limitations included partial processing power, battery drawback,
small display etc.
• J2ME uses many libraries and API’s of J2SE, with, several of its
own.
• The basic aim of this edition was to work on wireless devices,
mobiles etc.
• Operating systems targeting Java ME have been implemented by
DoCoMo in the form of DoJa, and by SavaJe as SavaJe OS.
Information about deprecated classes and
methods till the java 2 platform
• The Java language has undergone several changes since JDK 1.0 as
well as numerous additions of classes and packages to the
standard library.
• Since J2SE 1.4, the evolution of the Java language has been
governed by the Java Community Process (JCP), which uses Java
Specification Requests (JSRs) to propose and specify additions and
changes to the Java platform.
• The language is specified by the Java Language
Specification (JLS); changes to the JLS are managed
under JSR 901.
Cont…
• In addition to the language changes, other changes have been
made to the Java Class Library over the years, which has grown
from a few hundred classes in JDK 1.0 to over three thousand in
J2SE 5.
• Entire new APIs, such as Swing and Java2D, have been
introduced, and many of the original JDK 1.0 classes and methods
have been deprecated.
• Some programs allow conversion of Java programs from one
version of the Java platform to an older one (for example Java 5.0
backported to 1.4)
Support or refute the statement:”Since jdk 1.1,there have not been many
enhancements in the java language specification,but there
improvements have take place in the Java API’s.
• Since Java 8 a number of useful new language features have been introduced, along with new
tooling, and performance improvements particularly for garbage collection.
• When choosing to upgrade the choice you face is whether to upgrade to the latest version of
Java (12) and be prepared to upgrade every six months; or upgrade to the latest LTS (11) to
give yourself up to three years to think about your next upgrade.
• Don’t be tempted to ignore compiler warnings. Deprecation is being taken much more
seriously in this modern Java world, and both Java 10 and Java 11 removed APIs.
• One of the changes from Java 9 was that internal APIs (largely those classes in packages that
started with sun.misc.*) were hidden from use. APIs that are not core to the JDK have also
been removed in Java 11. These changes may impact your application but there is a clear path
to avoid these problems.
• Once "over the hump" of this first upgrade, it's worth at least testing the application on the
latest version of Java every 6 months.
Java Language and Java Platform
• Java is a popular programming language, created in 1995.
• It is owned by Oracle, and more than 3 billion devices run Java.
• It is used for:
• Mobile applications (specially Android apps)
• Desktop applications
• Web applications
• Web servers and application servers
• Games
• Database connection
Cont….
• Java works on different platforms (Windows, Mac, Linux, Raspberry Pi,
etc.)
• It is one of the most popular programming language in the world
• It is easy to learn and simple to use
• It is open-source and free
• It is secure, fast and powerful
• It has a huge community support (tens of millions of developers)
• Java is an object oriented language which gives a clear structure to
programs and allows code to be reused, lowering development costs
• As Java is close to C++ and C#, it makes it easy for programmers to
switch to Java or vice versa
The Java Programming Language Platforms
• There are four platforms of the Java programming language:
• Java Platform, Standard Edition (Java SE)
• Java Platform, Enterprise Edition (Java EE)
• Java Platform, Micro Edition (Java ME)
• Java FX
• All Java platforms consist of a Java Virtual Machine (VM) and an application
programming interface (API). The Java Virtual Machine is a program, for a particular
hardware and software platform, that runs Java technology applications. An API is a
collection of software components that you can use to create other software
components or applications. Each Java platform provides a virtual machine and an
API, and this allows applications written for that platform to run on any compatible
system with all the advantages of the Java programming language: platform-
independence, power, stability, ease-of-development, and security.
Cont…
• Java SE
• When most people think of the Java programming language, they think of the
Java SE API. Java SE's API provides the core functionality of the Java
programming language. It defines everything from the basic types and objects
of the Java programming language to high-level classes that are used for
networking, security, database access, graphical user interface (GUI)
development, and XML parsing.
• In addition to the core API, the Java SE platform consists of a virtual machine,
development tools, deployment technologies, and other class libraries and
toolkits commonly used in Java technology applications.
• Java EE
• The Java EE platform is built on top of the Java SE platform. The Java EE
platform provides an API and runtime environment for developing and running
large-scale, multi-tiered, scalable, reliable, and secure network applications.
Cont….
• Java ME
• The Java ME platform provides an API and a small-footprint virtual machine for
running Java programming language applications on small devices, like mobile
phones. The API is a subset of the Java SE API, along with special class libraries
useful for small device application development. Java ME applications are often
clients of Java EE platform services.
• Java FX
• Java FX technology is a platform for creating rich internet applications written
in Java FX ScriptTM. Java FX Script is a statically-typed declarative language that
is compiled to Java technology bytecode, which can then be run on a Java VM.
Applications written for the Java FX platform can include and link to Java
programming language classes, and may be clients of Java EE platform services.
THANK YOU 

More Related Content

What's hot

Java Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVMJava Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVMshamnasain
 
Introduction to java
Introduction to java Introduction to java
Introduction to java Sandeep Rawat
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaTop 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaEdureka!
 
Test Management & Automation with JIRA
Test Management & Automation with JIRATest Management & Automation with JIRA
Test Management & Automation with JIRAXpand IT
 
DDD e Microsservicos - do negócio à arquitetura
DDD e Microsservicos - do negócio à arquiteturaDDD e Microsservicos - do negócio à arquitetura
DDD e Microsservicos - do negócio à arquiteturaGraziella Bonizi
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machineNikhil Sharma
 
Java Development Kit (jdk)
Java Development Kit (jdk)Java Development Kit (jdk)
Java Development Kit (jdk)Jadavsejal
 
Test Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaTest Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaEdureka!
 
Jira as a Test Management Tool
Jira as a Test Management ToolJira as a Test Management Tool
Jira as a Test Management ToolXpand IT
 
Curso Java Avanzado 0 Conceptos Basicos
Curso Java Avanzado   0 Conceptos BasicosCurso Java Avanzado   0 Conceptos Basicos
Curso Java Avanzado 0 Conceptos BasicosEmilio Aviles Avila
 
Ppt of java and java script
Ppt of java and java scriptPpt of java and java script
Ppt of java and java scriptkonkumuttisravan
 
JAVA Platform Independence
JAVA Platform IndependenceJAVA Platform Independence
JAVA Platform IndependenceNycy Bud
 

What's hot (20)

Core java slides
Core java slidesCore java slides
Core java slides
 
XRAY for Jira
XRAY for JiraXRAY for Jira
XRAY for Jira
 
Java basic
Java basicJava basic
Java basic
 
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVMJava Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
 
Jdbc
JdbcJdbc
Jdbc
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaTop 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | Edureka
 
Test Management & Automation with JIRA
Test Management & Automation with JIRATest Management & Automation with JIRA
Test Management & Automation with JIRA
 
Java features
Java  features Java  features
Java features
 
Java persistence api 2.1
Java persistence api 2.1Java persistence api 2.1
Java persistence api 2.1
 
Testing Services
Testing ServicesTesting Services
Testing Services
 
DDD e Microsservicos - do negócio à arquitetura
DDD e Microsservicos - do negócio à arquiteturaDDD e Microsservicos - do negócio à arquitetura
DDD e Microsservicos - do negócio à arquitetura
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
 
Java Development Kit (jdk)
Java Development Kit (jdk)Java Development Kit (jdk)
Java Development Kit (jdk)
 
Test Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaTest Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | Edureka
 
Jira as a Test Management Tool
Jira as a Test Management ToolJira as a Test Management Tool
Jira as a Test Management Tool
 
Curso Java Avanzado 0 Conceptos Basicos
Curso Java Avanzado   0 Conceptos BasicosCurso Java Avanzado   0 Conceptos Basicos
Curso Java Avanzado 0 Conceptos Basicos
 
Ppt of java and java script
Ppt of java and java scriptPpt of java and java script
Ppt of java and java script
 
Jdbc Ppt
Jdbc PptJdbc Ppt
Jdbc Ppt
 
JAVA Platform Independence
JAVA Platform IndependenceJAVA Platform Independence
JAVA Platform Independence
 

Similar to Java Language and Platforms Overview

Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"
Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"
Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"GlobalLogic Ukraine
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...MCM COmpetitive Classes
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptRajeshSukte1
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptCDSukte
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxMurugesh33
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxMurugesh33
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxSuganthiDPSGRKCW
 
Vb.net basics 1(vb,net--3 year)
Vb.net basics 1(vb,net--3 year)Vb.net basics 1(vb,net--3 year)
Vb.net basics 1(vb,net--3 year)Ankit Gupta
 

Similar to Java Language and Platforms Overview (20)

java completed units.docx
java completed units.docxjava completed units.docx
java completed units.docx
 
java full 1.docx
java full 1.docxjava full 1.docx
java full 1.docx
 
java full.docx
java full.docxjava full.docx
java full.docx
 
java full 1 (Recovered).docx
java full 1 (Recovered).docxjava full 1 (Recovered).docx
java full 1 (Recovered).docx
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"
Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"
Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"
 
1.Intro--Why Java.pptx
1.Intro--Why Java.pptx1.Intro--Why Java.pptx
1.Intro--Why Java.pptx
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
 
Java Basics
Java BasicsJava Basics
Java Basics
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
Vb.net basics 1(vb,net--3 year)
Vb.net basics 1(vb,net--3 year)Vb.net basics 1(vb,net--3 year)
Vb.net basics 1(vb,net--3 year)
 

More from SURBHI SAROHA

Cloud Computing (Infrastructure as a Service)UNIT 2
Cloud Computing (Infrastructure as a Service)UNIT 2Cloud Computing (Infrastructure as a Service)UNIT 2
Cloud Computing (Infrastructure as a Service)UNIT 2SURBHI SAROHA
 
Management Information System(Unit 2).pptx
Management Information System(Unit 2).pptxManagement Information System(Unit 2).pptx
Management Information System(Unit 2).pptxSURBHI SAROHA
 
Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)SURBHI SAROHA
 
Management Information System(UNIT 1).pptx
Management Information System(UNIT 1).pptxManagement Information System(UNIT 1).pptx
Management Information System(UNIT 1).pptxSURBHI SAROHA
 
Introduction to Cloud Computing(UNIT 1).pptx
Introduction to Cloud Computing(UNIT 1).pptxIntroduction to Cloud Computing(UNIT 1).pptx
Introduction to Cloud Computing(UNIT 1).pptxSURBHI SAROHA
 
Keys in dbms(UNIT 2)
Keys in dbms(UNIT 2)Keys in dbms(UNIT 2)
Keys in dbms(UNIT 2)SURBHI SAROHA
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)SURBHI SAROHA
 
Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1SURBHI SAROHA
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)SURBHI SAROHA
 

More from SURBHI SAROHA (20)

Cloud Computing (Infrastructure as a Service)UNIT 2
Cloud Computing (Infrastructure as a Service)UNIT 2Cloud Computing (Infrastructure as a Service)UNIT 2
Cloud Computing (Infrastructure as a Service)UNIT 2
 
Management Information System(Unit 2).pptx
Management Information System(Unit 2).pptxManagement Information System(Unit 2).pptx
Management Information System(Unit 2).pptx
 
Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)
 
Management Information System(UNIT 1).pptx
Management Information System(UNIT 1).pptxManagement Information System(UNIT 1).pptx
Management Information System(UNIT 1).pptx
 
Introduction to Cloud Computing(UNIT 1).pptx
Introduction to Cloud Computing(UNIT 1).pptxIntroduction to Cloud Computing(UNIT 1).pptx
Introduction to Cloud Computing(UNIT 1).pptx
 
JAVA (UNIT 5)
JAVA (UNIT 5)JAVA (UNIT 5)
JAVA (UNIT 5)
 
DBMS (UNIT 5)
DBMS (UNIT 5)DBMS (UNIT 5)
DBMS (UNIT 5)
 
DBMS UNIT 4
DBMS UNIT 4DBMS UNIT 4
DBMS UNIT 4
 
JAVA(UNIT 4)
JAVA(UNIT 4)JAVA(UNIT 4)
JAVA(UNIT 4)
 
OOPs & C++(UNIT 5)
OOPs & C++(UNIT 5)OOPs & C++(UNIT 5)
OOPs & C++(UNIT 5)
 
OOPS & C++(UNIT 4)
OOPS & C++(UNIT 4)OOPS & C++(UNIT 4)
OOPS & C++(UNIT 4)
 
DBMS UNIT 3
DBMS UNIT 3DBMS UNIT 3
DBMS UNIT 3
 
JAVA (UNIT 3)
JAVA (UNIT 3)JAVA (UNIT 3)
JAVA (UNIT 3)
 
Keys in dbms(UNIT 2)
Keys in dbms(UNIT 2)Keys in dbms(UNIT 2)
Keys in dbms(UNIT 2)
 
DBMS (UNIT 2)
DBMS (UNIT 2)DBMS (UNIT 2)
DBMS (UNIT 2)
 
JAVA UNIT 2
JAVA UNIT 2JAVA UNIT 2
JAVA UNIT 2
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
 
Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1
 
Database Management System(UNIT 1)
Database Management System(UNIT 1)Database Management System(UNIT 1)
Database Management System(UNIT 1)
 
OOPs & C++ UNIT 3
OOPs & C++ UNIT 3OOPs & C++ UNIT 3
OOPs & C++ UNIT 3
 

Recently uploaded

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 

Recently uploaded (20)

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 

Java Language and Platforms Overview

  • 1. JAVA (Part 2) UNIT 1 BY:SURBHI SAROHA
  • 2. SYLLABUS • Differentiate between jdk 1.0,jdk 1.1,jdk 1.2,J2SE,J2EE,J2ME and J2SE v 1.3. • Overview of main improvements and additions in each version. • Information about deprecated classes and methods till the java 2 platform. • Support or refute the statement:”Since jdk 1.1,there have not been many enhancements in the java language specification,but there improvements have take place in the Java API’s. • Differences between: • Java Language and Java Platform.
  • 3. JDK 1.0 (January 23, 1996) • It was the first stable released version of Java. • Its codename was Oak. • The first stable version of JDK was JDK 1.0.2 and it was called Java 1. • Up to JDK 1.0.1, private and protected keywords could be used together to create yet another form of protection which used to act as a restriction to methods or variables mainly to subclasses of a given class. • In JDK 1.0.2, this capability has been removed.
  • 4. JDK 1.1 (February 19, 1997) • Some additions were included to this version. i.e. • The concept of Inner Class • JavaBeans • JDBC • RMI • AWT event model was totally reshaped. • Reflection(which supported Introspection only, modification was not possible at runtime). • JIT(Just In Time) compiler on Microsoft Windows platforms, produced for JavaSoft by Symantec • Internationalization and Unicode support originating from Taligent.
  • 5. J2SE 1.2 (December 8, 1998) • Its codename was Playground. First time, it was called J2SE (Java 2 Platform, Standard Edition) .It replaced JDK to recognize the base platform from J2EE (Java 2 Platform, Enterprise Edition) and J2ME(Java 2 Platform, Micro Edition) .It was a very important java release as it tripled the size of the Java platform to 1520 classes in 59 packages. • Some additions were included to this version. i.e. • Java plug-in • Java IDL, an IDL implementation for CORBA interoperability • Collections framework • the Swing graphical API was integrated into the core classes • Sun's JVM was equipped with a JIT compiler for the first time
  • 6. J2SE 1.3 (May 8, 2000) • Its codename was Kestrel. Some additions were included to this version. i.e. • HotSpot JVM included. • RMI was modified to support optional compatibility with CORBA. • JNDI (Java Naming and Directory Interface). • Java Platform Debugger Architecture (JPDA) included. • JavaSound. • Synthetic proxy classes.
  • 7. J2SE 1.4 (February 6, 2002) • Its codename was Merlin. It was the first Java platform which was released under the Java Community Process. • Some additions were included to this version. i.e. • Improved libraries. • Perl regular expressions included. • Provided exception chaining (It allows an exception to encapsulate original lower-level exception). • IPv6 support (Internet Protocol version 6). • Logging API (Specified in JSR 47.) • Image I/O API for reading and writing images in formats like JPEG and PNG. • XML parser and XSLT processor integrated. • Security and cryptography extensions (JCE, JSSE, JAAS) integrated.
  • 8. J2EE(Java Platform, Enterprise Edition): • The Enterprise edition of Java has a superior usage of Java, like a growth of web services, networking, server-side scripting and further a variety of web-based applications. • It is a community-driven edition, i.e. there are many of nonstop offerings from industry experts, Java developers, and other open source organizations. • It uses Website designing tools like HTML, CSS, JavaScript, Ajax, Jquery etc, so as to build web pages and web services. • There are also countless languages like .net and PHP, which can perform that task, however, what distinguishes it from other languages is the flexibility, compatibility and protection features, which are not that much major in other languages.
  • 9. J2ME(Java Platform, Micro Edition) • This used for the applications running on small devices, mobiles, and embedded systems. • Limitations included partial processing power, battery drawback, small display etc. • J2ME uses many libraries and API’s of J2SE, with, several of its own. • The basic aim of this edition was to work on wireless devices, mobiles etc. • Operating systems targeting Java ME have been implemented by DoCoMo in the form of DoJa, and by SavaJe as SavaJe OS.
  • 10. Information about deprecated classes and methods till the java 2 platform • The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. • Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community Process (JCP), which uses Java Specification Requests (JSRs) to propose and specify additions and changes to the Java platform. • The language is specified by the Java Language Specification (JLS); changes to the JLS are managed under JSR 901.
  • 11. Cont… • In addition to the language changes, other changes have been made to the Java Class Library over the years, which has grown from a few hundred classes in JDK 1.0 to over three thousand in J2SE 5. • Entire new APIs, such as Swing and Java2D, have been introduced, and many of the original JDK 1.0 classes and methods have been deprecated. • Some programs allow conversion of Java programs from one version of the Java platform to an older one (for example Java 5.0 backported to 1.4)
  • 12. Support or refute the statement:”Since jdk 1.1,there have not been many enhancements in the java language specification,but there improvements have take place in the Java API’s. • Since Java 8 a number of useful new language features have been introduced, along with new tooling, and performance improvements particularly for garbage collection. • When choosing to upgrade the choice you face is whether to upgrade to the latest version of Java (12) and be prepared to upgrade every six months; or upgrade to the latest LTS (11) to give yourself up to three years to think about your next upgrade. • Don’t be tempted to ignore compiler warnings. Deprecation is being taken much more seriously in this modern Java world, and both Java 10 and Java 11 removed APIs. • One of the changes from Java 9 was that internal APIs (largely those classes in packages that started with sun.misc.*) were hidden from use. APIs that are not core to the JDK have also been removed in Java 11. These changes may impact your application but there is a clear path to avoid these problems. • Once "over the hump" of this first upgrade, it's worth at least testing the application on the latest version of Java every 6 months.
  • 13. Java Language and Java Platform • Java is a popular programming language, created in 1995. • It is owned by Oracle, and more than 3 billion devices run Java. • It is used for: • Mobile applications (specially Android apps) • Desktop applications • Web applications • Web servers and application servers • Games • Database connection
  • 14. Cont…. • Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.) • It is one of the most popular programming language in the world • It is easy to learn and simple to use • It is open-source and free • It is secure, fast and powerful • It has a huge community support (tens of millions of developers) • Java is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs • As Java is close to C++ and C#, it makes it easy for programmers to switch to Java or vice versa
  • 15. The Java Programming Language Platforms • There are four platforms of the Java programming language: • Java Platform, Standard Edition (Java SE) • Java Platform, Enterprise Edition (Java EE) • Java Platform, Micro Edition (Java ME) • Java FX • All Java platforms consist of a Java Virtual Machine (VM) and an application programming interface (API). The Java Virtual Machine is a program, for a particular hardware and software platform, that runs Java technology applications. An API is a collection of software components that you can use to create other software components or applications. Each Java platform provides a virtual machine and an API, and this allows applications written for that platform to run on any compatible system with all the advantages of the Java programming language: platform- independence, power, stability, ease-of-development, and security.
  • 16. Cont… • Java SE • When most people think of the Java programming language, they think of the Java SE API. Java SE's API provides the core functionality of the Java programming language. It defines everything from the basic types and objects of the Java programming language to high-level classes that are used for networking, security, database access, graphical user interface (GUI) development, and XML parsing. • In addition to the core API, the Java SE platform consists of a virtual machine, development tools, deployment technologies, and other class libraries and toolkits commonly used in Java technology applications. • Java EE • The Java EE platform is built on top of the Java SE platform. The Java EE platform provides an API and runtime environment for developing and running large-scale, multi-tiered, scalable, reliable, and secure network applications.
  • 17. Cont…. • Java ME • The Java ME platform provides an API and a small-footprint virtual machine for running Java programming language applications on small devices, like mobile phones. The API is a subset of the Java SE API, along with special class libraries useful for small device application development. Java ME applications are often clients of Java EE platform services. • Java FX • Java FX technology is a platform for creating rich internet applications written in Java FX ScriptTM. Java FX Script is a statically-typed declarative language that is compiled to Java technology bytecode, which can then be run on a Java VM. Applications written for the Java FX platform can include and link to Java programming language classes, and may be clients of Java EE platform services.