Microservices

Getting started with Dropwizard

Reading Time: 4 minutes
Dropwizard is a framework for rapid application development. Dropwizard pulls and glues together Jetty application server, Jersey REST framework, Jackson for serialization/deserialization and a bunch of other libraries, so you have everything at hand to develop full-featured Java-based RESTful web-applications. Read more…

By romanmarkunas, ago
Build

Creating fat JARs with gradle

Reading Time: 2 minutes
Here’s a quick tutorial on how to package your java application and dependencies into single fat JAR (shadow JAR, capsule, however it’s called) with gradle. Easy solution using built-in JAR gradle plugin jar { from {configurations.compile.collect { it.isDirectory() ? it Read more…

By romanmarkunas, ago
Java

Notes on Java Random

Reading Time: 4 minutes
Notes on Java Random This article is inspired by Monty-Hall problem/paradox. Now I found this paradox disturbing initially (this is why it’s paradox, wink…), and decided to quickly model it to validate for myself. That brought idea of writing up Read more…

By romanmarkunas, ago