KEMBAR78
Java 8 - New Updates and Why It Matters? | PPTX
Java 8 – Why it matters? 
- Jean-François Bilodeau (Senior Instructor) 
The Smarter Everyday project is owned and operated by CTE Solutions Inc.
You’re here early!
Adobe Connect Tips
Adobe Connect Tips
Adobe Connect Tips
Java 8 – Why it matters? 
- Jean-François Bilodeau (Senior Instructor) 
The Smarter Everyday project is owned and operated by CTE Solutions Inc.
What's new? 
New language features 
New library features 
Under the hood improvements
New Language Features 
Lamdba expressions 
Annotation Improvements 
Default methods
Lambda Expression 
Finally! (Most requested feature after generics) 
Treat functions as data
Annotations Improvements 
Annotations can be used with any type 
declaration 
• Allows deeper integration with compile-type 
verification 
• Can be used with new operator, type cast, 
throws keyword, etc. 
Annotations can be repeated 
• Use the Repeatable annotation when declaring
Default Method 
Allows for extending an interface without 
breaking existing code 
As a consequence, allows multiple inheritance
Other Language Features 
Parameter name reflexion 
• Need to compile with -parameters option 
Improved type inference for generics
New Library Features 
Rehauled collections & Streams 
Date-Time Package 
Unsigned integer arithmetics
Streams 
Java 8 provides functional-style 
operation on collections 
Provides sequential or parallel map-reduce 
transformations 
New package: java.util.stream
Date-Time Package 
New package: java.time 
Can finally forget about java.util.Date 
and java.util.Calendar classes 
Rich and fluent set of classes 
Consistent design
Unsigned Integer Arithmetics 
Java doesn't support unsigned integers (uint) 
The java.lang.Integer and java.lang.Long class 
extended to support unsigned integers 
operations 
• To/Parse operations 
• Arithmetic
Under the Hood 
Removal of PermGen Space 
AES hardware support 
Static-link JNI 
Client-side TLS 1.2 enabled by default
Additional Improvements 
New Nashorn scripting engine 
Performance improvements 
New/updated tools 
Details: 
http://www.oracle.com/technetwork/java/javase/8- 
whats-new-2157071.html
Java 8 New Features 
Thank you!
Interested in Training? 
UPCOMING COURSE DAYS PRICE 
PR005 Fundamentals of Computer Programming 4 $1,995.00 
JV001 Java for Non-Programmers 4 $1,995.00 
JV002 Java Programming Language 5 $2,495.00 
JV008 Java for Web Development 5 $2,495.00 
JV003 Advanced Java Programming 5 $2,495.00 
JV007 Fast Track to SOA and Web Services (JAX-WS) 3 $1,495.00 
JV017 Java Enterprise Edition 4 $1,995.00 
JV019 Fast Track to Spring 3 3 $1,495.00 
JV020 Fast Track to Spring 3, Spring MVC and Spring Web Flow 5 $2,495.00 
JV009 Java Struts 3 $1,495.00 
JVF14 Web Development with Struts 2 5 $2,495.00 
JVF04 Developing Enterprise Applications using J2EE 3 $1,495.00 
PR004 Design Patterns 4 $1,995.00 
JVF15 RESTful Java and Web Services 2 $995.00 
JV018 JavaServer Faces 2 2 $995.00 
JVF16 Secure Web Application Development and Top 10 Vulnerabilities 2 $995.00 
JV011 Developing Business Component with EJB 3.1 5 $2,495.00
Download This Presentation 
Go to http://blog.ctesolutions.com for more
Training with impact 
TECHNICAL MANAGEMENT BUSINESS 
Microsoft 
VMware 
Cloud Computing 
IT and Cyber Security 
CompTIA 
Java Programming- 
Languages 
Novell & UNIX 
TOGAF 
Enterprise 
Architecture 
ITIL 
COBiT 
Agile and Scrum 
Business Analysis 
Project Management 
Change Management 
Communication Skills 
Leadership Skills 
Negotiation Skills 
Problem Solving Skills 
Facilitation Skills 
and many more…
CTE Solutions Inc. - Ottawa 
11 Holland Avenue, Suite 100 
Ottawa, Ontario, K1Y 4S1 
Tel: (613) 798-5353 
Toll Free: 1 (866) 635-5353 
Fax: (613) 798-5574 
CTE Solutions Inc. - Toronto 
77 Bloor St. West, Suite 1406 
Toronto, Ontario M5S 1M2 
Tel: (416) 284-2700 
Toll Free: 1 (866) 635-5353 
Fax: (416) 284-6797 
For Free Training 
Resources

