Skip to content

TejanyaKumar/SpringCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SpringCore Project

A simple Spring Core project demonstrating basic concepts of the Spring Framework, including Dependency Injection (DI), Bean Management, and Collection Injection.


πŸ“‚ Project Structure

SpringCore/ β”‚ β”œβ”€β”€ src/main/java/com/ β”‚ β”œβ”€β”€ Address.java # POJO for Address β”‚ β”œβ”€β”€ Employee.java # Employee class with Set and Map collections β”‚ β”œβ”€β”€ Student.java # Student class with nested Address bean β”‚ β”œβ”€β”€ Sim.java # Interface example β”‚ └── Test.java # Main class to run the Spring application β”‚ β”œβ”€β”€ src/main/resources/ β”‚ └── beans.xml # Spring configuration file β”‚ └── pom.xml # Maven configuration file

πŸ’‘ Features

  • Dependency Injection
    • Setter Injection
    • Constructor Injection
  • Collection Injection
    • Set for skills
    • Map for hobbies
  • Nested Beans
    • Student contains Address bean
  • Spring ApplicationContext
    • Fetching beans from XML configuration

βš™οΈ Prerequisites

  • Java 17+
  • Maven 3+
  • IDE (Eclipse, IntelliJ IDEA, VS Code)
  • Spring Framework 6.x

πŸƒ How to Run

  1. Clone the repository:
git clone https://github.com/TejanyaKumar/SpringCore.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages