
Step by step, learn to create a Spring project from scratch, add dependencies via central repository, and load beans with a main method.
A Bean is an object which is created and managed by Spring Framework
Learn how autowiring in Spring injects object dependencies automatically, by name or by type, using XML or annotations, with constructor or setter injection in beans like employee and salary.
Discover how to configure beans with annotations in Spring, using a @Configuration class and @Bean methods for dependencies like Employee, and let the Spring context drive dependency injection.
#1. Lazy Loading can be specified through Bean xml file.
<beans>
<bean id="bid" class="com.pkg.Abcd" lazy-init="true"/>
<beans>
#2. As seen in video Scope can be specified using @Scope Annotation, for eg. @Scope("prototype")
#3. @Lazy Annotation can be used along with @Component, @Service annotations. @COmponent, @Service we will be exploring in next Lectures.
Explore bean scope and life cycle in annotation-based Spring configuration, comparing singleton and prototype scopes and illustrating init and destroy methods in the bean lifecycle.
Explore component scanning in Spring by using @Component and AnnotationConfigApplicationContext to auto-register beans, replacing XML configuration, and troubleshoot when no qualifying bean is found.
Learn how aspect oriented programming in spring modularizes crosscutting concerns like logging and transaction management, using aspects, advice, join points, pointcuts, and weaving with proxies.
Learn how springboard enables auto configuration, starter packages, and embedded tomcat to accelerate rest api development; build a hello world app and a customer CRUD controller.
Learn to implement a custom error object in spring boot rest api that includes date and time, occurrence details, and temporary or permanent status for richer exceptions.
Enable and configure logging in a Spring Boot app by importing logging packages, creating a logger, using multiple log levels, and routing logs to console or files via properties.
Explore spring boot jpa one-to-many and many-to-one relationships between user and actors, including join columns, lazy loading, and repository usage to create and retrieve related data.
Explore many-to-many relationships in Spring Boot JPA, using a join table to map users and addresses, and configure cascade behavior across one-to-many and many-to-one associations.
Apply Spring Boot JPA bean validations to an entity, enforcing not null names, email format, min and max values, negative values, and past date constraints via the request body.
Explore how to apply and combine multiple validation annotations in Spring Boot, including not null, not blank, pattern, size, email, digits, min/max, and future dates, to enforce data integrity.
Master derived query methods in Spring Boot with JPA to implement custom repository methods, including find by name and country, ignore case, contains, count, and top results.
retrieve records using a native query that returns a list of maps from a repository method, mapping country names to user names, with service and controller integration.
Learn how to map java.util.Date and Calendar fields in a JPA entity using @Temporal, choosing TemporalType.DATE, TIME, or TIMESTAMP to align with database types such as MySQL.
Explore spring boot actuator for remote monitoring, exposing health, metrics, logs, memory, and other management endpoints via configuration properties, with security considerations and runtime control.
Create custom Spring Boot actuator endpoints and extend existing ones with additional details from various sources, including health indicator, enabling read and write operations without extra configuration or dependencies.
This course covers below Topics in detail, with practical examples, downloadable Maven projects included in this course, for Learner's practicing purpose
Spring, Autowiring, REST API, AOP, Dependency Injection,
Spring Boot JPA, JpaRepository, CrudRepository, Entity Relationships(One to One, One to Many/Many to One, Many to Many)
Spring Security, WebSecuirtyConfigurerAdapter, Authentication, Authorization Method Level Security
GET, POST, PUT, DELETE with Path Parameters and Query Parameters
Sending JSON data using Postman tool to test REST APIs
RestControllers, Services, Repositories
You will be able to develop enterprise applications using Spring Boot Framework
More topics will be added shortly