Skip to content

This repository contains a set of Spring Framework examples and modules. It covers various topics such as inversion of control, aspect-oriented programming, JPA/Hibernate, model-view-controller, and Spring Data. Each tutorial includes a detailed explanation and code examples that can help users learn and implement Spring Framework in their project.

Notifications You must be signed in to change notification settings

aamirxshaikh/learn-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring

This repository contains several projects demonstrating the usage of different modules in the Spring Framework.

Table of Contents

Projects

Aspect-Oriented Programming (AOP)

A project demonstrating the usage of Aspect-Oriented Programming (AOP) in Spring.

Inversion of Control (IoC)

A project demonstrating the usage of Inversion of Control (IoC) in Spring.

JPA and Hibernate

A project demonstrating the usage of JPA and Hibernate with Spring.

  • HibernateConfig: A project demonstrating the Hibernate configuration in Spring.
  • JPAConfig: A project demonstrating the JPA configuration in Spring.
  • JPAHibernateCascadeOperations: A project demonstrating cascading operations in JPA and Hibernate.
  • JPAHibernateEmbeddingCollections: A project demonstrating the usage of embedded collections in JPA and Hibernate.
  • JPAHibernateInheritedClasses: A project demonstrating the usage of inherited classes in JPA and Hibernate.
  • JPAHibernateQueries: A project demonstrating the usage of queries in JPA and Hibernate.
  • JPAHibernateRelationships: A project demonstrating the usage of relationships in JPA and Hibernate.
  • JPAHibernateStarterAndCRUD: A starter project demonstrating the usage of JPA and Hibernate with CRUD operations.

Model-View-Controller (MVC)

A project demonstrating the usage of Model-View-Controller (MVC) in Spring.

  • AuthCRUDMySQL: A project demonstrating a CRUD operation with authentication using MySQL.
  • FormsAndFiles: A project demonstrating the usage of forms and files in Spring.
  • HandlingReqErr: A project demonstrating how to handle requests and errors in Spring.
  • StarterMVC: A starter project demonstrating the usage of Model-View-Controller (MVC) in Spring.

Spring Data

A project demonstrating the usage of Spring Data.

  • SpringDataJDBC: A project demonstrating the usage of Spring Data JDBC.
  • SpringDataJDBCCrudRepository: A project demonstrating the usage of Spring Data JDBC with CrudRepository.

Installation

  1. To run the projects, you'll need to have Java installed on your machine. You can download Java from the official website.

  2. Install an Integrated Development Environment (IDE) such as IntelliJ or Visual Studio Code.

Usage

  1. To use the projects in this repository, simply clone the repository to your local machine using the following command:

    git clone https://github.com/aamirxshaikh/spring

  2. After you've cloned the repository to your local machine, you can open the project directory in your preferred IDE to edit the code.

  3. You can simply run the project in the IntelliJ IDEA by clicking the "run" icon.

Contributing

Feel free to contribute to this repository by adding your own Java programs or improving the existing ones. Simply fork the repository, make your changes, and create a pull request. I'll be happy to review and merge your changes.

License

This repository is licensed under the MIT License. See the LICENSE file for details.

About

This repository contains a set of Spring Framework examples and modules. It covers various topics such as inversion of control, aspect-oriented programming, JPA/Hibernate, model-view-controller, and Spring Data. Each tutorial includes a detailed explanation and code examples that can help users learn and implement Spring Framework in their project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published