Using JCaptcha as an alternate to Recaptcha for your JSF project

If you are looking for a basic Recaptcha alternative, here it is. Start by getting a copy of JCaptcha library here. Add the library to your project. You will also need the Apache collections and logging library.

Our JCaptcha will need a Servlet, a Service, and Image Engine. Don't worry they are all small classes. Our service is a Singleton as recommended by JCaptcha. The service creates our image engine. The service is instantiated by our servlet.

Sample outputs available near the bottom of this blog.