Skip to main content

You are currently viewing the Trifork Blog, to view our full website please go to Trifork.com

City-wide crowd management in Amsterdam

City-wide crowd management in Amsterdam

As most residents and visitors of Amsterdam know, every year more people are visiting Amsterdam, city wide events like GayPride, Koningsdag and MuseumNacht are getting bigger and more frequent, putting more strain on the city’s infrastructure and all people living in the city center. That’s why this November 7th, Amsterdam Marketing organized the Museumn8 hackathon […]

Active cache eviction with Ehcache and Spring Framework

Active cache eviction with Ehcache and Spring Framework

Caching is an essential to the majority of web applications. Let’s face it: most of the work done in an average web application (especially public ones) is repetitive, either the same user requesting the same information multiple times, or multiple users requesting the same information. The question is always: “How long do I cache”? We […]

Integrating Flyway In A Spring Framework Application

Integrating Flyway In A Spring Framework Application

This post is about how to integrate Flyway into a Spring/JPA application for database schema migration. To skip all the preambles and get straight to the instructions, jump to Project’s Dependencies Set-up Flyway is a database migration tool which helps do to databases, what tools like git/svn/mercurial does for source code…which is versioning. With Flyway you […]

Elasticsearch, Spring MVC & Sencha Touch 2 in the Cloud – Part 2

Elasticsearch, Spring MVC & Sencha Touch 2 in the Cloud – Part 2

This is the second part of my blog on how to develop an application using Elasticsearch, Spring MVC and Sencha Touch 2. In my previous blog post part 1 I showed and explained which technologies I used to accomplish the connection between the frontend and backend. In addition I presented the steps to connect a […]

Session Timeout and Concurrent Session Control with Spring Security and Spring-MVC

Session Timeout and Concurrent Session Control with Spring Security and Spring-MVC

A web application me and my team are building recently underwent a security review. As usual, because you haven’t yet had time to put any real effort into it, some security risks did surface. We use Spring Security and Spring-MVC and I will talk about implementing a session timeout and concurrent session control: nice subjects […]

Creating a mobile version of your website with Spring Mobile and Sitemesh

Creating a mobile version of your website with Spring Mobile and Sitemesh

About a year ago I developed an Android app for my website, but as not everybody has an Android device I wanted to create a mobile version of my website. In the mobile version I want to present slightly different data to make it look more like the app. In this post I will show […]

Use immutable objects in your Spring MVC controller by implementing your own WebArgumentResolver

How flexible is Spring MVC in combination with immutable objects? Why don’t we want Spring MVC decide for us how to build our objects used for binding? Curious how we tackled this problem? Read on! In our current project we are using Spring MVC 3 to build our frond-end. The binding mechanism of Spring MVC […]