As some of you may be aware, for the last year I am working on a pet project called JVM Bloggers with a goal to popularize blogging and knowledge sharing in the Polish Java developers community. We send a weekly summary with new blog posts and new videos published in the last 7 days. During last few weeks two major ...
Read More »Home »
Dockerizing Spring Boot Application
Docker here, Docker there, I see Dockers everywhere In this post I will describe process of migrating Spring Boot application to Docker. We will start with modifying build file, then we will create Dockerfile so it could be run locally. Finally we will publish our image in DockerHub. Introduction A few months ago I have started new personal project called ...
Read More »One and the Only One Reason to Customize IntelliJ IDEA Memory Settings
Don’t be a Scrooge and give your IDE some more memory Yesterday we had a discussion about customizing memory settings in IntelliJ IDEA and it appeared that some people do not do that, some people (like me) use some simple changeset and some developers craft a fancy, sophisticated setup that satisfy their needs. While working for a current project I ...
Read More »ZooKeeper, Curator and How Microservices Load Balancing Works
How Zookeeper makes sure that every worker happily gets some stuff to do from job delegating manager. Apache ZooKeeper is a tool to register, manage and discover services working on different machines. It is an indispensable member in technology stack when we have to deal with distributed system with many nodes which need to know where their dependencies are launched. ...
Read More »Handle Every Event in Your Akka Application
Event here, event there, events flying everywhere. Post about checking that every Akka event will finally find its home. Akka and reactive, event-based applications are new approach to creating software. We are using Akka pretty intensively in our current Scala-based project. Events fit our use cases especially well as we are communicating with external API which might be slow. This ...
Read More »Transparently persist and retrieve encrypted data from database
It’s over two months since my last post here but June and July were extremely busy and intensive months this year. First, organisation of Confitura (the biggest free conference for Java developers in Europe) was taking all of my free evenings and then, after quite nervous period in hospital, our 2nd son was born. But now, I will try to ...
Read More »XStream – XStreamely easy way to work with XML data in Java
From time to time there is a moment when we have to deal with XML data. And most of the time it is not the happiest day in our life. There is even a term “XML hell” describing situation when programmer has to deal with many XML configuration files that are hard to comprehend. But, like it or not, sometimes ...
Read More »Running unit tests and integration tests separately with Maven Failsafe and TestNG
Recently for my new pet project I decided that I would like to have some tests executed during standard mvn test and some other ones only during different phase, let’s call it integration phase. I googled and googled and nothing seemed to work, so after struggling with making my setup work I’ve decided to write down my findings how I ...
Read More »Apache Wicket: Remember Me functionality
It is quite common in web applications to have “Remember Me” functionality that allows user to be automatically logged in each time when he visits our website. Such feature can be implemented using Spring Security, but in my opinion using request based authentication framework with component based web framework is not the best idea. These two worlds just do not ...
Read More »