SlideShare a Scribd company logo
Spring: your next Java
micro-framework
Safe Harbor Statement
The following is intended to outline the general direction of VMware's offerings. It is intended for information
purposes only and may not be incorporated into any contract. Any information regarding pre-release of
VMware offerings, future updates or other planned modifications is subject to ongoing evaluation by
VMware and is subject to change. This information is provided without warranty or any kind, express or
implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied
upon in making purchasing decisions regarding VMware's offerings. These purchasing decisions should only
be based on features currently available. The development, release, and timing of any features or
functionality described for VMware's offerings in this presentation remain at the sole discretion of Pivotal.
Pivotal has no obligation to update forward looking information in this presentation.
2
What do I mean by "a micro-framework"?
[...] Typically, a microframework facilitates receiving an HTTP request, routing
the HTTP request to the appropriate controller, dispatching the controller,
and returning an HTTP response. Microframeworks are often specifically
designed for building the APIs for another service or application.
❏ Runtime efficiency
❏ Ease of local development
❏ Code simplicity
❏ Container friendliness
Spring Boot
Runtime efficiency - sub-second startup time, minimal memory footprint on top of
JVM. AOT compilation into a static binary using GraalVM - work in progress.
Local development - Live reload with Spring Boot DevTools.
Code simplicity - plenty of features to simplify your code.
Container friendly - building Docker images with Cloud Native Buildpacks, K8S
support.
1.
Runtime efficiency
Spring Boot 2.3+ app can start just under 1 second
Starting JVM and initializing your app takes time
Competing in lowest possible -Xmx is pointless
Some quick wins
✓ Lazy beans initialization
✓ Lazy repository initialization
✓ Exploded JARs
✓ Reactive stack
✓ Different JVMs (e.g. GraalVM)
Code simplicity
Code simplicity
✓ Component scanning → Functional beans
✓ Route mapping → Functional routing
✓ Generated queries → @Query or explore alternatives to JPA
"Whole app in the main method" is perfectly doable with Spring Boot
Local development
Spring Boot DevTools
✓ Restarting your app automatically when classpath changes
✓ Super-fast (tenths of a second)
✓ LiveReload
✓ Also supports remote development - restarting the app running in a container
Container friendliness
✓ Building Docker images out-of-the box
✓ Support of Cloud Native Buildpacks
✓ Support of Kubernetes - liveness, readiness, and graceful shutdown
$ mvn :spring-boot:build-image
$ gradle bootBuildImage
Spring Boot
✓ Efficient
✓ Supports interactive development
✓ Flexible in Simple / Easy balance
✓ Container and K8S friendly
@alek_sys
Introduction to WebMvc.fn
Spring Boot Revisited with KoFu and JaFu
The Path Towards Spring Boot-Native Applications
#springone@s1p
Stay Connected.

More Related Content

PDF
Spring Tools 4: Bootiful Spring Tooling for the Masses
PDF
Handling Secrets in Your Cloud Native Architecture
PDF
Spring Boot Observability
PDF
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
PDF
What Is Spring?
PDF
Accelerate Spring Apps to Cloud at Scale
PDF
Observability Enhancements in Steeltoe
PDF
Developers Are Users, Too
Spring Tools 4: Bootiful Spring Tooling for the Masses
Handling Secrets in Your Cloud Native Architecture
Spring Boot Observability
Connecting Spring Apps to Distributed SQL Clusters Running in Kubernetes
What Is Spring?
Accelerate Spring Apps to Cloud at Scale
Observability Enhancements in Steeltoe
Developers Are Users, Too

What's hot (20)

PPTX
Improving Your Company’s Health with Middleware Takeout
PDF
Spring Boot Loves K8s
PDF
Welcome to the Metrics
PDF
Security Patterns for Microservice Architectures - SpringOne 2020
PDF
Going Serverless Using the Spring Framework Ecosystem
PDF
Walking Through Spring Cloud Data Flow
PDF
Spring to Image
PDF
Spring Boot Whirlwind Tour
PDF
Fundamental Spring Boot: Keep it Simple, Get it Right, Be Productive and Have...
PDF
Resilient Microservices with Spring Cloud
PDF
Creating Polyglot Communication Between Kubernetes Clusters and Legacy System...
PDF
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
PDF
Spring Data JDBC: Beyond the Obvious
PDF
DevSecOps with Confidence
PDF
Not Just Initializing
PDF
DevOps KPIs as a Service: Daimler’s Solution
PDF
The Path Towards Spring Boot Native Applications
PDF
From Monolith to K8s - Spring One 2020
PDF
SRE & Kubernetes
PDF
What’s New in Spring Data MongoDB
Improving Your Company’s Health with Middleware Takeout
Spring Boot Loves K8s
Welcome to the Metrics
Security Patterns for Microservice Architectures - SpringOne 2020
Going Serverless Using the Spring Framework Ecosystem
Walking Through Spring Cloud Data Flow
Spring to Image
Spring Boot Whirlwind Tour
Fundamental Spring Boot: Keep it Simple, Get it Right, Be Productive and Have...
Resilient Microservices with Spring Cloud
Creating Polyglot Communication Between Kubernetes Clusters and Legacy System...
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
Spring Data JDBC: Beyond the Obvious
DevSecOps with Confidence
Not Just Initializing
DevOps KPIs as a Service: Daimler’s Solution
The Path Towards Spring Boot Native Applications
From Monolith to K8s - Spring One 2020
SRE & Kubernetes
What’s New in Spring Data MongoDB
Ad

Similar to Spring: Your Next Java Micro-Framework (20)

