This project implements a simple payment system using ApplicationContext and Bean in Spring Boot. It is designed to demonstrate how to dynamically select and use payment providers based on user input.
- Modular implementation of multiple payment providers.
- Dynamic selection of payment providers based on user input.
- Demonstrates the power of Spring's
ApplicationContext
for managing beans and dependencies.
- Spring Boot: Framework for building Java-based applications.
- Java: Programming language used for the implementation.
- Maven: Build automation tool.
- Users make an online purchase and select their preferred payment provider (e.g., Paytm, RozerPay, etc.).
- The application retrieves the corresponding payment provider bean using
ApplicationContext
. - The selected provider processes the payment and displays its name on the console.
- Clone this repository:
git clone https://github.com/deepakmali-09/springboot-p03.git