InfoQ Homepage News Wicket support on Terracotta nears completion

Wicket support on Terracotta nears completion


The Wicket and Terracotta teams have Wicket up and running on Open Terracotta. Support is still not complete, but most of the examples that ship with Wicket now run without any problems. As soon as they have all the kinks out, Terracotta will put the configuration into a Terracotta config module.

Eelco Hillenius writes about the changes that have taken place in both Wicket and Terracotta to make configuring Wicket fairly easy, as well as descibing what configuration is needed for Wicket. Wicket was modified to have a tagging interface for all classes that need to be tracked by Terracotta. In Terracotta they added a feature that had existed previously but been removed or never committed to the mainline, to allow matching on subtypes of a class or interface when including classes to be monitored by Terracotta.

Hillenius notes that the last remaining piece is proper support of Wicket's EnumeratedType.

can currently be configured by enumerating all known values in Terracotta’s configuration. It would be very nice to have a more automatic support for this. Another thing with EnumeratedType is that we currently treat them as true immutables, and use the equality (==) operator on them in Wicket’s code base. This works even when serialized and deserialized, because EnumeratedType has a proper implementation of readResolve, in which it resolves to the locally available singleton instances.

He notes that currently readResolve is not supported by Terracotta so they will have to switch to the equals method as a workaround or wait for Terracotta to support readResolve.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.