All posts in 'Java'

Wildly unused helper: EnumSet

22-Nov-17

Available since Java 1.5 is the nice helper class EnumSet and I still way to often code like this: public class Foo { enum Thing { A, B, C }   public static final Set<Thing> THINGS = new HashSet<>(); static { THINGS.add(Thing.A); THINGS.add(Thing.B); THINGS.add(Thing.C); } }public class Foo { enum Thing { A, B, C […]

Read the complete article »

Integration testing with Docker-Compose, Gradle and Spring Boot

20-Nov-17

Lately I have been preparing a small project called simple-meetup that I plan to use for different purposes. You’ll find the repository at GitHub: github.com/michael-simons/simple-meetup. It’s the first project where I used Gradle very intensive and I like my build file a lot. The first intention of this repository is being an example for an […]

Read the complete article »

Past summer: October wrap-up

28-Oct-17

This year, time flies. Writing this post at about 7pm, it’s already dark. October had some brilliant moments regarding weather and I enjoyed the golden autumn very much. As announced last month, I send the “final” manuscript of Spring Boot Buch to dpunkt.verlag in the last week of September. 2 weeks later, I received three […]

Read the complete article »

Hibernate Search with Spring Data on Pivotal CF revisited

06-Oct-17

About a year ago I published an article called Running Hibernate Search with Elasticsearch on Pivotal CF. In several projects I use Hibernate Search. If you’re already have Hibernate-JPA-Entities in your project and you need a full text index for some of them, its really easy to add a Lucene based index by just using […]

Read the complete article »

September wrap-up

19-Sep-17

As the keen reader may have noticed, there hasn’t been an August summary about the work on Spring Boot Buch. There have been several reasons: At the end of July I gave in the manuscript for lecturing at dpunkt.verlag. After that, I took all holiday I had left at my current company and went on […]

Read the complete article »