This is a monolithic legacy Java application for a small retail business, built with Spring Boot, JSP, and JDBC (no REST APIs, no cloud dependencies). It manages customers, products, and orders, and uses a local H2 database. This app is intended for later modernization to Azure.
- Customer management (add/view customers)
- Product catalog (add/view products)
- Order creation (place/view orders)
- Monolithic structure, server-rendered JSP pages
- Local H2 database (no cloud, no containers)
- Java 11+ (✅ You have Java 23 installed)
- Apache Maven 3.6+ (❌ Not installed - see installation steps below)
- Download Maven from https://maven.apache.org/download.cgi
- Extract to a folder (e.g.,
C:\apache-maven-3.9.6) - Add Maven's
bindirectory to your system PATH - Restart your terminal and verify with
mvn -version
If you prefer not to install Maven globally, you can use the Maven wrapper:
# On Windows PowerShell
.\mvnw.cmd spring-boot:run- First time setup: Install Maven (see above) or use Maven wrapper
- Build and run the app:
# With Maven installed globally: mvn spring-boot:run # OR with Maven wrapper (no Maven installation needed): .\mvnw.cmd spring-boot:run
- Access the application:
- Open your browser to http://localhost:8080
- The app will redirect to the Customers page
- Navigate between Customers, Products, and Orders using the links
- Customers (
/customers) - Add and view customers - Products (
/products) - Add and view products with prices - Orders (
/orders) - Create orders and add items to orders - H2 Console (
/h2-console) - View database directly (JDBC URL:jdbc:h2:mem:ordersdb)
The H2 in-memory database console is available at http://localhost:8080/h2-console
- JDBC URL:
jdbc:h2:mem:ordersdb - Username:
sa - Password: (leave blank)
Press Ctrl+C in the terminal to stop the application.
This app will be used as a baseline for modernization to Azure (App Service, Azure SQL, REST APIs, Cosmos DB, etc.).