Apache Click

Apache Click™ is a modern JEE web application framework, providing a natural rich client style programming model. Apache Click is designed to be very easy to learn and use, with developers getting up and running within a day.

Highlights

  • Very easy to learn
  • Component and Page Oriented design
  • Event base programming model
  • Stateless (with support for light-weight stateful components)
  • Server-side Ajax support
  • Exceptional performance
  • Automatic form rendering and client/server side validation
  • Supports Velocity, JSP or FreeMarker page rendering
  • Supports Java 1.5 and up
//Java code
package examples.page;

import java.util.Date;
import org.apache.click.Page;

public HelloWorld extends Page {
    private Date time = new Date();
    public HelloWorld() {
        addModel("time", time);
    }
}
//HTML tempalte
<html>
  <body>
    <h2>Hello World
    Hello world from Click at $time
  </body>
  

//config file
<click-app>
  <pages package="examples.page"/>
</click-app>

Result: Apache Click Example