Introduction 

JCaptcha try to strictly respect Inversion of Control pattern, in order to easier creation of components for concrete applications. On the other side the Spring Framework allows to use the power of IOC combined with XML declarations.
So that, every single component of jCaptcha can be declared in XML, and instanced through Spring. The application using jCaptcha should only manipulate a CaptchaService. 

Setting a captcha image configuration in Spring