Wicket Remove

This page uses Google Guice. There is a service interface called IMyService, with an implementation POJO called MyService. Guice is used to wire the implementation into the Page using an @Inject annotation. You can use this annotation on the fields of any Component subclass.

The value of the Label component below will be updated with the return value from one of the service's methods when you click the link.

Value: <not yet initialized>
To update the label above, click here.

The wicket-guice project will take care of proxying the injected beans so that your pages can be serialized safely. To configure your application for Guice injection, see the javadoc for GuiceComponentInjector.