Features of Java 8
Java 9 sneak peak
Kanke Ishaku
Get started
• Java 8 installed:
http://www.oracle.com/technetwork/java/javase/do
wnloads/jdk8-downloads-2133151.html
• IDE of your choice
• To have access to slides:
http://www.slideshare.net/sugarkanke
• Git Repo: https://github.com/kanke/Java8Features
We will hopefully be covering:-
• Lambda
• Stream API
• Date and Time API
• Nashorn
Date and time Api
• Java.time package
• Fixes issues of Java
• New concepts of date and duration
• Dealing with time zones/formatting and computing
date from a given date
Nashorn
• REPL -
http://www.javarepl.com/console.html
• Navigate to JAVA_HOME/bin/jjs
directory
• ScriptEngine
Features expected to be released with Java 9
• Project Jigsaw - modular system in Java
• Java + REPL = jshell
• Will G1 be the new default garbage collector?
• Full support for HTTP 2.0 and a new HTTP client that
will replace HttpURLConnection
• The process API
Helpful links:
• Java 9 early access: https://jdk9.java.net/download/
• https://dzone.com/articles/the-java-module-system-first-
look
• http://zeroturnaround.com/rebellabs/java-8-explained-
applying-lambdas-to-java-collections/
• http://docs.oracle.com/javase/7/docs/technotes/guides/
scripting/programmer_guide/
Email: kanke.ishaku@live.com
LinkedIn: https://uk.linkedin.com/in/kankeishaku
Twitter: @sugarkanke
Git: https://github.com/kanke

Java 8

  • 1.
    Features of Java8 Java 9 sneak peak Kanke Ishaku
  • 2.
    Get started • Java8 installed: http://www.oracle.com/technetwork/java/javase/do wnloads/jdk8-downloads-2133151.html • IDE of your choice • To have access to slides: http://www.slideshare.net/sugarkanke • Git Repo: https://github.com/kanke/Java8Features
  • 3.
    We will hopefullybe covering:- • Lambda • Stream API • Date and Time API • Nashorn
  • 4.
    Date and timeApi • Java.time package • Fixes issues of Java • New concepts of date and duration • Dealing with time zones/formatting and computing date from a given date
  • 5.
    Nashorn • REPL - http://www.javarepl.com/console.html •Navigate to JAVA_HOME/bin/jjs directory • ScriptEngine
  • 6.
    Features expected tobe released with Java 9 • Project Jigsaw - modular system in Java • Java + REPL = jshell • Will G1 be the new default garbage collector? • Full support for HTTP 2.0 and a new HTTP client that will replace HttpURLConnection • The process API
  • 7.
    Helpful links: • Java9 early access: https://jdk9.java.net/download/ • https://dzone.com/articles/the-java-module-system-first- look • http://zeroturnaround.com/rebellabs/java-8-explained- applying-lambdas-to-java-collections/ • http://docs.oracle.com/javase/7/docs/technotes/guides/ scripting/programmer_guide/
  • 8.