Skip to content

a repo where i learn spring and spring boot from basics , all the theory can be found here about the basics of Spring for interview prep

Notifications You must be signed in to change notification settings

gnevercodes/springBoot-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌱 Spring Framework Tutorial

Welcome to my Spring Framework learning journey!

This repository documents my hands-on practice and notes as I explore and implement key Spring concepts. I’ve built this tutorial from scratch by combining lessons from trusted sources like GeeksforGeeks and my own interpretations to truly understand the Spring ecosystem.


βœ… What You’ll Learn

This project focuses on mastering the Spring Core module with real code examples and clear structure. Topics covered include:

  • πŸ”§ Beans & IOC Containers

    • Understanding BeanFactory and ApplicationContext
    • Managing bean lifecycles and scope (singleton, prototype, etc.)
  • 🧩 Dependency Injection (DI)

    • Constructor Injection
    • Setter Injection
    • XML and Annotation-based configurations
  • 🧠 Spring Expression Language (SpEL)

    • Dynamically injecting values into beans using expressions
  • πŸ’‘ Common Spring Annotations

    • @Component, @Service, @Repository, @Controller
    • @Autowired, @Qualifier, @Value, and more
  • πŸ§™β€β™‚οΈ Annotation vs XML Config

    • Legacy XML-based bean configuration vs modern annotation-driven development

πŸ“ Project Structure

spring-tutorial/ # actual project flow in every springboot application. 
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/
β”‚   β”‚   β”œβ”€β”€ java/
β”‚   β”‚   β”‚   └── com/ganesh/spring/    # Core Java logic
β”‚   β”‚   └── resources/
β”‚   β”‚       └── beans.xml             # XML configs
β”œβ”€β”€ pom.xml                           # Maven build file
β”œβ”€β”€ README.md

βš™οΈ Prerequisites

  • Java 8+
  • Maven
  • IDE (IntelliJ IDEA / Eclipse / VS Code)

πŸš€ How to Run

  1. Clone the repository:

    git clone https://github.com/yourusername/spring-tutorial.git
    cd spring-tutorial
  2. Compile and run:

mvn clean install validate test package
  1. or you can use maven wrapper.
./mvnw clean install

About

a repo where i learn spring and spring boot from basics , all the theory can be found here about the basics of Spring for interview prep

Topics

Resources

Stars

Watchers

Forks