Courses Offered: SCJP SCWCD Design patterns EJB CORE JAVA AJAX Adv. Java XML STRUTS Web services SPRING HIBERNATE  

       

SPRING BOOT - MICROSERVICES & AI Course Details
 

Subcribe and Access : 5200+ FREE Videos and 21+ Subjects Like CRT, SoftSkills, JAVA, Hadoop, Microsoft .NET, Testing Tools etc..

Batch Date: Aug 24th @9:00PM

Faculty: Mr. Anand (13+ Yrs of Exp,..)

Duration : 45 Days

Venue :
DURGA SOFTWARE SOLUTIONS,
Flat No : 202, 2nd Floor,
HUDA Maitrivanam,
Ameerpet, Hyderabad - 500038

Ph.No: +91 - 8885252627, 9246212143, 80 96 96 96 96

Syllabus:

SPRING BOOT - MICROSERVICES & AI
with FREE Real Time Project

Prerequisites

Students should have Basic Knowledge of:

  • CORE JAVA Basics
  • OOP Concepts
  • Classes and Objects
  • Methods and Constructors
  • Collections Basics
  • Exception Handling Basics
  • Basic SQL knowledge is helpful but not mandatory

Note: JAVA Ffundamentals required for Spring Boot will be revised whenever needed during the course

45-Day Detailed Course Curriculum

Module 1: Introduction to Spring and Spring Boot

Days 1–3

Topics Covered

  • What is Spring Framework?
  • Why Spring Framework is used
  • Problems with traditional Java/JEE applications
  • What is Spring Boot?
  • Spring vs Spring Boot
  • Advantages of Spring Boot
  • Spring Boot architecture overview
  • Inversion of Control (IoC)
  • Dependency Injection (DI)
  • What is a Spring Bean?
  • Bean Scopes
  • Bean creation and lifecycle basics
  • Spring Container
  • ApplicationContext
  • Constructor Injection
  • Setter Injection
  • Field Injection
  • Recommended Dependency Injection practices

Important Annotations

  • @Component
  • @Service
  • @Repository
  • @Controller
  • @Autowired
  • @Configuration
  • @Bean

Practical Exercises

  • Create a simple Spring application
  • Create service classes
  • Inject one service into another
  • Understand how Spring creates and manages objects

Student Outcome

  • Students will understand the basic Spring architecture and how Dependency Injection works.

Module 2: Spring Boot Project Setup and Fundamentals

Days 4–6

Topics Covered

  • Installing and configuring Java
  • IDE setup
  • Maven basics
  • Understanding pom.xml
  • Maven dependencies
  • Spring Initializr
  • Creating first Spring Boot application
  • Understanding project folder structure
  • Main application class
  • @SpringBootApplication
  • Running Spring Boot application
  • Embedded server concept
  • Default Tomcat server
  • Changing application port
  • Auto Configuration
  • Starter dependencies
  • Configuration files

Configuration

  • application.properties
  • application.yml
  • Environment-specific configuration
  • Spring Profiles basics
  • Dev / Test / Production profile concepts

Practical Exercises

  • Create Spring Boot project using Spring Initializr
  • Add dependencies
  • Run the application
  • Change server port
  • Create separate configurations

Student Outcome

  • Students will be able to create and configure Spring Boot projects independently.

Module 3: REST API Development

Days 7–13

REST Fundamentals

  • What is REST?
  • REST architecture
  • Client-server architecture
  • Resource-oriented APIs
  • HTTP request and response
  • Understanding URLs and endpoints
  • JSON format
  • REST API standards

HTTP Methods

  • GET
  • POST
  • PUT
  • PATCH
  • DELETE

HTTP Status Codes

  • 200 OK
  • 201 Created
  • 204 No Content
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 500 Internal Server Error

Spring MVC / REST Annotations

  • @RestController
  • @Controller
  • @RequestMapping
  • @GetMapping
  • @PostMapping
  • @PutMapping
  • @PatchMapping
  • @DeleteMapping
  • @PathVariable
  • @RequestParam
  • @RequestBody
  • @ResponseBody

Request and Response Handling

  • Accepting JSON request
  • Returning JSON response
  • Multiple request parameters
  • Path parameters
  • Query parameters
  • Request headers basics
  • ResponseEntity
  • Custom HTTP status codes
  • API response structure

Practical Exercises

Build APIs for:

  • Create Employee
  • Get Employee by ID
  • Get All Employees
  • Update Employee
  • Delete Employee
  • Search Employee

Student Outcome

  • Students will be able to build complete CRUD REST APIs using Spring Boot.

