
Explore the Spring framework features, including the core container and dependency injection and aspect oriented programming. See mvc, data access, security, batch processing, and messaging explained.
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
Explore bean scope in Spring by comparing prototype and singleton in a console app, with XML configuration showing a single instance and guidance on shared versus user-specific data.
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.
Discover how Spring Boot's @SpringBootApplication uses componentScan to add packages, scanning controllers, services, and repositories across multiple packages for auto configuration.
Learn how to implement exception handling in a Spring Boot REST API by creating a custom exception, a global exception handler, and mapping specific errors to responses for clients.
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.
Explore how to load external config in Spring using @Value and @ConfigurationProperties, enabling flexible properties for services like payment gateways, with single-property binding and prefix-based binding for multiple values.
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 how spring boot data jpa enables database interaction through repository, service, and entity layers, with runtime code generation, and object-relational mapping configured via application 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.
Learn to use the @Modifying annotation with @Query to perform update and delete operations in Spring Boot JPA within a transactional context, including applying a salutation prefix.
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.
Explore the differences between CrudRepository, paging and sorting repository, and JpaRepository, and how they extend each other in the repository layer. Learn when to use the JpaRepository as the superset.
Explore using java.time LocalDate and LocalDateTime in a Spring Boot JPA entity, then build repository, service, and controller to create users and query by date ranges or after a date.
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