Get your Hippo content via a REST-API

If you’ve already built a few Hippo sites, you know how to build an HST-2 (Hippo Site Toolkit) website to deliver your content to the visitors of your website. But maybe, you want to expose the plain content straight from the repository to other systems.
If that is the case, you might consider building a plain REST-API, as it is a perfect way to achieve this objective.

The HST-2 from Hippo does support integration of JAX-RS components out-of-the-box, so in just a few steps this goal can be achieved.

When starting with the Hippo archetype (and some bootstrapped news-content in the repository), you can just follow the next steps to create a rest-api that will deliver all news-documents that are tagged with location = “AMS”. Read more…

Categories: Hippo Tags: ,

How we scrum

For the last one-and-a-half year I have been working in a scrum-project in the role of member of the development team and later on also in the role of backup scrum master. One day I was talking with one of my iPROFS-collegues about how we have adapted scrum in this project and from his reaction the both of us concluded it might look like an ordinary scrum implementation, but maybe it is not…

Read more…

Categories: Scrum Tags:

Using the Spock Framework for unit tests

19/03/2015 Leave a comment

The Spock framework is a testing and specification framework built on top of JUnit and Groovy. It has many strengths, but its true power lies in its ability to write tests in a very readable, concise manner, which can dramatically cut your amount of testing code. I will show you some examples later.

Another big advantage is the orientation towards data driven testing. If you have a lot of unit tests where there are multiple input variables which can take different values and leading to different outputs, then definitely have a look at the “where” clause of the Spock framework.

And… it is powered by Groovy !! This gives you a whole lot of power to expressively write your test code, as anyone that ever used Groovy can attest.
Read more…

Categories: iPROFS

Spring, Hibernate and @Transactional : “aha” moments

10/03/2015 Leave a comment

Recently I have been sweating to make annotated transactions work in Spring MVC with Hibernate ORM and want to share with you some “aha” moments that took me some time/blood/sweat/tears to find out. Hopefully you’ll find it useful.

The goal for me was to annotate Service methods with a @Transactional annotation so that Spring will automatically create a transaction around anything Hibernate-related that happens inside the method.

Read more…

Categories: iPROFS

JSR 371: The last web framework you’ll ever look at

While a lot of companies still are adopting Java EE 7 the fundamentals of the next major Java enterprise edition are already finished. JSR 366 is to develop Java EE 8, the next release of the Java Platform Enterprise edition. Java EE 8 will bring us a new action based web framework. Will this be the last java web framework you’ll ever look at?

Read more…

Categories: iPROFS, Java Tags:

2014, a year in conferences

04/02/2015 Leave a comment

2014 has been a busy year for me. So much so, that I didn’t get around to writing blogs about all the conferences I visited. So let me give you a short(ish) summary of the whole year instead.

Read more…

Off to a great team start with Tuckman, Lencioni and Ofman!

10/01/2015 Comments off

When you start as Scrum Master on a new team, they are usually just a collection of individuals that together have the skill set necessary to fulfil the goal of the team. In order for that group to become high-performing, you have to let them turn into a team. Yes, you read it right, you cannot turn them into a team, they have to do that themselves. The only thing you can do about it to facilitate the process they need, so it can speed up a bit. Read more…

Categories: Scrum

Get every new post delivered to your Inbox.

Join 275 other followers