Archive for the tag 'wicket'

Quickstart: Create a Wicket Web Application with Scala

Scala is an object-functional programming language, designed to concisely express solutions in an elegant, type-safe and lightweight manner (from Wikipedia). Scala is making life easier and more productive for the Java developers.

Apache Wicket is a lightweight component-based web application framework for the Java programming language. It lets developer to omit heaps of XML configuration files and be concentrated on producing nice Java code.

I’d like to join these two perfect things together: to develop a Web application on excellent Web framework using elegant object-functional programming language!


Read more »


reCAPTCHA Your Wicket Application


This sample project demonstrates one of plenty possible ways to integrate Google reCAPTCHA into Wicket-based web application. reCAPTCHA is a popular “CAPTCHA” implementation of bots abuse protection:

More information about CATCHA / reCAPTCHA is availabe at Google reCAPTHA page.


  • Java SDK 1.7
  • Apache Maven 3.x

… as well as any Java Development IDE, a browser and connection to Internet. Check if Maven and Java SDK are properly installed:

$ mvn --version
[email protected]:~$ mvn --version
Apache Maven 3.0.4 (r1232337; 2012-12-08 09:44:56+0100)
Maven home: /home/mykhaylo/devres/apache-maven-3.0.4
Java version: 1.7.0_10, vendor: Oracle Corporation
Java home: /home/mykhaylo/devres/jdk1.7.0_10/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-35-generic", arch: "amd64", family: "unix"
[email protected]:~$

In this demo I am using Apache Wicket 6.4.0. Additional libraries like JUnit 4.10, Log4J 1.2.x and Jetty 7.6.x servlet container are download by the Maven as project dependencies.

Create wicket project

Open a command line shell (like bash or cmd) and go to your favorite development folder. Create a dummy wicket project using Maven archetype:

Read more »