encyclopegia.org

Apache Click

Apache Click is a page and component oriented web application framework for the Java language and is built on top of the Java Servlet API. It is a free and open-source project distributed under the Apache license and runs on any JDK installation (1.5 or later). Click was initially created by Malcolm Edgar as the click.sourceforce.net project in 2003. The project then graduated to an Apache top-level project in November 2009 with Bob Schellink. The project was retired in May 2014.

Apache Click is a page and component oriented web application framework for the Java language and is built on top of the Java Servlet API. It is a free and open-source project distributed under the Apache license and runs on any JDK installation (1.5 or later). Click was initially created by Malcolm Edgar as the click.sourceforce.net project in 2003. The project then graduated to an Apache top-level project in November 2009 with Bob Schellink. The project was retired in May 2014. ==Overview== The main design goals are simplicity, ease of use, performance and scalability. To achieve these goals Click leverages an intuitive page and component oriented design. Pages and components provide good encapsulation of web concepts and enables rapid application development. Click takes a pragmatic approach and expose few abstractions to learn and understand. The Java Servlet API is fully exposed to the developer which eases the upgrade path from an action based framework to a component based one. Pages and components are developed in Java while templates can be written in Velocity, FreeMarker or JSP. Components know how to draw themselves alleviating developers from maintaining redundant markup. A major difference between Click and other component oriented web frameworks is that Click is stateless by design, although stateful pages are supported. ==Competing frameworks== There are a number of other component oriented frameworks available for Java such as JSF, Tapestry, WebObjects, Apache Wicket and Vaadin. Some developers prefer the more traditional action-based web frameworks including Apache Struts, Spring MVC, and Stripes. $message HelloWorld.java The page model that will be bound to the template. package org.wikipedia.click; import org.apache.click.Page; public class HelloWorld extends Page { /** * Constructor */ public HelloWorld() { // Add the value to the map ("message" = "$message") addModel("message", "Hello World!"); } } click.xml The heart of a Click application is the click.xml configuration file. This file specifies the application pages, headers, the format object and the applications mode. Click is smart enough to figure out that the HelloWorld page class maps to the template hello-world.htm . We only have to inform Click of the package of the HelloWorld class, in this case org.wikipedia.click . We do that through the click.xml configuration file which allows Click to map hello-world.htm requests to the org.wikipedia.click.HelloWorld page class. By default the ClickServlet will attempt to load the application configuration file using the path: /WEB-INF/click.xml web.xml The servlet application definition. Click Example click-servlet org.apache.click.ClickServlet 0 click-servlet *.htm ==Bibliography== ==See also== Comparison of web frameworks ==References== ==External links==

References

No reference rows published for this article.

Cite this article

MLA

"Apache Click." encyclopegia.org, 2026, https://encyclopegia.org/wiki/apache-click. Accessed 24 November 2026.

Chicago

"Apache Click." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/apache-click.

APA

encyclopegia.org. (2026). Apache Click. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/apache-click

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Dragon Quest X

enwiki · references available

Eumetula

enwiki · references available

CBDI

enwiki · references available

Eumetula macquariensis

enwiki · references available

Larvik HK

enwiki · references available

Storey Hall

enwiki · references available

Elacatinus puncticulatus

enwiki · references available

Citibank House

enwiki · references available

Stonogobiops dracula

enwiki · references available

Stonogobiops yasha

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1356263287 · 0.5 · snapshot enwiki-001356263287

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.