← Back to Projects

SPI Unit Converter

Academic Project

Built as part of my studies in software development

JavaSPIDesign Patterns

About the Project

A Java application built around the Service Provider Interface (SPI) pattern to demonstrate modular architecture and extensible design. Users select from several Converter implementations through a small command-line interface, and the ServiceLoader API keeps the design open for new converters.

Key Features

SPI Architecture

  • Service Provider Interface design
  • Pluggable converter modules
  • Extensible for new converters

Interface

  • Multiple converter implementations
  • Command-line input and output
  • ServiceLoader-based discovery

Design Patterns

  • Service Provider Interface (SPI)
  • Strategy Pattern
  • Factory Pattern