Adventskalender 2025 (Advent Calendar 2025)

This December, Sven will be building an application in public.

The application idea is simple: a URL shortening service. Open source, of course.

Small idea, yet it still gives a great platform to explore the architectural and implementation details of various aspects of real-world applications.

It starts here: https://javapro.io/de/url‑shortener-adventskalender-2025/
(English version here)

This series is primarily in German, so the same in German (translation mithilfe google):

Diesen Dezember wird Sven eine Anwendung öffentlich entwickeln.
Die Idee ist simpel: ein URL-Kürzungsdienst. Natürlich Open Source.
Eine kleine Idee, die aber dennoch eine hervorragende Plattform bietet, um die Architektur und Implementierungsdetails verschiedener Aspekte realer Anwendungen zu untersuchen.

4 Likes

Hi,

This part of the readme might be updated, from main branch

I had to compile the entire project to get it to work.

directly with the urlshortener-server, it is not loading the core .jar file.

Is there a missing dependency? I just built everything in IDE. Based on the description, there is these parts in the system and core is needed by the server.

Module Description
urlshortener-core Core logic, DTOs, encoding utilities, and validation policies.
urlshortener-server REST server for administration and redirection, implemented using com.sun.net.httpserver.HttpServer.
urlshortener-client Minimal Java client that communicates with the admin API.
urlshortener-ui Vaadin Flow 24.9.0 web application (WAR) providing a graphical interface for managing shortened URLs.
1 Like

At the moment, I don’t see any missing dependencies, just that the steps in README.md are not up to date, but that’s no big deal.

1 Like