encyclopegia.org

JWt (Java web toolkit)

JWt (pronounced "jay-witty") is an open-source widget-centric web application framework for the Java programming language developed by Emweb. It has an API that uses established GUI application development patterns. The programming model is component-based and event-driven, similar to Swing. The goal of the library is to benefit from the stateful component model used in desktop applications APIs, applied to web development, instead of the traditional model–view–controller (MVC) model. Rather than using MVC at the level of a page, MVC is pushed to the level of individual components. While the library uses a desktop application development model, it does support web-specific features including semantic URLs, browser history navigation support, internationalization, themes, and styling. A unique feature of the library is its abstraction layer of the browser rendering model. The library uses Ajax for communicating with Ajax-capable browsers, while using plain HTML form post-backs for other user agents (for accessibility and search engines). Using a progressive bootstrap method, the user interface is initially rendered as plain HTML, and for Ajax-capable browsers, it is automatically upgraded to use Ajax for increased interactivity. JWt is distributed as a jar file. A JWt application is a war file that is deployed in a standards-compliant servlet container.

JWt (pronounced "jay-witty") is an open-source widget-centric web application framework for the Java programming language developed by Emweb. It has an API that uses established GUI application development patterns. The programming model is component-based and event-driven, similar to Swing. The goal of the library is to benefit from the stateful component model used in desktop applications APIs, applied to web development, instead of the traditional model–view–controller (MVC) model. Rather than using MVC at the level of a page, MVC is pushed to the level of individual components. While the library uses a desktop application development model, it does support web-specific features including semantic URLs, browser history navigation support, internationalization, themes, and styling. A unique feature of the library is its abstraction layer of the browser rendering model. The library uses Ajax for communicating with Ajax-capable browsers, while using plain HTML form post-backs for other user agents (for accessibility and search engines). Using a progressive bootstrap method, the user interface is initially rendered as plain HTML, and for Ajax-capable browsers, it is automatically upgraded to use Ajax for increased interactivity. JWt is distributed as a jar file. A JWt application is a war file that is deployed in a standards-compliant servlet container. ==Major features== See the feature list on the project homepage for a more detailed overview. Automatic graceful degradation and progressive enhancement On all modern browsers, a JWt application is a single-page application, with full support for forward/back and bookmark navigation, but still fully SEO. Supports server-initiated events (Comet), and uses asynchronous I/O when deployed within a Servlet 3.0 container. A unified 2D rendering API (SVG/HTML5 canvas/VML/PDF) with java.awt.Graphics2D compatibility Integrated PDF rendering for Widgets, Graphics (Charts) and HTML/CSS, to generate reports Both client-side and server-side validation Various automatic built-in security features to avoid cross-site scripting and CSRF vulnerabilities. Theme support through CSS or Bootstrap Available widgets are demonstrated in the widget gallery A 3D painting API for WebGL rendering, with fallback to server-side GPU accelerated rendering A 3D chart API (surfaces, points, bar charts, ...) supporting selection, intersection highlighting, height maps, isolines, ... ==Code example== The Hello World! example full source code /* * A simple hello world application class which demonstrates how to react * to events, read input, and give feed-back. */ public class HelloApplication extends WApplication { public HelloApplication(WEnvironment env) { super(env); setTitle("Hello world"); getRoot().addWidget(new WText("Your name, please ? ")); final WLineEdit nameEdit = new WLineEdit(getRoot()); nameEdit.setFocus(); WPushButton button = new WPushButton("Greet me.", getRoot()); button.setMargin(5, Side.Left); getRoot().addWidget(new WBreak()); final WText greeting = new WText(getRoot()); button.clicked().addListener(this, new Signal.Listener() { public void trigger() { greeting.setText("Hello there, " + nameEdit.getText()); } }); } } ==See also== Comparison of web frameworks Wt, the C++ project from which JWt is derived ==References== ==External links== JWt Project Homepage

References

  1. JWt, Java Web Toolkit — Emweb . www.webtoolkit.eu . retrieved 27 October 2019 · retrieved 2026-08-01 · rev 1367309248
    Cite this reference

    MLA "JWt, Java Web Toolkit — Emweb . www.webtoolkit.eu . retrieved 27 October 2019." JWt, Java Web Toolkit — Emweb. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367309248. Accessed 24 November 2026.

    Chicago "JWt, Java Web Toolkit — Emweb . www.webtoolkit.eu . retrieved 27 October 2019." JWt, Java Web Toolkit — Emweb. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367309248.

    APA JWt, Java Web Toolkit — Emweb. (2026). JWt, Java Web Toolkit — Emweb . www.webtoolkit.eu . retrieved 27 October 2019. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367309248

  2. SOURCE CODE OF THE HELLO WORLD EXAMPLE . www.webtoolkit.eu . · retrieved 2026-08-01 · rev 1367309248
    Cite this reference

    MLA "SOURCE CODE OF THE HELLO WORLD EXAMPLE . www.webtoolkit.eu ." SOURCE CODE OF THE HELLO WORLD EXAMPLE. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367309248. Accessed 24 November 2026.

    Chicago "SOURCE CODE OF THE HELLO WORLD EXAMPLE . www.webtoolkit.eu ." SOURCE CODE OF THE HELLO WORLD EXAMPLE. 2026-08-01. https://en.wikipedia.org/w/index.php?oldid=1367309248.

    APA SOURCE CODE OF THE HELLO WORLD EXAMPLE. (2026). SOURCE CODE OF THE HELLO WORLD EXAMPLE . www.webtoolkit.eu . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367309248

Cite this article

MLA

"JWt (Java web toolkit)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/jwt-java-web-toolkit. Accessed 24 November 2026.

Chicago

"JWt (Java web toolkit)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/jwt-java-web-toolkit.

APA

encyclopegia.org. (2026). JWt (Java web toolkit). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/jwt-java-web-toolkit

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

Related articles

Midland High School (Arkansas)

enwiki · references available

Boppin' & Burnin'

enwiki · references available

2016 AFF Championship

enwiki · references available

Do That Again (The Jazz Professors album)

enwiki · references available

Opus de Don

enwiki · references available

Women in Sudan

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

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.