Agenda -- LearnQuest Jython Training
This document provides an agenda for the Jython training scheduled for
LearnQuest Corporation for Mon., 8/7/2006 through Wed., 8/9/2006.
Day 1 AM:
- Introductions, administrative matters.
- Outline of the course. Goals for the course.
- Java review: (1) Java lexical matters; (2) Java statements and
syntax; (3) Java classes; (4) exceptions; (5) packaging and jar
files.
Day 1 PM:
- Introduction to Jython: (1) description of Jython and Python; (2)
comparison and differences between Jython and Python; (3) comparison
with Java.
- Lexical matters: (1) variables, (2) line structure, (3)
comments, (4) block structure, (5) operators.
- Jython execution model: (1) how Jython evaluates and runs code;
(2) the Jython object model.
- Built-in data types and operations on built-in types: numerical
types, lists/arrays, dictionaries, strings, etc.
Day 2 AM:
- Built-in data types, continued.
- Introduction to structured Jython: (1) functions, (2) classes,
(3) modules, (4) packages.
- Jython statements: (1) assignment, (2) import, (3) print,
(4) if-then-else.
Day 2 PM:
- Jython statements, continued: (1) try-except, (2) raise, (3)
for, (4) while, (5) continue and break,
Day 3 AM:
- Structured Jython revisited: (1) functions, (2) classes, (3)
modules, (4) packages.
- Jython extended: calling Java from Jython.
Day 3 PM:
- Extending Jython with Java: writing Java for Jython; special
techniques.
- Compiling Jython for Java: (1) when and why; (2) benefits; (3)
how-to compile, using jythonc; (4) how-to use the resulting .class
files.
- Embedding Jython in Java: (1) capabilities provided by embedded
Jython; (2) how to embed; (3) passing values between Jython and
Java; (4) maintaining state (across scripts).