In this post I’ll describe how to add a captcha to your web application with Wicket. A captcha is a a type of challenge-response test used to ensure that the response is generated by a person. Adding one thwarts bots sending a large amount of filled in forms to be stored.
This article deals with the best known one: an image with a series of characters and an input field to which the user must fill the characters of the image. First I describe how to do this, using the captcha component that is shipped with Wicket. After that I describe how to add the well known recaptcha. Read more…
Last week I started to participate in an ongoing project, where they develop their front-end using Wicket. As I don’t know Wicket too well, I started learning a bit more about it.
The first thing I like to learn when looking into new technology, after the Maven artifacts I need, is how to unit test it. I learn new technology test-driven because it helps me focus on a single aspect at a time, and get immediate feedback on my screwups. And as craftsmen the only code we write is clean code! Read more…
Apache Wicket seems to gain popularity. At least it looks like more and more (large) organisations use Wicket in their (production) web applications.
And why not?
- It’s open source (under the Apache licence)
- There is a large and active community
- There is no XML configuration
- There is good separation between logic (Java) and view (Html)
- It’s pure (OO) Java!
Read more…
Recent Comments