SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
- Kunal Sethi (Software Consultant)
- Jasmine Kaur (Software Consultant)
❏ Jshell
❏ Improvements
❏ StackWalker
❏ Http2 Client
❏ Modularity
(Java REPL)
➢ Jshell is nothing it’s just java repl
How to start jshell
>> jshell
How to exit from jshell
>> /exit
>> /ex
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
➢ Convenience factory methods for collections.
eg. List.of(1, 2 , 3, 4 , 5)
eg. Map.of(1, “Kunal”, 2, “Jasmine”)
eg. Set.of(1, 2, 2 ,3 , 5 , 9)
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
➢ Streams API
Methods: dropWhile(), takeWhile()
Method: Intstream.iterate()
Method: Stream.ofNullable()
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
➢ Interface
Interface with private methods.
➢ try with resource
Effectively final try with resource.
➢ Optional
ifPresentOrElse()
Optional.stream()
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
➢ CompletableFutures
Methods: completeOnTimeout()
orTimeout()
copy()
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
❏ StackWalker is thread-safe. Multiple threads can share a single
StackWalker object to traverse its own stack.
eg. StackWalker.getInstance.walk()
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
❏ The protocol-specific requirements are defined in the Hypertext
Transfer Protocol Version 2 (HTTP/2), the Hypertext Transfer Protocol
(HTTP/1.1), and The WebSocket Protocol.
❏ This new API is kind of built around three main classes these are:
● HttpClient
● HttpRequest
● HttpResponse
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
Comparison between Java 1.8 and Java 1.9
❏ NoClassDefFoundError
❏ Version Conflict
❏ Security Issues
❏ Bigger size
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
❏ Module Structure
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
What If???
Lorem Ipsum comes from section Contrary to
popular belief, Lorem Ipsum is not simply random
text.
❏ https://www.youtube.com/watch?v=K8Jc_EaBVMI
❏ https://www.youtube.com/watch?v=0RegttLUXeU
❏ https://blog.knoldus.com/
❏ https://www.youtube.com/watch?v=Yacu1yUktjY
What’s new in Java 9/11

Weitere ähnliche Inhalte

Ähnlich wie What’s new in Java 9/11

Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...
Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...
Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...
Paul King
 

Ähnlich wie What’s new in Java 9/11 (20)

Why haven't we stamped out SQL injection and XSS yet
Why haven't we stamped out SQL injection and XSS yetWhy haven't we stamped out SQL injection and XSS yet
Why haven't we stamped out SQL injection and XSS yet
 
Client side scripting
Client side scriptingClient side scripting
Client side scripting
 
Java Memory Model
Java Memory ModelJava Memory Model
Java Memory Model
 
XML Schema Patterns for Databinding
XML Schema Patterns for DatabindingXML Schema Patterns for Databinding
XML Schema Patterns for Databinding
 
Java 9
Java 9Java 9
Java 9
 
Commix Detecting And Exploiting.pdf
Commix Detecting And Exploiting.pdfCommix Detecting And Exploiting.pdf
Commix Detecting And Exploiting.pdf
 
2 Roads to Redemption - Thoughts on XSS and SQLIA
2 Roads to Redemption - Thoughts on XSS and SQLIA2 Roads to Redemption - Thoughts on XSS and SQLIA
2 Roads to Redemption - Thoughts on XSS and SQLIA
 
2 Roads to Redemption - Thoughts on XSS and SQLIA
2 Roads to Redemption - Thoughts on XSS and SQLIA2 Roads to Redemption - Thoughts on XSS and SQLIA
2 Roads to Redemption - Thoughts on XSS and SQLIA
 
Java under the hood
Java under the hoodJava under the hood
Java under the hood
 
Treinamento frontend
Treinamento frontendTreinamento frontend
Treinamento frontend
 
Learn To Code: Introduction to java
Learn To Code: Introduction to javaLearn To Code: Introduction to java
Learn To Code: Introduction to java
 
Java/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBCJava/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBC
 
JDD 2016 - Grzegorz Rozniecki - Java 8 What Could Possibly Go Wrong
JDD 2016 - Grzegorz Rozniecki - Java 8 What Could Possibly Go WrongJDD 2016 - Grzegorz Rozniecki - Java 8 What Could Possibly Go Wrong
JDD 2016 - Grzegorz Rozniecki - Java 8 What Could Possibly Go Wrong
 
Building a JavaScript Library
Building a JavaScript LibraryBuilding a JavaScript Library
Building a JavaScript Library
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...
Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...
Industrial Strength Groovy - Tools for the Professional Groovy Developer: Pau...
 
BlueHat v17 || Dangerous Contents - Securing .Net Deserialization
BlueHat v17 || Dangerous Contents - Securing .Net Deserialization BlueHat v17 || Dangerous Contents - Securing .Net Deserialization
BlueHat v17 || Dangerous Contents - Securing .Net Deserialization
 
Design patterns - Common Solutions to Common Problems - Brad Wood
Design patterns -  Common Solutions to Common Problems - Brad WoodDesign patterns -  Common Solutions to Common Problems - Brad Wood
Design patterns - Common Solutions to Common Problems - Brad Wood
 
