SlideShare a Scribd company logo
A Java Microservices project using
Spring Boot– Hands-on guide
Mr. Subramanyam Tirumani Vemala
subramanyam.vemala@capgemini.com
Detailed Steps:
This document contains the detailed steps with screenshots, to setup a Java Microservices project
using Spring Boot:
Target Audience:
All, who has the knowledge of Java.
Artifacts needed:
1. JDK11
2. Eclipse – IDE
3. Internet
Implementation Steps:
1. Create a Spring Starter Project.
2. Add the necessary Classes and dependencies in the pom.xml
3. Run as Spring Boot App on the Eclipse.
4. Check for the output both on the Console and the Browser.
File – New – Spring Starter Project - Create
Provide the necessary details for the Spring
starter project:
Choose the dependencies - Actuator:
Choose the dependencies - DevTools:
Choose the dependencies – Spring Web:
Project is created on the Eclipse:
Create Controller with GetMapping and
RestController:
A Microservices project structure on Eclipse:
View of JRE System Library:
View of Maven Dependancies:
pom.xml – Deployment descriptor
Project – Run as Spring Boot App:
Successfully deployed with tomcat started on
port 9081:
Console - Successfully deployed with tomcat
started on port 9081:
Browser output without GetMessage string:
http://localhost:9081/massage - output on
Chrome by REST call:
http://127.0.0.1:9081/massage - output on
Chrome by REST call:
Kill the tasks if the port has been used by
other services:
Kill the tasks if the port has been used by
other services:
C:Userssvemala>netstat -ano | findstr :9080
TCP 0.0.0.0:9080 0.0.0.0:0 LISTENING 31576
TCP [::]:9080 [::]:0 LISTENING 31576
C:Userssvemala>taskkill /PID 31576 /F
SUCCESS: The process with PID 31576 has been terminated.
C:Userssvemala>
Appendix:
Download the code from public GitGub:
1. HTTPS:
https://github.com/subbugh/java-microservices-springboot.git
2. SSH:
git@github.com:subbugh/java-microservices-springboot.git
3. Code Zip file:

More Related Content

What's hot (20)

PDF
Building UWP apps with React-Native
Maurice De Beijer [MVP]
 
PPTX
Ready! Steady! SpringBoot!
GlobalLogic Ukraine
 
PDF
Intro to meteor @py gotham Aug 15-16 2015
christieewen
 
PDF
Jenkins hand in hand
netdbncku
 
PDF
automationframework
Vijay Rangaiah
 
PDF
SpringBoot
Jaran Flaath
 
PDF
Is React reactive?
Maurice De Beijer [MVP]
 
PPTX
Running mule as worker role on azure
Son Nguyen
 
PPTX
Configuring Anypoint Studio MQ connector
Shanky Gupta
 
PPTX
Selenium Topic 2 IDE
ITProfessional Academy
 
PPTX
Fullstack workshop
Assaf Gannon
 
PPTX
React JS
Software Infrastructure
 
PPTX
Automated Acceptance Testing Example
Hani Massoud
 
PDF
Developer@sky
Claudia Danciu
 
PPTX
Mule tcat server - common problems and solutions
Shanky Gupta
 
PPTX
Reactive Web Development with Spring Boot 2
Mike Melusky
 
PPTX
Composite source in bound and out-bound
Son Nguyen
 
PDF
SpringPeople Introduction to Spring Framework
SpringPeople
 
PPTX
Github plugin setup in anypointstudio
Rajkattamuri
 
PPTX
Mule
irfan1008
 
Building UWP apps with React-Native
Maurice De Beijer [MVP]
 
Ready! Steady! SpringBoot!
GlobalLogic Ukraine
 
Intro to meteor @py gotham Aug 15-16 2015
christieewen
 
Jenkins hand in hand
netdbncku
 
automationframework
Vijay Rangaiah
 
SpringBoot
Jaran Flaath
 
