Section 1. About this tutorialWhat is this tutorial about?
This two-part tutorial will introduce you to the Jython scripting language, and provideyou with enough knowledge to begin developing your own Jython-based applications.Jython is an implementation of Python that has been seamlessly integrated with theJava platform. Python is a powerful object-oriented scripting language used primarily inUNIX environments.Jython is extremely useful because it provides the productivity features of a maturescripting language while running on a JVM. Unlike a Python program, a Jythonprogram can run in
any
environment that supports a JVM. Today, this means mostmajor computing systems, including Microsoft Windows, Mac OS, most UNIX variantsincluding all Linux systems, and all IBM systems.This tutorial covers Jython in progressive detail. In this first half of the tutorial, we'llcover the concepts and programming basics of working with Jython, including accessoptions and file compilation, syntax and data types, program structure, proceduralstatements, and functions. The
will start with a conceptualintroduction to object-oriented programming in Jython. From there, we'll move on to amore hands-on discussion, encompassing class statements, attributes, and methods,abstract classes, and operator overloading. This advanced discussion will also includedebugging, string processing, file I/O, and Java support in Jython. The tutorial willconclude with a step-by-step demonstration of how to build a working GUI app inJython.The example code will be very simple in the beginning of the tutorial, but by the end ofthe second half you will be up and running with complete functions, classes, andprograms. Included with the tutorial is a set of appendices detailing the inner workingsof Jython.
Should I take this tutorial?
This tutorial is oriented towards software developers at all levels, from casual dabblersto professionals. It is especially oriented towards Java developers who want toleverage the productivity advantages of a scripting language. It is also targeted towardsVisual Basic and C++/C# programmers who want an easier entry into the Javadevelopment world.Together, we will cover the following aspects of scripting with Jython:
ibm.com/developerWorks
Presented by developerWorks, your source for great tutorialsPage 2 of 82 Intro to Jython, Part 1: Java programming made easier
Add a Comment