View on GitHub


weblets full project mirror

Download this project as a .zip file Download this project as a tar.gz file


Component libraries for web application frameworks often need to provide resource files along with implementation classes. For example, JavaServer Faces Renderers often need JavaScript, CSS and image resources.

Although dropping in an implementation JAR does make these components libraries available, the resource files must be extracted into the web application root.
This can easily lead to inconsistency problems between implementation code and resource files.

Weblets aims to solve this problem, without placing undue burden on the application developer. Although JavaServer Faces is mentioned as an explicit example. Weblets aims to solve the general problem in a non-Faces-specific way, and then provide an integration with Faces.

The Weblets project was born during a book research for an easy way of loading resources directly out of JAR. The book is now available - Pro JSF and Ajax: Building Rich Internet Components, and the Weblets project is an important part of this work.

This users documentation should help you to easily get started with Weblets and should give a short introduction into the usage of this small but hopefully helpful project.