Lets create a java sample project part 1

Karl Kildén
2 min readDec 30, 2021

I have wanted to create a sample application for a long time but never got around to it. I mostly want to create the business logic and the architecture based on clean architecture.

But lets do a few basic selections to get started

  • Build system
    We will go with maven. We want to use jigsaw in some fashion but can’t figure out how in a satisfactory way as it does not solve the problem fully. I know I will use dependencies so maven fits well. I don’t like the raw power of gradle, and the risk of ending up inventing maven with gradle. Javas very limited scope and module system is what it is, and the kind of setup I like is a bit chatty with maven, but it will do. In general, this decision can be a bit of an autopilot for me, because I know maven won’t hold me back and just works.
  • Publishing site
    Any reason to not use github? I would like an opinion on it, but I must say github has been awesome for me.
  • Domain
    I think this is really hard. I have pondered this a bit too much, as I don’t want a sample app that bores me to death whilst working on it. I have decided to try for something I believe should exist. I will call it “Cable Stream”. This will be a fake product, that sits on top of streaming services such as Netflix and HBO, and combines them to one with a few other integrations.
  • package root
    com.kildeen.cs will suffice. The extra e means little more than that I own that domain.

Lets do the work in the next one

--

--

Karl Kildén
0 Followers

Software and product professional. I work on getting software projects (mostly products) to where they need to be.