Module 4: Layered Architecture and Clean Code

Days 14–16

Topics Covered

  • Why layered architecture is required
  • Separation of concerns
  • Controller Layer
  • Service Layer
  • Repository Layer
  • Model / Entity Layer
  • DTO Layer
  • Utility classes
  • Constants
  • Mapper classes

DTO Concepts

  • What is DTO?
  • Entity vs DTO
  • Request DTO
  • Response DTO
  • Why entities should not always be exposed directly
  • Manual object mapping

Coding Best Practices

  • Naming conventions
  • Package organization
  • Reusable methods
  • Avoiding duplicate code
  • Constructor injection
  • Interface and implementation pattern
  • Clean method design

Practical Exercises

Refactor Employee CRUD project into:

  • controller
  • service
  • repository
  • entity
  • dto
  • exception
  • util
  • config

Student Outcome

  • Students will understand how real-time Spring Boot projects are organized.

Module 5: Validation

Days 17–18

Topics Covered

  • Why request validation is required
  • Bean Validation
  • Jakarta Validation
  • Validating request objects
  • Validation error messages

Common Validation Annotations

  • @Valid
  • @NotNull
  • @NotBlank
  • @NotEmpty
  • @Size
  • @Min
  • @Max
  • @Email
  • @Pattern
  • @Positive
  • @Past
  • @Future

Custom Validation

  • Creating custom validation messages
  • Business validations in service layer
  • Difference between field validation and business validation

Practical Exercises

Validate:

  • Employee name
  • Email address
  • Salary
  • Phone number
  • Date of joining
  • Department information

Student Outcome

  • Students will know how to reject invalid API requests properly.

Module 6: Exception Handling

Days 19–20

Topics Covered

  • Java exceptions in Spring Boot
  • Checked vs unchecked exceptions
  • Custom exceptions
  • Handling service-layer exceptions
  • Global exception handling

Important Annotations

  • @ExceptionHandler
  • @ControllerAdvice
  • @RestControllerAdvice

Standard Error Response

Create a common error response containing:

  • Timestamp
  • Error code
  • Message
  • HTTP status
  • Request path

Custom Exceptions

Examples:

  • EmployeeNotFoundException
  • DepartmentNotFoundException
  • DuplicateEmployeeException
  • InvalidRequestException

Practical Exercises

  • Handle employee not found
  • Handle invalid request
  • Handle duplicate email
  • Return meaningful error messages

Student Outcome

  • Students will be able to build production-style API error handling.

Module 7: PostgreSQL Database Fundamentals

Days 21–23

Topics Covered

  • What is a relational database?
  • Introduction to PostgreSQL
  • Installing PostgreSQL
  • Database creation
  • Schema basics
  • Creating tables
  • Columns and data types
  • Primary Key
  • Foreign Key
  • Unique constraints
  • NOT NULL
  • Default values

SQL Operations

  • INSERT
  • SELECT
  • UPDATE
  • DELETE
  • WHERE
  • ORDER BY
  • GROUP BY
  • LIKE
  • IN
  • BETWEEN
  • JOIN basics

Practical Exercises

Create tables for:

  • Employee
  • Department
  • Role
  • User

Student Outcome

  • Students will understand the database concepts required for Spring Boot applications.

Module 8: Spring Data JPA

Days 24–28

Topics Covered

  • What is ORM?
  • What is JPA?
  • What is Hibernate?
  • JPA vs Hibernate
  • Spring Data JPA
  • Entity mapping
  • Repository pattern

