Apache Wicket logo

Apache Wicket

Apache Wicket is a component-based web application framework for Java that provides a clean separation of markup and logic with a stateful component model. It enables developers to build web applications using pure Java and HTML, without XML configuration. Wicket's stateful model stores component state on the server side while providing Ajax integration, type-safe page parameters, and deep testability. It is maintained by the Apache Software Foundation.

1 APIs 6 Features
Component-BasedJavaWeb ApplicationsWeb FrameworkOpen SourceAjax

APIs

Apache Wicket Component API

The Wicket Component API provides the core Java classes for building web UIs. Pages extend WebPage, components extend Panel, Form, Link, Button, and other base classes. The mode...

Features

Stateful Component Model

Server-side stateful component model with automatic state serialization and clustering support.

Pure Java and HTML

No JSP, no annotations on HTML, no XML mappings - just Java classes and plain HTML templates.

Type-Safe URLs

Type-safe page parameters using PageParameters with automatic encoding/decoding.

Ajax Integration

Built-in Ajax behaviors and components for partial page updates without JavaScript coding.

Testability

WicketTester class provides comprehensive unit testing without a running servlet container.

Security

Built-in CSRF protection, authorization strategies, and secure page parameters.

Use Cases

Enterprise Java Web Applications

Complex business applications with rich server-side state management.

Form-Intensive Applications

Data entry applications with complex validation and type conversion.

Content Management Systems

CMS backends with hierarchical content management and editorial workflows.

Integrations

Spring Framework

SpringComponentInjector for Spring bean injection into Wicket components.

CDI

CDI/Weld integration for Jakarta EE dependency injection in Wicket.

Hibernate

Hibernate model integration for domain objects bound to Wicket components.

Bootstrap

Wicket Bootstrap library for Bootstrap CSS integration.

Resources

👥
GitHubRepository
GitHubRepository
🔗
Documentation
Documentation
🌐
Portal
Portal
🚀
GettingStarted
GettingStarted
📄
ReleaseNotes
ReleaseNotes
💬
Support
Support
📜
TermsOfService
TermsOfService