User Guide

Practical guidance for working with Jython day to day. These pages cover the interactive console, servlets, application servers, and general usage patterns. Several of the user guide pages here are different versions written over the years – the content overlaps, but each version has its own flavor and emphasis.

User Guides

Console & Environment

  • ConsoleChoices – How Jython’s interactive console works, JLine integration, and how to switch between console backends

  • ReadlineSetup – Configuring readline and tab-completion support in the Jython interpreter

Servers & Deployment

  • PyServlet – Using PyServlet to write Java Servlets in Jython source files

  • WebSphere – Running Jython inside IBM WebSphere Application Server, which ships with Jython as its admin scripting language

  • SimpleApp – The Apache Derby SimpleApp sample, ported to show Jython in a database context