Entity Annotations

  • @Entity
  • @Table
  • @Id
  • @GeneratedValue
  • @Column
  • @Transient
  • @Enumerated
  • @Temporal` concept

Repository

  • CrudRepository
  • JpaRepository
  • Repository methods
  • Save
  • Find
  • Delete
  • Exists

Query Methods

  • Derived query methods
  • Find by field
  • Multiple field conditions
  • Sorting
  • Pagination

Custom Queries

  • JPQL
  • Native SQL
  • @Query
  • Named parameters
  • Update queries basics

Practical Exercises

Build database-driven APIs for:

  • Employee CRUD
  • Search employees by name
  • Search by department
  • Search by salary
  • Pagination
  • Sorting

Student Outcome

  • Students will be able to integrate Spring Boot applications with PostgreSQL using JPA.

Module 9: Hibernate Relationships

Days 29–32

Topics Covered

  • Entity relationships
  • Database relationships
  • Foreign key mapping

Relationship Types

  • One-to-One
  • One-to-Many
  • Many-to-One
  • Many-to-Many

Important Concepts

  • mappedBy
  • @JoinColumn
  • Cascade Types
  • Lazy Loading
  • Eager Loading
  • Fetch strategies
  • Bidirectional relationships
  • Infinite recursion issue
  • JSON serialization concerns
  • Transaction basics
  • @Transactional

Performance Concepts

  • N+1 query problem introduction
  • Fetch Join basics
  • Avoiding unnecessary database calls

Student Outcome

  • Students will understand real-time database relationships using Hibernate.

Module 10: Advanced REST API Features

Days 33–34

Topics Covered

  • Pagination
  • Sorting
  • Filtering
  • Search endpoints
  • Optional request parameters
  • API response wrappers
  • API naming conventions
  • Versioning concepts
  • Date/time handling
  • Request and response standards

Practical Exercises

Build APIs such as:

  • GET /employees?page=0&size=10
  • GET /employees?sort=salary
  • GET /employees?department=IT
  • GET /employees/search?name=Anand

Student Outcome

  • Students will learn to design APIs similar to real-world backend applications.

Module 11: Spring Security and JWT

Days 35–38

Security Fundamentals

  • Why application security is required
  • Authentication
  • Authorization
  • Authentication vs Authorization
  • Spring Security basics
  • Security filter chain concept

User Management

  • User registration
  • Password encryption
  • BCrypt password encoder
  • Roles
  • Authorities

JWT

  • What is JWT?
  • JWT structure
  • Header
  • Payload
  • Signature
  • Token generation
  • Token validation
  • Expiration
  • Bearer Token
  • Sending token through Authorization header

Securing APIs

  • Public APIs
  • Protected APIs
  • Role-based endpoints
  • Admin vs User access
  • Handling unauthorized access
  • CORS basics

Practical Exercises

Implement:

  • POST /auth/register
  • POST /auth/login
  • GET /employees
  • POST /employees

Protect APIs using JWT.

  • Public APIs
  • Protected APIs
  • Role-based endpoints
  • Admin vs User access
  • Handling unauthorized access
  • CORS basics

Student Outcome

  • Students will understand how to secure Spring Boot REST APIs.

Module 12: Microservices Fundamentals

Days 39–41

Topics Covered

  • What is a Monolithic application?
  • What are Microservices?
  • Monolith vs Microservices
  • Benefits of Microservices
  • Challenges of Microservices
  • Service decomposition
  • Database-per-service concept
  • Inter-service communication

Service Communication

  • Synchronous communication
  • REST-based communication
  • Service-to-service API calls
  • Handling downstream failures
  • Timeout concepts
  • Retry concepts

Practical Architecture

Convert the project into basic services:

  • Employee Service
  • Department Service
  • Notification Service

Microservice Patterns – Introduction

  • API Gateway concept
  • Service Discovery concept
  • Circuit Breaker concept
  • Retry pattern

Student Outcome

  • Students will understand how multiple Spring Boot services work together.

Module 13: Kafka Basics

Days 42

Topics Covered

  • Why messaging systems are required
  • Synchronous vs asynchronous communication
  • What is Apache Kafka?
  • Kafka architecture basics
  • Topic
  • Partition
  • Producer
  • Consumer
  • Consumer Group
  • Offset
  • Message/event

Spring Boot Kafka

  • Adding Kafka dependency
  • Kafka producer
  • Kafka consumer
  • Sending messages
  • Receiving messages

Module 14: Git and GitHub

Days 43

Topics Covered

  • What is Version Control?
  • Git basics
  • GitHub basics
  • Repository
  • Clone
  • Add
  • Commit
  • Push
  • Pull
  • Branch
  • Checkout
  • Merge
  • Merge conflict basics
  • .gitignore
  • README
  • Pull Request concept
  • Code Review concept

Common Commands

  • git clone
  • git status
  • git add
  • git commit
  • git pull
  • git push
  • git branch
  • git checkout

Practical Exercise

  • Students will upload the Spring Boot project to GitHub.

Student Outcome

  • Students will understand the basic Git workflow followed in software teams.

Module 15: Agile and Real-Time Software Development Process

Days 44 – Part 1

Topics Covered

  • What is Agile?
  • Waterfall vs Agile
  • Scrum basics
  • Sprint
  • Sprint Planning
  • Daily Stand-up
  • User Story
  • Acceptance Criteria
  • Story Points concept
  • Product Owner
  • Scrum Master
  • Developer responsibilities
  • QA process
  • Jira basics
  • Code Review process

Real-Time Development Flow

  • Requirement
  • User Story
  • Development
  • Code Review
  • Testing
  • Bug Fix
  • Release

Student Outcome

  • Students will understand how development happens in a real software company.

Module 16: AI Tools for Spring Boot Developers

Days 44 – Part 2

Topics Covered

  • Introduction to AI coding assistants
  • How developers use AI in real projects
  • Prompting techniques for developers
  • Giving proper context to AI
  • Asking AI to explain code
  • Generating boilerplate
  • Generating REST APIs
  • Generating DTOs
  • Generating SQL
  • Debugging exceptions
  • Refactoring code
  • Generating documentation
  • Understanding stack traces

Practical AI Exercises

Students will use AI to:

  • Generate a REST controller
  • Generate DTO classes
  • Explain Spring annotations
  • Fix a Spring Boot exception
  • Generate PostgreSQL queries
  • Refactor code
  • Generate API documentation

AI Best Practices

  • Never blindly copy AI-generated code
  • Understand generated code
  • Verify logic
  • Check security concerns
  • Review database queries
  • Test generated solutions

Student Outcome

  • Students will learn how to use AI as a development assistant.

Assignments During the Course

Assignment 1

  • Create basic Employee REST APIs.

Assignment 2

  • Add Controller, Service and Repository layers.

Assignment 3

  • Add request validation.

Assignment 4

  • Implement global exception handling.

Assignment 5

  • Connect Spring Boot to PostgreSQL.

Assignment 6

  • Implement Employee and Department relationships.

Assignment 7

  • Implement pagination and sorting.

Assignment 8

  • Secure APIs using Spring Security and JWT.

Assignment 9

  • Create basic Microservices.

Assignment 10

  • Implement Kafka Producer and Consumer.

Tools Used During Training

Students will work with:

  • Java
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • PostgreSQL
  • MySQL
  • Maven
  • Postman
  • Git
  • GitHub
  • IntelliJ IDEA / Eclipse / VS Code
  • Kafka
  • Jira concepts
  • AI Coding Tools

What Students Will Be Able to Do After the Course

After completing the 45-day course, students should be able to:

  • Create Spring Boot applications
  • Build REST APIs
  • Design layered applications
  • Perform request validation
  • Implement global exception handling
  • Work with PostgreSQL
  • Use Spring Data JPA
  • Work with Hibernate relationships
  • Implement pagination and sorting
  • Secure applications with JWT
  • Understand Microservices
  • Build basic service-to-service communication
  • Understand Kafka producer/consumer
  • Use Git and GitHub
  • Understand Agile development
  • Use AI coding tools effectively
  • Build and explain a real-time Spring Boot project
  • Attend fresher Spring Boot interviews with practical knowledge

Course Highlights

  • 45 Days Online Training
  • Beginner-Friendly
  • Practical Spring Boot Training
  • REST API Development
  • PostgreSQL
  • JPA & Hibernate
  • Spring Security + JWT
  • Microservices Basics
  • Kafka Basics
  • Git & GitHub
  • Agile Process
  • AI Coding Tools
  • Real-Time Project
  • Assignments
  • Interview Preparation
  • Project Explanation Guidance

Spring Boot Backend Development – 45 Days Job-Oriented Training for Freshers

** Spring Boot | REST APIs | PostgreSQL | JPA | Hibernate | Security | JWT | Microservices | Kafka | Git | Agile | AI Tools | Real-Time Project **

Module 17: FREE REAL TIME PROJECT

Days 45

Employee Management System

Project Modules

1. User Management

2. Authentication

3. Employee Management

4. Department Management

5. Role Management

6. Notification Module

Project Architecture

Client / Postman
       |
Spring Boot REST APIs
       |
       +-------------------------------------+
       |                                                    |
Employee Service                    Department Service
       |       
PostgreSQL
       |       
Kafka Event
       |
Notification Service

Project Features

  • User Registration
  • User Login
  • JWT Authentication
  • Add Employee
  • Update Employee
  • Delete Employee
  • Get Employee
  • Search Employee
  • Employee pagination
  • Employee sorting
  • Department CRUD
  • Employee-Department relationship
  • Request validation
  • Global exception handling
  • PostgreSQL integration
  • JPA/Hibernate
  • Role-based access
  • Microservices introduction
  • Kafka notification event
  • GitHub repository

Project Deliverables

Students should complete:

  • Complete source code
  • Database scripts
  • Postman collection
  • GitHub repository
  • Project README
  • API list
  • Project architecture explanation