Java 8 - New Updates and Why It Matters?

  • 1.
    Java 8 –Why it matters? - Jean-François Bilodeau (Senior Instructor) The Smarter Everyday project is owned and operated by CTE Solutions Inc.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
    Java 8 –Why it matters? - Jean-François Bilodeau (Senior Instructor) The Smarter Everyday project is owned and operated by CTE Solutions Inc.
  • 7.
    What's new? Newlanguage features New library features Under the hood improvements
  • 8.
    New Language Features Lamdba expressions Annotation Improvements Default methods
  • 9.
    Lambda Expression Finally!(Most requested feature after generics) Treat functions as data
  • 10.
    Annotations Improvements Annotationscan be used with any type declaration • Allows deeper integration with compile-type verification • Can be used with new operator, type cast, throws keyword, etc. Annotations can be repeated • Use the Repeatable annotation when declaring
  • 11.
    Default Method Allowsfor extending an interface without breaking existing code As a consequence, allows multiple inheritance
  • 12.
    Other Language Features Parameter name reflexion • Need to compile with -parameters option Improved type inference for generics
  • 13.
    New Library Features Rehauled collections & Streams Date-Time Package Unsigned integer arithmetics
  • 14.
    Streams Java 8provides functional-style operation on collections Provides sequential or parallel map-reduce transformations New package: java.util.stream
  • 15.
    Date-Time Package Newpackage: java.time Can finally forget about java.util.Date and java.util.Calendar classes Rich and fluent set of classes Consistent design
  • 16.
    Unsigned Integer Arithmetics Java doesn't support unsigned integers (uint) The java.lang.Integer and java.lang.Long class extended to support unsigned integers operations • To/Parse operations • Arithmetic
  • 17.
    Under the Hood Removal of PermGen Space AES hardware support Static-link JNI Client-side TLS 1.2 enabled by default
  • 18.
    Additional Improvements NewNashorn scripting engine Performance improvements New/updated tools Details: http://www.oracle.com/technetwork/java/javase/8- whats-new-2157071.html
  • 19.
    Java 8 NewFeatures Thank you!
  • 20.
    Interested in Training? UPCOMING COURSE DAYS PRICE PR005 Fundamentals of Computer Programming 4 $1,995.00 JV001 Java for Non-Programmers 4 $1,995.00 JV002 Java Programming Language 5 $2,495.00 JV008 Java for Web Development 5 $2,495.00 JV003 Advanced Java Programming 5 $2,495.00 JV007 Fast Track to SOA and Web Services (JAX-WS) 3 $1,495.00 JV017 Java Enterprise Edition 4 $1,995.00 JV019 Fast Track to Spring 3 3 $1,495.00 JV020 Fast Track to Spring 3, Spring MVC and Spring Web Flow 5 $2,495.00 JV009 Java Struts 3 $1,495.00 JVF14 Web Development with Struts 2 5 $2,495.00 JVF04 Developing Enterprise Applications using J2EE 3 $1,495.00 PR004 Design Patterns 4 $1,995.00 JVF15 RESTful Java and Web Services 2 $995.00 JV018 JavaServer Faces 2 2 $995.00 JVF16 Secure Web Application Development and Top 10 Vulnerabilities 2 $995.00 JV011 Developing Business Component with EJB 3.1 5 $2,495.00
  • 21.
    Download This Presentation Go to http://blog.ctesolutions.com for more
  • 22.
    Training with impact TECHNICAL MANAGEMENT BUSINESS Microsoft VMware Cloud Computing IT and Cyber Security CompTIA Java Programming- Languages Novell & UNIX TOGAF Enterprise Architecture ITIL COBiT Agile and Scrum Business Analysis Project Management Change Management Communication Skills Leadership Skills Negotiation Skills Problem Solving Skills Facilitation Skills and many more…
  • 23.
    CTE Solutions Inc.- Ottawa 11 Holland Avenue, Suite 100 Ottawa, Ontario, K1Y 4S1 Tel: (613) 798-5353 Toll Free: 1 (866) 635-5353 Fax: (613) 798-5574 CTE Solutions Inc. - Toronto 77 Bloor St. West, Suite 1406 Toronto, Ontario M5S 1M2 Tel: (416) 284-2700 Toll Free: 1 (866) 635-5353 Fax: (416) 284-6797 For Free Training Resources