This injection must be initialized in the Wicket WebApplication in order to enable Java EE 5 resource injection in Wicket Pages Add the initialization in WebApplication's init() method, e.g.
protected void init() { addComponentInstantiationListener(new JavaEEComponentInjector(this)); }
@author Filippo Diotalevi