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…
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…
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.
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.
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?
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.
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…