Author: Kunal Yadav
Practical Java projects built across three modules, starting with core Java and Maven, then moving to desktop GUIs and multithreading, and ending with Spring Boot web applications. Each project is a separate, self-contained Maven project with its own README, unit tests and screenshots of the running application.
| Module | Project | What it shows | Type |
|---|---|---|---|
| Module 1 | greeting-app | Maven project structure, build lifecycle, JUnit 5, executable JAR | Console |
| Module 1 | stock-inventory-system | OOP, collections, validation, file storage, layered design | Console (menu driven) |
| Module 2 | swing-calculator | Java Swing GUI, event handling, keyboard shortcuts, executable JAR | Desktop GUI |
| Module 2 | concurrent-sales-processor | ExecutorService thread pool, Callable/Future, CSV parsing, report generation |
Multithreaded console |
| Module 3 | request-mapping-demo | Spring MVC @RequestMapping, @GetMapping/@PostMapping, @PathVariable, @RequestParam, REST JSON |
Spring Boot web |
| Module 3 | employee-portal | Spring Security roles, Thymeleaf, Bean Validation, pagination/sorting, JWT-secured REST API | Spring Boot web |
| Language | Java 25 |
| Build | Apache Maven 3.9 (Maven Wrapper included in every project) |
| Testing | JUnit 5, Spring MockMvc, Spring Security Test |
| GUI | Java Swing |
| Concurrency | ExecutorService, Callable, Future |
| Web | Spring Boot 4.1.1, Spring MVC, Thymeleaf, Spring Security, Jakarta Validation |
| API security | JSON Web Tokens (JJWT 0.12.6) |
java_projects_srm/
├── Module-1/
│ ├── greeting-app/
│ └── stock-inventory-system/
├── Module-2/
│ ├── swing-calculator/
│ └── concurrent-sales-processor/
└── Module-3/
├── request-mapping-demo/
└── employee-portal/
Every project folder contains:
<project>/
├── src/main/java/... application code
├── src/test/java/... unit / integration tests
├── screenshots/ output captured from the running app
├── pom.xml Maven build file
├── mvnw, mvnw.cmd Maven Wrapper (no Maven install needed)
└── README.md how to build, run and use the project
Prerequisite: JDK 25 installed and JAVA_HOME set. Maven is not required because
each project ships with the Maven Wrapper.
java -version # should print 25.xBuild and test any project (Windows PowerShell):
cd Module-1\stock-inventory-system
.\mvnw.cmd clean package
java -jar target\stock-inventory.jarOn Linux/macOS use ./mvnw clean package instead.
Run commands for each project are listed in its own README.
| Project | Tests |
|---|---|
| greeting-app | 3 passing |
| stock-inventory-system | 7 passing |
| swing-calculator | 9 passing |
| concurrent-sales-processor | 5 passing |
| request-mapping-demo | 5 passing |
| employee-portal | 16 passing |
| Total | 45 passing |
Run all tests of a project with .\mvnw.cmd test.
