SlideShare uma empresa Scribd logo
1 de 33
Baixar para ler offline
Java
History & Trends
Kaunas JUG
Dainius Mežanskas · kaunas.jug@gmail.com · http://plus.google.com/+KaunasJUG
Dainius Mežanskas
● 16 years of Java
● Java SE/EE
● e-Learning · Insurance · Telecommunications ·
e-Commerce
● KTU DMC · Exigen Group · NoMagic Europe ·
Modnique Baltic
Java Birth
Java father
James Arthur Gosling
● 1991 – “Green Project”; “Duke”
● *7
● Applet
● 1993 – Mosaic
● 1994 – HotJava ™ (WebRunner)
*7Device·HotJava™
Press Announcement, 1995
JDK 1.0
● 1994 – “Invented” (Oak)
● 1995 – JDK Alpha and Beta
● 1996, Jan 23 – JDK 1.0 (1.0.2)
● 1 year · 38 licensees, 6,000 devs at JavaOne
● 2 year · 100 licensees, 10,000 devs at JavaOne
Language Goals & Objectives
● Garbage collection
● Run on wide range of devices
● Security Model
● Networking · Run Remote Code
● Threading ● Object Oriented
What was so Exciting...
● JVM · Byte Code · WORA
● Simpler syntax (than C++)
● Implicit Pointers to Objects
● Auto memory allocation (GC)
● Threads · Exceptions
… and what wasn’t!
● Interpreted Language
● Not Efficient Memory Model
(Double-Checked Locking is Broken)
● Slow Startup and Execution
Criticism
● Stat. /dynamic.
scoped functions
● Inlined functions
● Pointers to functions
● Long-living closures
● Preprocessing
● Macros system
● Multiple inheritance
● Operator override
● printf()
● unsigned primitives
● Unicode Strings
Java Processor (Chip)
● picoJava
● Dozen of other
implementations
JDK 1.1 · (Feb 19, 1997)
● JavaBeans
● Improved AWT
● JDBC, RMI, Reflection
● Inner classes
● JIT, for Windows only (by Symantec)
J2SE 1.2 · Playground · (Dec 8, 1998)
● J2SE, J2EE, J2ME
● 3x · 1520 classes in 59
packages
● Sun's JIT compiler
● Collections framework
● Integrated Swing API
● strictfp keyword
● Java plug-in
● Java IDL/for
CORBA
Java EE
❖ 1999 · J2EE 1.2
❖ 2001 · J2EE 1.3
❖ 2003 · J2EE 1.4
❖ 2006 · Java EE 5
❖ 2009 · Java EE 6
❖ 2013 · Java EE 7
Java ME
● CLDC 1.0, 1.1
● MIDP 1.0, 2.0, 3.0
● IMP 1.0, 2.0
J2SE 1.3 · Kestrel · (May 8, 2000)
● HotSpot JVM
● Synthetic (Dynamic) proxy classes
● JNDI included
● Debugger Architecture (JPDA)
● RMI + CORBA ● JavaSound
J2SE 1.4 · Merlin · (Feb 6, 2002)
● JCP · JSR 59
● assert keyword
● Exception Chaining
● RegEx
● NIO · IPv6 · Logging
● Image API
● JAXP
● JCE · JSSE · JAAS
● Java Web Start
● Preferences API
J2SE 5.0 · Tiger · (Sep 30, 2004)
● Generics
● @Annotations
● Autoboxing
● enum keyword
● Varargs
● for each loop
● Static imports
● Mem Model Fix
● RMI auto stubs
● java.util.concurrent
OpenJDK · (Nov 13, 2006)
● Sun Microsystems made the
bulk of its implementation of
Java available under the GNU
General Public License (GPL)
Java SE 6 · Mustang · (Dec 11, 2006)
● Performance impr.
● JVM/GC impr.
● Scripting Language
Support
● Java Compiler API
● JAX-WS
● JDBC 4.0
● JAXB 2.0 · StAX
● Pluggable annotations
(http://projectlombok.org/)
R.I.PSun(Jan27,2010)
Java SE 7 · Dolphin · (Jul 28, 2011)
● invokedynamic
● switch
● autocloseable
● <>
● 0b10_01
● catch()
● Concurrency · File
I/O · Timsort · New
File I/O · Crypto · 2D ·
Protocols SCTP SDP
· etc.
Java SE 8 · (Expected Mar 18, 2014)
● Lambda (closures)
● Bulk Data Operations
for Collections
● Nashorn (JS engine)
● Unsigned Int/Long
● Date & Time API
● Repeating Annotations
● Remove PerGen
● Base64 · HashMap ·
JDBC 4.2 · Crypto · etc.
Java SE 9 · (2016 ?)
● Better support for
multi-gigabyte heaps
● Self-tuning JVM
● Money and Currency API
● Modularization of the
JDK (Jigsaw)
Java SE 10 · Speculation · (2018 ??)
● Removing primitive
data types.
● 64-bit addressable
arrays to support
large data sets.
JVMs
● HotSpot
● JRockit
● IBM J9 JVM
JVMLanguages
JVMPopularity
JavaScript (+1)
Java (-1)
PHP
C# (+2)
Python (-1)
C++ (+1)
Ruby (-2)
C
Objective-C
CSS (new)
Perl
Shell (-2)
Scala (-1)
Haskell
R (1)
Matlab (+3)
Clojure (+5)
CoffeeScript (-1)
Visual Basic (+1)
Groovy (-2)
TOP 20
http://redmonk.com/sogrady/2014/01/22/language-rankings-1-14/
Avatar · (avatar.java.net)
Java · Source Code Example
public class CalculateCircleAreaExample {
public static void main(String[] args) {
int radius = 0;
System.out.println("Please enter radius of a circle");
try {
BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
radius = Integer.parseInt(br.readLine());
} catch (Exception e) {
System.out.println("Error :" + e);
System.exit(0);
}
double area = Math.PI * radius * radius;
System.out.println("Area of a circle is " + area);
}
}
object reduceList {
val nums = List(2, -4, 5, 7)
def sum1(xs: List[Int]) = (0 :: xs) reduceLeft ((x, y) => x + y)
sum1(nums)
def sum(xs: List[Int]) = (0 :: xs) reduceLeft (_ + _)
sum(nums)
def product(xs: List[Int]) = (1 :: xs) reduceLeft (_ * _)
product(nums)
def concat[T](xs: List[T], ys: List[T]): List[T] = (xs foldRight ys)(_ ::
_)
}
Scala · Source Code Example
Groovy · Source Code Example
def sudoku(values) {
def i = values.indexOf(48);
if (i < 0)
print values
else
(('1'..'9') - (0..80).collect { j ->
g = { (int) it(i) == (int) it(j) };
g { it / 9 } | g { it % 9 } | g { it / 27 } &
g { it % 9 / 3 } ? values[j] : '0'
}).each {
sudoku(values[0..<i] + it + values[i + 1..-1])
}
}
Java Forever
Thank
You!

Mais conteúdo relacionado

Mais procurados

20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』
20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』
20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』
Ryo RKTM
 
OpenJDK-Zulu talk at JEEConf'14
OpenJDK-Zulu talk at JEEConf'14OpenJDK-Zulu talk at JEEConf'14
OpenJDK-Zulu talk at JEEConf'14
Ivan Krylov
 

Mais procurados (20)

The Evolution of Java
The Evolution of JavaThe Evolution of Java
The Evolution of Java
 
History of Java 2/2
History of Java 2/2History of Java 2/2
History of Java 2/2
 
Evolution Of Java
Evolution Of JavaEvolution Of Java
Evolution Of Java
 
02 java programming features of java i
02 java programming features of java  i02 java programming features of java  i
02 java programming features of java i
 
Java 1
Java 1Java 1
Java 1
 
Whats new in Java 9,10,11,12
Whats new in Java 9,10,11,12Whats new in Java 9,10,11,12
Whats new in Java 9,10,11,12
 
Polygot Java EE on the GraalVM
Polygot Java EE on the GraalVMPolygot Java EE on the GraalVM
Polygot Java EE on the GraalVM
 
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
 
Java 9 preview
Java 9 previewJava 9 preview
Java 9 preview
 
Migrating to Java 11
Migrating to Java 11Migrating to Java 11
Migrating to Java 11
 
DevNexus 2019: Migrating to Java 11
DevNexus 2019: Migrating to Java 11DevNexus 2019: Migrating to Java 11
DevNexus 2019: Migrating to Java 11
 
Introduction to Java
Introduction to Java Introduction to Java
Introduction to Java
 
OSGi Community Event 2010 - OSGi and Android
OSGi Community Event 2010 - OSGi and AndroidOSGi Community Event 2010 - OSGi and Android
OSGi Community Event 2010 - OSGi and Android
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
Java modularity: life after Java 9
Java modularity: life after Java 9Java modularity: life after Java 9
Java modularity: life after Java 9
 
20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』
20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』
20091226 名古屋SGGAE/J勉強会発表資料『Lift on GAE/J』
 
Explore the history, versions and features of Java- a report by Pranav Mishra
Explore the history, versions and features of Java- a report by Pranav MishraExplore the history, versions and features of Java- a report by Pranav Mishra
Explore the history, versions and features of Java- a report by Pranav Mishra
 
OpenJDK-Zulu talk at JEEConf'14
OpenJDK-Zulu talk at JEEConf'14OpenJDK-Zulu talk at JEEConf'14
OpenJDK-Zulu talk at JEEConf'14
 
Karaf ee-apachecon eu-2012
Karaf ee-apachecon eu-2012Karaf ee-apachecon eu-2012
Karaf ee-apachecon eu-2012
 
JDK9 Features (Summary, 31/Jul/2015) #JJUG
JDK9 Features (Summary, 31/Jul/2015) #JJUGJDK9 Features (Summary, 31/Jul/2015) #JJUG
JDK9 Features (Summary, 31/Jul/2015) #JJUG
 

Semelhante a Java History and Trends

Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para TiGustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
Software Guru
 
GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話
GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話
GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話
なおき きしだ
 
Using Grails to power your electric car
Using Grails to power your electric carUsing Grails to power your electric car
Using Grails to power your electric car
Marco Pas
 

Semelhante a Java History and Trends (20)

Retour JavaOne 2009
Retour JavaOne 2009Retour JavaOne 2009
Retour JavaOne 2009
 
JCConf 2018 - Retrospect and Prospect of Java
JCConf 2018 - Retrospect and Prospect of JavaJCConf 2018 - Retrospect and Prospect of Java
JCConf 2018 - Retrospect and Prospect of Java
 
JDD2015: Taste of new in Java 9 - Arkadiusz Sokołowski
JDD2015: Taste of new in Java 9 - Arkadiusz SokołowskiJDD2015: Taste of new in Java 9 - Arkadiusz Sokołowski
JDD2015: Taste of new in Java 9 - Arkadiusz Sokołowski
 
Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para TiGustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
 
Jakarta EE 2018
Jakarta EE 2018Jakarta EE 2018
Jakarta EE 2018
 
Jozi-JUG JDK 9 Unconference
Jozi-JUG JDK 9 UnconferenceJozi-JUG JDK 9 Unconference
Jozi-JUG JDK 9 Unconference
 
Java 9 and Project Jigsaw
Java 9 and Project JigsawJava 9 and Project Jigsaw
Java 9 and Project Jigsaw
 
Java Training In Ahmedabad
Java Training In AhmedabadJava Training In Ahmedabad
Java Training In Ahmedabad
 
Progress_190315
Progress_190315Progress_190315
Progress_190315
 
Java 9-10 What's New
Java 9-10 What's NewJava 9-10 What's New
Java 9-10 What's New
 
Node.js Test
Node.js TestNode.js Test
Node.js Test
 
De Java 8 a Java 11 y 14
De Java 8 a Java 11 y 14De Java 8 a Java 11 y 14
De Java 8 a Java 11 y 14
 
GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話
GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話
GraalVMの紹介とTruffleでPHPぽい言語を実装したら爆速だった話
 
Java EE Introduction
Java EE IntroductionJava EE Introduction
Java EE Introduction
 
Java8 launch AMIS Services by Lucas Jellema
Java8 launch AMIS Services by Lucas Jellema Java8 launch AMIS Services by Lucas Jellema
Java8 launch AMIS Services by Lucas Jellema
 
Java8 launch at AMIS Services / First8
Java8 launch at AMIS Services / First8Java8 launch at AMIS Services / First8
Java8 launch at AMIS Services / First8
 
Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themesJava 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
 
De Java 8 ate Java 14
De Java 8 ate Java 14De Java 8 ate Java 14
De Java 8 ate Java 14
 
Using Grails to power your electric car
Using Grails to power your electric carUsing Grails to power your electric car
Using Grails to power your electric car
 
Using Grails to power your electric car
Using Grails to power your electric carUsing Grails to power your electric car
Using Grails to power your electric car
 

Último

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Último (20)

Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 

Java History and Trends

  • 1. Java History & Trends Kaunas JUG Dainius Mežanskas · kaunas.jug@gmail.com · http://plus.google.com/+KaunasJUG
  • 2. Dainius Mežanskas ● 16 years of Java ● Java SE/EE ● e-Learning · Insurance · Telecommunications · e-Commerce ● KTU DMC · Exigen Group · NoMagic Europe · Modnique Baltic
  • 3. Java Birth Java father James Arthur Gosling ● 1991 – “Green Project”; “Duke” ● *7 ● Applet ● 1993 – Mosaic ● 1994 – HotJava ™ (WebRunner)
  • 6. JDK 1.0 ● 1994 – “Invented” (Oak) ● 1995 – JDK Alpha and Beta ● 1996, Jan 23 – JDK 1.0 (1.0.2) ● 1 year · 38 licensees, 6,000 devs at JavaOne ● 2 year · 100 licensees, 10,000 devs at JavaOne
  • 7. Language Goals & Objectives ● Garbage collection ● Run on wide range of devices ● Security Model ● Networking · Run Remote Code ● Threading ● Object Oriented
  • 8. What was so Exciting... ● JVM · Byte Code · WORA ● Simpler syntax (than C++) ● Implicit Pointers to Objects ● Auto memory allocation (GC) ● Threads · Exceptions
  • 9. … and what wasn’t! ● Interpreted Language ● Not Efficient Memory Model (Double-Checked Locking is Broken) ● Slow Startup and Execution
  • 10. Criticism ● Stat. /dynamic. scoped functions ● Inlined functions ● Pointers to functions ● Long-living closures ● Preprocessing ● Macros system ● Multiple inheritance ● Operator override ● printf() ● unsigned primitives ● Unicode Strings
  • 11. Java Processor (Chip) ● picoJava ● Dozen of other implementations
  • 12. JDK 1.1 · (Feb 19, 1997) ● JavaBeans ● Improved AWT ● JDBC, RMI, Reflection ● Inner classes ● JIT, for Windows only (by Symantec)
  • 13. J2SE 1.2 · Playground · (Dec 8, 1998) ● J2SE, J2EE, J2ME ● 3x · 1520 classes in 59 packages ● Sun's JIT compiler ● Collections framework ● Integrated Swing API ● strictfp keyword ● Java plug-in ● Java IDL/for CORBA
  • 14. Java EE ❖ 1999 · J2EE 1.2 ❖ 2001 · J2EE 1.3 ❖ 2003 · J2EE 1.4 ❖ 2006 · Java EE 5 ❖ 2009 · Java EE 6 ❖ 2013 · Java EE 7
  • 15. Java ME ● CLDC 1.0, 1.1 ● MIDP 1.0, 2.0, 3.0 ● IMP 1.0, 2.0
  • 16. J2SE 1.3 · Kestrel · (May 8, 2000) ● HotSpot JVM ● Synthetic (Dynamic) proxy classes ● JNDI included ● Debugger Architecture (JPDA) ● RMI + CORBA ● JavaSound
  • 17. J2SE 1.4 · Merlin · (Feb 6, 2002) ● JCP · JSR 59 ● assert keyword ● Exception Chaining ● RegEx ● NIO · IPv6 · Logging ● Image API ● JAXP ● JCE · JSSE · JAAS ● Java Web Start ● Preferences API
  • 18. J2SE 5.0 · Tiger · (Sep 30, 2004) ● Generics ● @Annotations ● Autoboxing ● enum keyword ● Varargs ● for each loop ● Static imports ● Mem Model Fix ● RMI auto stubs ● java.util.concurrent
  • 19. OpenJDK · (Nov 13, 2006) ● Sun Microsystems made the bulk of its implementation of Java available under the GNU General Public License (GPL)
  • 20. Java SE 6 · Mustang · (Dec 11, 2006) ● Performance impr. ● JVM/GC impr. ● Scripting Language Support ● Java Compiler API ● JAX-WS ● JDBC 4.0 ● JAXB 2.0 · StAX ● Pluggable annotations (http://projectlombok.org/)
  • 22. Java SE 7 · Dolphin · (Jul 28, 2011) ● invokedynamic ● switch ● autocloseable ● <> ● 0b10_01 ● catch() ● Concurrency · File I/O · Timsort · New File I/O · Crypto · 2D · Protocols SCTP SDP · etc.
  • 23. Java SE 8 · (Expected Mar 18, 2014) ● Lambda (closures) ● Bulk Data Operations for Collections ● Nashorn (JS engine) ● Unsigned Int/Long ● Date & Time API ● Repeating Annotations ● Remove PerGen ● Base64 · HashMap · JDBC 4.2 · Crypto · etc.
  • 24. Java SE 9 · (2016 ?) ● Better support for multi-gigabyte heaps ● Self-tuning JVM ● Money and Currency API ● Modularization of the JDK (Jigsaw)
  • 25. Java SE 10 · Speculation · (2018 ??) ● Removing primitive data types. ● 64-bit addressable arrays to support large data sets.
  • 28. JVMPopularity JavaScript (+1) Java (-1) PHP C# (+2) Python (-1) C++ (+1) Ruby (-2) C Objective-C CSS (new) Perl Shell (-2) Scala (-1) Haskell R (1) Matlab (+3) Clojure (+5) CoffeeScript (-1) Visual Basic (+1) Groovy (-2) TOP 20 http://redmonk.com/sogrady/2014/01/22/language-rankings-1-14/
  • 30. Java · Source Code Example public class CalculateCircleAreaExample { public static void main(String[] args) { int radius = 0; System.out.println("Please enter radius of a circle"); try { BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); radius = Integer.parseInt(br.readLine()); } catch (Exception e) { System.out.println("Error :" + e); System.exit(0); } double area = Math.PI * radius * radius; System.out.println("Area of a circle is " + area); } }
  • 31. object reduceList { val nums = List(2, -4, 5, 7) def sum1(xs: List[Int]) = (0 :: xs) reduceLeft ((x, y) => x + y) sum1(nums) def sum(xs: List[Int]) = (0 :: xs) reduceLeft (_ + _) sum(nums) def product(xs: List[Int]) = (1 :: xs) reduceLeft (_ * _) product(nums) def concat[T](xs: List[T], ys: List[T]): List[T] = (xs foldRight ys)(_ :: _) } Scala · Source Code Example
  • 32. Groovy · Source Code Example def sudoku(values) { def i = values.indexOf(48); if (i < 0) print values else (('1'..'9') - (0..80).collect { j -> g = { (int) it(i) == (int) it(j) }; g { it / 9 } | g { it % 9 } | g { it / 27 } & g { it % 9 / 3 } ? values[j] : '0' }).each { sudoku(values[0..<i] + it + values[i + 1..-1]) } }