Apache Wookie is a Java server application that allows you to upload and deploy widgets for your applications; widgets can not only include all the usual kinds of mini-applications, badges, and gadgets, but also fully-collaborative applications such as chats, quizzes, and games.
Wookie is based on the W3C Widgets specification, but widgets can also be included that use extended APIs such as Google Wave Gadgets and OpenSocial.
How does it work
Administrators can upload Widgets packaged according to the W3C Widgets specification. Wookie makes these available to applications using a REST API. These widgets can then be hosted in a container application such as Drupal, Wordpress, Moodle, Elgg or any other web based system.
Container applications may have a plugin that communicates with the Wookie server and enables users to pick widgets from a gallery. These are then added to user pages by the container application.
Wookie provides Connector Framework for many different programming languages that simplifies the process of writing these interfaces between your chosen container and Wookie where one does not already exist.