Is React reactive?
Maurice De Beijer [MVP]
 
Running mule as worker role on azure
Son Nguyen
 
Configuring Anypoint Studio MQ connector
Shanky Gupta
 
Selenium Topic 2 IDE
ITProfessional Academy
 
Fullstack workshop
Assaf Gannon
 
Automated Acceptance Testing Example
Hani Massoud
 
Developer@sky
Claudia Danciu
 
Mule tcat server - common problems and solutions
Shanky Gupta
 
Reactive Web Development with Spring Boot 2
Mike Melusky
 
Composite source in bound and out-bound
Son Nguyen
 
SpringPeople Introduction to Spring Framework
SpringPeople
 
Github plugin setup in anypointstudio
Rajkattamuri
 
Mule
irfan1008
 

Similar to Java microservicesspringbootcasestudy2 (20)

PDF
Everything you need to know about Java’s Spring Boot Microservices Architectu...
ThinkODC
 
DOCX
Building Microservices in Java with Spring Boot and Spring Cloud
Clarion Technologies
 
PPTX
Spring Boot and Microservices for Scalable Java Development – Learn with CBitss
knareshofficial1
 
PPTX
Spring Boot and Microservices for Scalable Java Development
pavatimalhotrapavati
 
PDF
Java Microservices with Spring Boot and Spring Cloud - Denver JUG 2019
Matt Raible
 
PPTX
Spring-Boot-A-Modern-Framework-for-Java-Developers.pptx
VLink Inc
 
PDF
Magical monolith
Victor Perepelitsky
 
DOCX
Best Spring Boot & MicroServices Classroom & Online Training Naresh-IT
bank auction
 
PDF
Java Microservices_64 Hours_Day wise plan (002).pdf
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
PDF
Java Microservices_64 Hours_Day wise plan (002).pdf
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
PDF
Exploring Microservices Architecture with Spring Boot
Institute
 
PPTX
A Java Microservices Spring Boot and Docker case study.
Subramanyam Vemala
 
PDF
Developing microservices with Java and applying Spring security framework and...
IRJET Journal
 
PPTX
Demystifying microservices for JavaEE developers by Steve Millidge.
Payara
 
ODP
Developing Microservices using Spring - Beginner's Guide
Mohanraj Thirumoorthy
 
PDF
Lessons Learned from Migrating Legacy Enterprise Applications to Microservices
VMware Tanzu
 
PPTX
Java Developer Roadmap for beginners in 2022
WaiYanLinn11
 
PPTX
Bootify your spring application
Jimmy Lu
 
PDF
Spring Boot: a Quick Introduction
Roberto Casadei
 
PPTX
Create Microservice with Spring Boot and Docker
Sivaprakash
 
Everything you need to know about Java’s Spring Boot Microservices Architectu...
ThinkODC
 
Building Microservices in Java with Spring Boot and Spring Cloud
Clarion Technologies
 
Spring Boot and Microservices for Scalable Java Development – Learn with CBitss
knareshofficial1
 
Spring Boot and Microservices for Scalable Java Development
pavatimalhotrapavati
 
Java Microservices with Spring Boot and Spring Cloud - Denver JUG 2019
Matt Raible
 
Spring-Boot-A-Modern-Framework-for-Java-Developers.pptx
VLink Inc
 
Magical monolith
Victor Perepelitsky
 
Best Spring Boot & MicroServices Classroom & Online Training Naresh-IT
bank auction
 
Java Microservices_64 Hours_Day wise plan (002).pdf
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Java Microservices_64 Hours_Day wise plan (002).pdf
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Exploring Microservices Architecture with Spring Boot
Institute
 
A Java Microservices Spring Boot and Docker case study.
Subramanyam Vemala
 
Developing microservices with Java and applying Spring security framework and...
IRJET Journal
 
Demystifying microservices for JavaEE developers by Steve Millidge.
Payara
 
Developing Microservices using Spring - Beginner's Guide
Mohanraj Thirumoorthy
 
