The Magic Behind the Spock

Spock rulez. Writing tests has never been simpler and more pleasant. All thanks to concise and informative syntax. But how is Spock syntax made possible?

Read More

Under The Boot

Remember the times when we had to register dispatchers, viewResolvers, etc. to make our spring application web-app? Then there was @EnableWebMvc annotation and now even this is redundant.
These days the only thing you need to do is to add ‘org.springframework.boot:spring-boot-starter-web’ dependency to your project and everything else is done automagically.

Read More

Transaction Troubles

Recently I’ve faced an interesting issue. Got transactional method saving entity to the database - method is called, no exception is thrown - but no data is stored into the db.

Read More

Spring I/O 2015 Barcelona

Few days ago 4F company gave me an opportunity to participate in Spring I/O conference in Barcelona.
2 days, 4 rooms and 41 speakers presenting technologies behind, within and around most popular java framework.
Having some conference history, at some point I developed believe that at any given event, many presentations and lectures find their place in agenda only by mere accident. All the more I was curious how all of this will look under watchful (I hoped) eye of Pivotal.

Read More

Gradle Build Phases

Always hungry for changes, some time ago 4F company moved from Maven to Gradle. Most of the migration work went relatively smoothly. Surprisingly though, not every developer was eager to sacrifice his precious time on something as trival as build tools and with rapid googling for example based knowledge some mistakes were made.
One of them can serve to decribe one of Gradle’s fundamental aspects - Build Phases.

Read More