ECAM EPMI · 2025 · Software Development · 3 min

Object-oriented Java application

StarUML modeling and Eclipse development of a Java solution to a practical problem.

3classes et tests
2outils principaux

Context and objective

This Java mini-project starts from an everyday management problem and builds both an object-oriented solution and its UML representation. The selected case handles clients and products, including displaying product characteristics and prices, adding items and searching for clients.

Architecture

The StarUML model formalizes classes, inheritance, encapsulation, multiplicities and stereotypes. The Eclipse implementation is split into three packages: metier for domain objects, dao for client data operations, and test for execution. An IProduit interface completes the product hierarchy.

Implementation

The code uses constructors, arrays and object ArrayList collections. ClientDao exposes methods including CreateClient() and getClientParMc(), called from GestionTest. A graphical interface adds products in tabular form and displays their characteristics. The report also documents correcting an execution error caused by a missing main method in the selected class.

Results and deliverables

The project provides the class diagram, Java sources including Client.java and GestionTest.java, and PDF and DOCX reports. The result connects a UML model to a working Java application organized by responsibility.

Lessons learned

The work shows how to translate a class diagram into executable packages and objects. It applies encapsulation, inheritance, interfaces, collections, DAO and entry-point concepts while highlighting separation between domain model, data access and tests.

01 · Project documents

Read the deliverables.

Original reports, presentations and guides are available without leaving the case study.

Object-oriented Java project report

PDF preview is not available in this browser. Open