PDF
Spring Boot Native written by software developers
PPTX
Module 6 _ Spring Boot for java application to begin
PDF
Everything you need to know about Java’s Spring Boot Microservices Architectu...
DOCX
Building Microservices in Java with Spring Boot and Spring Cloud
PPTX
Spring-Boot-A-Modern-Framework-for-Java-Developers.pptx
PPTX
Spring Boot and Microservices for Scalable Java Development – Learn with CBitss
PPTX
Spring Boot and Microservices for Scalable Java Development
PDF
Workshop Guide: RESTful Java Web Application with Spring Boot
PDF
Spring boot wednesday
PPTX
Spring boot
PDF
SpringOne Tour: Spring Boot 3 and Beyond
PDF
Microservices - java ee vs spring boot and spring cloud
PDF
Spring Boot
PDF
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
PDF
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
PDF
Introduction to Micronaut - JBCNConf 2019
PPT
Spring Boot. Boot up your development
ODP
Xke spring boot
PDF
Taking Micronaut out for a spin
PPTX
Bootify your spring application
Spring Boot Native written by software developers
Module 6 _ Spring Boot for java application to begin
Everything you need to know about Java’s Spring Boot Microservices Architectu...
Building Microservices in Java with Spring Boot and Spring Cloud
Spring-Boot-A-Modern-Framework-for-Java-Developers.pptx
Spring Boot and Microservices for Scalable Java Development – Learn with CBitss
Spring Boot and Microservices for Scalable Java Development
Workshop Guide: RESTful Java Web Application with Spring Boot
Spring boot wednesday
Spring boot
SpringOne Tour: Spring Boot 3 and Beyond
Microservices - java ee vs spring boot and spring cloud
Spring Boot
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
Introduction to Micronaut - JBCNConf 2019
Spring Boot. Boot up your development
Xke spring boot
Taking Micronaut out for a spin
Bootify your spring application
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PPTX
assetexplorer- product-overview - presentation
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
ai tools demonstartion for schools and inter college
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
L1 - Introduction to python Backend.pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Design an Analysis of Algorithms I-SECS-1021-03
assetexplorer- product-overview - presentation
Which alternative to Crystal Reports is best for small or large businesses.pdf
ai tools demonstartion for schools and inter college
PTS Company Brochure 2025 (1).pdf.......
Softaken Excel to vCard Converter Software.pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
VVF-Customer-Presentation2025-Ver1.9.pptx
Designing Intelligence for the Shop Floor.pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Reimagine Home Health with the Power of Agentic AI​
Digital Systems & Binary Numbers (comprehensive )
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
L1 - Introduction to python Backend.pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
CHAPTER 2 - PM Management and IT Context
Understanding Forklifts - TECH EHS Solution
Adobe Illustrator 28.6 Crack My Vision of Vector Design
2025 Textile ERP Trends: SAP, Odoo & Oracle
Design an Analysis of Algorithms I-SECS-1021-03

Spring: Your Next Java Micro-Framework

  • 1. Spring: your next Java micro-framework
  • 2. Safe Harbor Statement The following is intended to outline the general direction of VMware's offerings. It is intended for information purposes only and may not be incorporated into any contract. Any information regarding pre-release of VMware offerings, future updates or other planned modifications is subject to ongoing evaluation by VMware and is subject to change. This information is provided without warranty or any kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions regarding VMware's offerings. These purchasing decisions should only be based on features currently available. The development, release, and timing of any features or functionality described for VMware's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this presentation. 2
  • 3. What do I mean by "a micro-framework"? [...] Typically, a microframework facilitates receiving an HTTP request, routing the HTTP request to the appropriate controller, dispatching the controller, and returning an HTTP response. Microframeworks are often specifically designed for building the APIs for another service or application. ❏ Runtime efficiency ❏ Ease of local development ❏ Code simplicity ❏ Container friendliness
  • 4. Spring Boot Runtime efficiency - sub-second startup time, minimal memory footprint on top of JVM. AOT compilation into a static binary using GraalVM - work in progress. Local development - Live reload with Spring Boot DevTools. Code simplicity - plenty of features to simplify your code. Container friendly - building Docker images with Cloud Native Buildpacks, K8S support. 1.
  • 5. Runtime efficiency Spring Boot 2.3+ app can start just under 1 second Starting JVM and initializing your app takes time Competing in lowest possible -Xmx is pointless Some quick wins ✓ Lazy beans initialization ✓ Lazy repository initialization ✓ Exploded JARs ✓ Reactive stack ✓ Different JVMs (e.g. GraalVM)
  • 7. Code simplicity ✓ Component scanning → Functional beans ✓ Route mapping → Functional routing ✓ Generated queries → @Query or explore alternatives to JPA "Whole app in the main method" is perfectly doable with Spring Boot
  • 8. Local development Spring Boot DevTools ✓ Restarting your app automatically when classpath changes ✓ Super-fast (tenths of a second) ✓ LiveReload ✓ Also supports remote development - restarting the app running in a container
  • 9. Container friendliness ✓ Building Docker images out-of-the box ✓ Support of Cloud Native Buildpacks ✓ Support of Kubernetes - liveness, readiness, and graceful shutdown $ mvn :spring-boot:build-image $ gradle bootBuildImage
  • 10. Spring Boot ✓ Efficient ✓ Supports interactive development ✓ Flexible in Simple / Easy balance ✓ Container and K8S friendly
  • 11. @alek_sys Introduction to WebMvc.fn Spring Boot Revisited with KoFu and JaFu The Path Towards Spring Boot-Native Applications #springone@s1p Stay Connected.