JWt: an introduction

JWt is a Java library for developing web applications.

The API is widget-centric and uses well-tested patterns of desktop GUI development tailored to the web. To the developer, it offers abstraction of many web-specific implementation details and frees the developer from tedious JavaScript manipulations of HTML and dealing with cross-browser issues. Instead, with JWt, you can focus on actual functionality with a rich set of feature-complete widgets.

Unlike old-school page-based frameworks or current-day single-page JavaScript "frameworks", JWt allows you to create stateful applications that are at the same time highly interactive (using WebSockets and Ajax for everything) but still support plain HTML browsers or web crawlers using automatic graceful degradation or progressive enhancement. Things that are natural and simple with JWt would require an impractical amount of development effort otherwise: switching widgets using animations, while retaining clean URLs and browser navigation functions, or having a persistent chat widget open throughout the entire application, that even works in legacy browsers like Microsoft Internet Explorer 6.

JWt applications can be deployed in a standard Java Servlet container.

Feature rich

By using standard Java and JVMs, JWt applications can benefit from any existing Java libraries and JVM features including its support for your favourite scripting language.

Typical use scenarios:

  • High performance, complex web applications (with a database backend) that require a responsive and dynamic user interface and benefit from the use of Java, if only to use Java refactoring tools while keeping track of ever changing requirements.
  • Web applications which maximally benefit from modern browser capabilities but with graceful degradation to adhere to W3C accessibility guidelines and be search engine friendly.
  • Porting of Java desktop applications to the web.