Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Core 0 --> 1

Learning Log

  • 30 September 2025 → Completed Setter Injection using Spring XML configuration.
  • 1 October 2025 → Completed Constructor Injection, explored p-schema & c-schema, and resolved ambiguity issues with constructor-arg order.
  • 2 October 2025 → Completed Bean LifeCycle, explored 3 method of Configuring Bean Lifecycle:- Using XML Config, Using Interface( InitializingBean, Disposable Bean ).
  • 3 October 2025 → Completed AutoWiring covered byName, byType, constructor and @autowired annotation.
  • 4 October 2025 → Completed Standalone Collection covered.
  • 5 October 2025 → Completed Stereotype Annotation, SingleTon, Bean Scope, Spring expression language covered.
  • 6 October 2025 → Completed Spring JDBC covering......
  • 13 October 2025 → After a long break( due to interviews ) Spring JDBC started implementation......
  • 21 October 2025 → Enjoyed Diwali Spring JDBC started implementation......
  • 22 October 2025Spring JDBC implemented basic jdbc CRUD operation...

    PLACED IN CAPGEMINI

  • 12 November 2025Row Mapper and ORM
  • 18 November 2025Hibernate
  • 19 November 2025Spring Hibernate
  • 20 November 2025MVC
  • 21 November 2025MVC- First understanding servlet
  • 22 November 2025MVC- Completed

    Now we begin our journey with Spring Boot. Let’s stop here


What I Did

  • Created a Maven project
  • Added spring-context dependency
  • Implemented a Student POJO bean
  • Wired the bean in config.xml using both setter and constructor injection
  • Explored p-schema and c-schema for cleaner XML configuration
  • Learned about ambiguity handling in constructor arguments
  • Loaded Spring context in App.java and used the bean successfully

Project Structure

Spring-Practice  
├─ src/main/java/org/example  
│  ├─ App.java  
│  └─ Student.java  
├─ src/main/resources  
│  └─ config.xml  
└─ pom.xml

Note: config.xml must be inside src/main/resources so it is available on the classpath.

Run

  • From IDE: run App.main()

  • mvn clean compilemvn -Dexec.mainClass="org.example.App" exec:java # if exec plugin configured

Quick tips

  • Ensure target/classes/config.xml exists after build.

  • If Spring complains about parsing config.xml, check file location, XML syntax, and encoding (use UTF-8 without BOM).

📚 Source

Currently learning from this YouTube playlist:Spring Framework Tutorial - Telusko

About

Today's Goal - Basic of Spring Framework

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages