I just released the first version of the Script Component extension.
This is a tool allowing to register wiki component based on scripts. The difference with wiki components is that you describe and implement the whole component in a single script and use standard Java annotations to describe it instead of objects. This also make the component a lot faster because it’s compiler in Java while wiki component need to execute wiki content every time a method of the component is called.
See https://extensions.xwiki.org/xwiki/bin/view/Extension/Script%20Component/ for more details.