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