Lessons Learned from Migrating Legacy Enterprise Applications to Microservices
VMware Tanzu
 
Java Developer Roadmap for beginners in 2022
WaiYanLinn11
 
Bootify your spring application
Jimmy Lu
 
Spring Boot: a Quick Introduction
Roberto Casadei
 
Create Microservice with Spring Boot and Docker
Sivaprakash
 
Ad

More from Subramanyam Vemala (14)

PPTX
Domain Driven Development (DDD)
Subramanyam Vemala
 
PPTX
AWS Amazon Quantum Ledger Database (QLDB)
Subramanyam Vemala
 
PPTX
Java microservicesdockerdockerhubusecase2
Subramanyam Vemala
 
PPTX
Aws centralized logs
Subramanyam Vemala
 
PPTX
AWS SNS - Notifications through SMS and Email
Subramanyam Vemala
 
PPTX
Creating AppStream users through User Pool
Subramanyam Vemala
 
PPTX
Creating AppStream apps and configuring users with Domain Join.
Subramanyam Vemala
 
PPTX
AWS CodeCommit – Securing the Repository and Branches
Subramanyam Vemala
 
PPTX
AWS IAM User Setup for CodeCommit
Subramanyam Vemala
 
PPTX
AWS CodeCommit Setup
Subramanyam Vemala
 
PPTX
Migration architecture on_prem
Subramanyam Vemala
 
PPTX
Aws managed microsoft ad
Subramanyam Vemala
 
PPTX
AWS AD Connector - SSO - Directory Service - Cloud
Subramanyam Vemala
 
PPTX
Aws over view_demoppt
Subramanyam Vemala
 
Domain Driven Development (DDD)
Subramanyam Vemala
 
AWS Amazon Quantum Ledger Database (QLDB)
Subramanyam Vemala
 
Java microservicesdockerdockerhubusecase2
Subramanyam Vemala
 
Aws centralized logs
Subramanyam Vemala
 
AWS SNS - Notifications through SMS and Email
Subramanyam Vemala
 
Creating AppStream users through User Pool
Subramanyam Vemala
 
Creating AppStream apps and configuring users with Domain Join.
Subramanyam Vemala
 
AWS CodeCommit – Securing the Repository and Branches
Subramanyam Vemala
 
AWS IAM User Setup for CodeCommit
Subramanyam Vemala
 
AWS CodeCommit Setup
Subramanyam Vemala
 
Migration architecture on_prem
Subramanyam Vemala
 
Aws managed microsoft ad
Subramanyam Vemala
 
AWS AD Connector - SSO - Directory Service - Cloud
Subramanyam Vemala
 
Aws over view_demoppt
Subramanyam Vemala
 
Ad

Recently uploaded (20)

PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PDF
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 
PPTX
Presentation about variables and constant.pptx
kr2589474
 
PDF
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PDF
Troubleshooting Virtual Threads in Java!
Tier1 app
 
PDF
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
PPT
Brief History of Python by Learning Python in three hours
adanechb21
 
PDF
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
PPTX
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
PPTX
Farrell__10e_ch04_PowerPoint.pptx Programming Logic and Design slides
bashnahara11
 
PDF
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
PDF
AWS_Agentic_AI_in_Indian_BFSI_A_Strategic_Blueprint_for_Customer.pdf
siddharthnetsavvies
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PPTX
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 
Presentation about variables and constant.pptx
kr2589474
 
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
Troubleshooting Virtual Threads in Java!
Tier1 app
 
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
Brief History of Python by Learning Python in three hours
adanechb21
 
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
Farrell__10e_ch04_PowerPoint.pptx Programming Logic and Design slides
bashnahara11
 
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
AWS_Agentic_AI_in_Indian_BFSI_A_Strategic_Blueprint_for_Customer.pdf
siddharthnetsavvies
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 

Java microservicesspringbootcasestudy2