java 8 - new updates and why it matters?
DESCRIPTION
This presentation was used during CTE Solutions' Smarter Everyday event by JF BilodeauTRANSCRIPT
The Smarter Everyday project is owned and operated by CTE Solutions Inc.
Java 8 – Why it matters?
- Jean-François Bilodeau (Senior Instructor)
The Smarter Everyday project is owned and operated by CTE Solutions Inc.
Java 8 – Why it matters?
- Jean-François Bilodeau (Senior Instructor)
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 classesConsistent 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
Interested in Training?UPCOMING COURSE DAYS PRICEPR005 Fundamentals of Computer Programming 4 $1,995.00
JV001 Java for Non-Programmers 4 $1,995.00JV002 Java Programming Language 5 $2,495.00JV008 Java for Web Development 5 $2,495.00JV003 Advanced Java Programming 5 $2,495.00JV007 Fast Track to SOA and Web Services (JAX-WS) 3 $1,495.00JV017 Java Enterprise Edition 4 $1,995.00JV019 Fast Track to Spring 3 3 $1,495.00JV020 Fast Track to Spring 3, Spring MVC and Spring Web Flow 5 $2,495.00JV009 Java Struts 3 $1,495.00JVF14 Web Development with Struts 2 5 $2,495.00JVF04 Developing Enterprise Applications using J2EE 3 $1,495.00PR004 Design Patterns 4 $1,995.00JVF15 RESTful Java and Web Services 2 $995.00JV018 JavaServer Faces 2 2 $995.00JVF16 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 impactTECHNICAL MANAGEMENT BUSINESS
MicrosoftVMwareCloud ComputingIT and Cyber SecurityCompTIAJava Programming-LanguagesNovell & UNIX
TOGAFEnterprise ArchitectureITILCOBiTAgile and ScrumBusiness AnalysisProject Management
Change ManagementCommunication SkillsLeadership SkillsNegotiation SkillsProblem Solving SkillsFacilitation Skillsand many more…
CTE Solutions Inc. - Ottawa11 Holland Avenue, Suite 100Ottawa, Ontario, K1Y 4S1 Tel: (613) 798-5353Toll Free: 1 (866) 635-5353Fax: (613) 798-5574 CTE Solutions Inc. - Toronto77 Bloor St. West, Suite 1406Toronto, Ontario M5S 1M2 Tel: (416) 284-2700Toll Free: 1 (866) 635-5353Fax: (416) 284-6797
For Free Training Resources