Go Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
Go Reactive: Event-Driven, Scalable, Resilient & Responsive SystemsGo Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
Go Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
 
The State of the Veil Framework
The State of the Veil FrameworkThe State of the Veil Framework
The State of the Veil Framework
 

Mehr von Knoldus Inc.

Mehr von Knoldus Inc. (20)

Supply chain security with Kubeclarity.pptx
Supply chain security with Kubeclarity.pptxSupply chain security with Kubeclarity.pptx
Supply chain security with Kubeclarity.pptx
 
Mastering Web Scraping with JSoup Unlocking the Secrets of HTML Parsing
Mastering Web Scraping with JSoup Unlocking the Secrets of HTML ParsingMastering Web Scraping with JSoup Unlocking the Secrets of HTML Parsing
Mastering Web Scraping with JSoup Unlocking the Secrets of HTML Parsing
 
Akka gRPC Essentials A Hands-On Introduction
Akka gRPC Essentials A Hands-On IntroductionAkka gRPC Essentials A Hands-On Introduction
Akka gRPC Essentials A Hands-On Introduction
 
Entity Core with Core Microservices.pptx
Entity Core with Core Microservices.pptxEntity Core with Core Microservices.pptx
Entity Core with Core Microservices.pptx
 
Introduction to Redis and its features.pptx
Introduction to Redis and its features.pptxIntroduction to Redis and its features.pptx
Introduction to Redis and its features.pptx
 
GraphQL with .NET Core Microservices.pdf
GraphQL with .NET Core Microservices.pdfGraphQL with .NET Core Microservices.pdf
GraphQL with .NET Core Microservices.pdf
 
NuGet Packages Presentation (DoT NeT).pptx
NuGet Packages Presentation (DoT NeT).pptxNuGet Packages Presentation (DoT NeT).pptx
NuGet Packages Presentation (DoT NeT).pptx
 
Data Quality in Test Automation Navigating the Path to Reliable Testing
Data Quality in Test Automation Navigating the Path to Reliable TestingData Quality in Test Automation Navigating the Path to Reliable Testing
Data Quality in Test Automation Navigating the Path to Reliable Testing
 
K8sGPTThe AI​ way to diagnose Kubernetes
K8sGPTThe AI​ way to diagnose KubernetesK8sGPTThe AI​ way to diagnose Kubernetes
K8sGPTThe AI​ way to diagnose Kubernetes
 
Introduction to Circle Ci Presentation.pptx
Introduction to Circle Ci Presentation.pptxIntroduction to Circle Ci Presentation.pptx
Introduction to Circle Ci Presentation.pptx
 
Robusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptxRobusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptx
 
Optimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptxOptimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptx
 
Azure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptxAzure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptx
 
CQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptxCQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptx
 
ETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake PresentationETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake Presentation
 
Scripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics PresentationScripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics Presentation
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIs
 
Introduction To Rust part II Presentation
Introduction To Rust part II PresentationIntroduction To Rust part II Presentation
Introduction To Rust part II Presentation
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Configuring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRAConfiguring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRA
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

What’s new in Java 9/11

  • 1. - Kunal Sethi (Software Consultant) - Jasmine Kaur (Software Consultant)
  • 2. ❏ Jshell ❏ Improvements ❏ StackWalker ❏ Http2 Client ❏ Modularity
  • 3. (Java REPL) ➢ Jshell is nothing it’s just java repl How to start jshell >> jshell How to exit from jshell >> /exit >> /ex
  • 4. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ➢ Convenience factory methods for collections. eg. List.of(1, 2 , 3, 4 , 5) eg. Map.of(1, “Kunal”, 2, “Jasmine”) eg. Set.of(1, 2, 2 ,3 , 5 , 9)
  • 5. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ➢ Streams API Methods: dropWhile(), takeWhile() Method: Intstream.iterate() Method: Stream.ofNullable()
  • 6. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ➢ Interface Interface with private methods. ➢ try with resource Effectively final try with resource. ➢ Optional ifPresentOrElse() Optional.stream()
  • 7. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ➢ CompletableFutures Methods: completeOnTimeout() orTimeout() copy()
  • 8. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ❏ StackWalker is thread-safe. Multiple threads can share a single StackWalker object to traverse its own stack. eg. StackWalker.getInstance.walk()
  • 9. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ❏ The protocol-specific requirements are defined in the Hypertext Transfer Protocol Version 2 (HTTP/2), the Hypertext Transfer Protocol (HTTP/1.1), and The WebSocket Protocol. ❏ This new API is kind of built around three main classes these are: ● HttpClient ● HttpRequest ● HttpResponse
  • 10. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. Comparison between Java 1.8 and Java 1.9 ❏ NoClassDefFoundError ❏ Version Conflict ❏ Security Issues ❏ Bigger size
  • 11. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ❏ Module Structure
  • 12. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. What If???
  • 13. Lorem Ipsum comes from section Contrary to popular belief, Lorem Ipsum is not simply random text. ❏ https://www.youtube.com/watch?v=K8Jc_EaBVMI ❏ https://www.youtube.com/watch?v=0RegttLUXeU ❏ https://blog.knoldus.com/ ❏ https://www.youtube.com/watch?v=Yacu1yUktjY