In defense of the 3-tier architecture

Lately, there’s been a lot of buzz about Domain Driven Design, Rich Domain Models and the Onion Architecture. While this approach certainly has its merits, it often comes with a negative attitude towards the other, older alternative: the 3-tier architecture with an Lean Domain Model. In this article, I will explain why the old approach is not all bad and can be the preferred architecture in a lot of situations.
Continue reading

Logic, universally true or not?

Many people, once including me, consider logic to be a universally true concept. This is because it is separated from the physical world and does not make any assumptions about the physical world. Hence, it is universally true, regardless of physical uncertainties such as relativity, the correctness of our observations, the existence of multiple realities and so on. But is this really the case? Lately, I’ve been having some doubts about this, that I’d like to share with you.
Continue reading

From java.awt.print.Printable to PDF

When you want to convert a java.awt.print.Printable to a pdf file, your first course of action might be to Google for “java printable pdf”. If you do that though, all you get is links about how to send a pdf file to the (hardware) printer in java or how to “read” a pdf file in Java. No one seemed to have written an article about how to convert a java.awt.print.Printable to a pdf file. This is that article.
Continue reading

The Zenbi Architecture

I would like to give you an insight into the Zenbi Architecture: a new Client-Server Architecture, built around RMI, JavaFX and Cloud Computing, that rivals J2EE in many aspects and has the best theoretically achievable scalability. I will discuss the technical aspects, compare the Zenbi Architecture to JEE and discuss the main benefits and drawbacks.
Continue reading