Tips and Tricks

Mocking Spring Beans with Apache Wicket And Mockito

Apache Wicket is a component based web application framework which offers good unit testing capabilities. This blog entry describes how you can use those capabilities to mock beans which are injected by using the Spring integration of Apache Wicket (Note: The precondition of this blog entry is that you are using Apache Wicket 1.5). The […] Read more

Creating Profile Specific Configuration Files With Maven

When we are writing software that is deployed to different environments, we often have to create different configuration files for each environment. If we are using Maven, we can do this by using build profiles. This blog post describes how we can create a build script that uses different configuration for development, testing, and production […] Read more

Creating a Runnable Binary Distribution With Maven Assembly Plugin

There are many ways that we can use when we want to share our applications with other people. For example, we can create a binary distribution that can be downloaded from our website. This blog post describes how we can create a runnable binary distribution by using the Maven Assembly Plugin. The requirements of our […] Read more

Wicket HTTPS Tutorial Part Two: Creating Secure Forms

My previous blog entry described how you can create secure webpages by using the Apache Wicket framework. However, since a common use case of a web application is to provide a secure channel for processing information, my previous blog entry is not very useful without additional information. This blog entry will provide a part of […] Read more

Wicket HTTPS Tutorial Part One: Creating Secure Webpages

Using HTTPS to secure certain parts of a webpage is a common requirement when dealing with confidential information. Yet I have been struggling to find a decent tutorial about the HTTPS support of the Apache Wicket framework. This blog entry is written as an answer to that problem, and I am going to describe, how […] Read more