-
Enterprise Java
Spring – Designing the domain model and the service layer
We are going to build application for timesheet management. So let’s think about some uses cases and entities first. Let…
Read More » -
Core Java
Using PowerMock to Mock Constructors
In my opinion, one of the main benefits of dependency injection is that you can inject mock and/or stub objects…
Read More » -
Enterprise Java
Camel: Build a message based application
This is a long article that contains three separate topics: Getting started with Apache Camel with Java Improving startup of…
Read More » -
Enterprise Java
Configure timeout for CDI conversations
CDI conversation scope is a nice feature when developing JSF applications. Imagine you have large data tables which take a…
Read More » -
Enterprise Java
Hibernate: save vs persist and saveOrUpdate
What is difference between save and saveOrUpdate or Difference between save and persist are common interview question in any Hibernate…
Read More » -
Software Development
Software Development tips and tricks
These are just some tips and tricks I learnt over my career that I’d like to share. This list does…
Read More » -
Software Development
Programming Like Kent Beck
Three of us, namely Stig, Krzysztof, and Jakub, have had the pleasure of spending a week with Kent Beck during…
Read More » -
Enterprise Java
Twitter REST API from Scala and Java using signpost
If you’ve read some other articles on this blog you might know that I like creating visualizations of various datasets.…
Read More » -
Core Java
Java Hidden code
Sometime ago I came across the issue of invisible characters in Strings. These can really cause confusion because they are…
Read More »