Skip to content
DannyJo edited this page Sep 15, 2011 · 3 revisions

Introduction

Rift is a web framework written in Java on top of the Servlet API. The goal of Rift is to provide a low barrier (if any) to entry in creating web applications using Java. It provides a very quick way of creating a new page and there is hardly any setup.

Sub-Modules

Rift is built in a modular fashion, which essentially means that there is a core jar file which has the minimum set of features needed to accomplish it's goal. The idea behind the sub modules is to provided extended functionality such as integration with other libraries. At the moment there are a couple of modules with a decent degree of maturity.

rift-guice

This is a brilliant addition to Rift whereby on incoming requests your page beans will be instantiated by Guice and have dependencies injected.

rift-sitemap

The sitemap extension gives you the ability to add a @Sitemap annotation to your @Webpage' annotated beans. This in turn makes these pages automatically appear in sitemap.xml`.

rift-debug

This extension allows you to get a better view of things when they go wrong, ideal for development but don't include in your production code.

rift-json

The JSON extension to Rift, it gives you an implementation of the View interface (JsonView) and pulls in some external dependencies like JSON libraries. Ideal if you want to return a JSON object for AJAX requests or similar.

Clone this wiki locally