Jython Essentials and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
Trade in Yours
For a 3.62 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Jython Essentials on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Jython Essentials [Paperback]

Samuele Pedroni , Noel Rappin
5.0 out of 5 stars  See all reviews (1 customer review)
Price: 26.99 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 2 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 11 July? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition 17.50  
Paperback 26.99  
Trade In this Item for up to 3.62
Trade in Jython Essentials for an Amazon Gift Card of up to 3.62, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

31 Mar 2002 0596002475 978-0596002473 1

Jython is an implementation of the Python programming language written in 100% pure Java, so it runs under any compliant Java Virtual Machine. The secret to Jython's popularity lies in the combination of Java's libraries and tools with Python's rapid development capabilities. With Jython, you can write Python programs that integrate seamlessly with any Java code. And like Python, Jython can be used interactively, so you can get immediate results as you are programming.

Jython Essentials provides a solid introduction to the Python language, offering a brief but thorough tour of the Python concepts you'll need to understand to use Jython effectively. The book makes frequent comparisons between Python and Java, with special emphasis on the different object-oriented semantics of the two languages, so Java programmers can quickly get up to speed with Jython.

Jython Essentials also covers the various ways in which Jython and Java can interact. For example, Jython code can create instances of pre-existing Java classes and call methods in those instances. You can write Jython classes that are direct subclasses of existing Java classes and use introspection to discern the capabilities of JavaBeans components. This book provides examples of using Jython with existing Java libraries, including the Swing GUI toolkit, the JDBC database API, the Servlet API, and various XML tools. And finally, the book shows how Jython can be used as a scripting language within a Java program.

With Jython Essentials, you have everything you need to start creating applications that mix the best of Python's interactivity and Java's robust libraries.

Special Offers and Product Promotions

  • Spend 30 and get Norton 360 21.0 - 3 Computers, 1 Year 2014 for 24.99. Here's how (terms and conditions apply)

Customers Who Bought This Item Also Bought

Product details

  • Paperback: 302 pages
  • Publisher: O'Reilly Media; 1 edition (31 Mar 2002)
  • Language: English
  • ISBN-10: 0596002475
  • ISBN-13: 978-0596002473
  • Product Dimensions: 1.7 x 15.2 x 22.9 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 801,007 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description


In examining this valuable scripting extension to the Java programming model, this fills a much needed gap in the information surrounding this language. -- James Richards, GameJUG, August 2002

About the Author

Samuele Pedroni is one of the main Jython developers. He holds a CS flavored diploma in mathematics from the ETH Zurich (Swiss institute of technology in Zurich). He is now a teacher and research assistant at the Institute of Theoretical CS. He plans to come to the US for a PhD in the field of dynamic languages and dynamic compilation. He came to Jython with the interest in improving it with respect to Java importing and reloading. He has developed several important patches related to java integration, classloaders, and the reworking of java/python importing rules and design.

Noel Rappin has a Ph.D. in computer science from the Georgia Institute of Technology, where his research included methods for teaching Object-Oriented Programming and Design. He has extensive production experience in both Java and Python. Noel also contributed an introductory chapter to the book Squeak: Open Personal Computing and Multimedia (PH).

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
6 of 6 people found the following review helpful
5.0 out of 5 stars Concise but comprehensive and useful 2 Aug 2002
Format:Paperback|Verified Purchase
This volume is an excellent and practical guide to using Jython. It has good coverage of how Jython works under the hood, including how to access Jython internals from within Java and vice versa, and it also offers a useful introduction to the Python language for those who need this. I found it invaluable over the last few months while building a project that embeds an interactive Jython interpreter within a larger Java program. Highly recommended, especially considering how compact it is!
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.8 out of 5 stars  6 reviews
10 of 11 people found the following review helpful
4.0 out of 5 stars Informative, but poorly presented 14 Mar 2003
By The Last Person You'd Expect - Published on Amazon.com
I found the book to be informative in learning JPython, but it seemed to have ignored the most practical use-cases for JPython, light scripting and unit testing, and kept suggesting JPython as an alternative for working in Java. In addition, I felt the book was poorly (or boringly) written and that the authors failed to draw on any significant amount of experience in writing the book.
I would have preferred a book that wrote of JPython as a scripting language for Java and that offered advice on how best to leverage JPython for this purpose. I recommend taking a hard look at the other titles before purchasing this one.
OK, I'm adding a paragraph to this review after owning the book for a few weeks. It IS a very helpful book and I'm raising my rating from 2 to 4 stars. Perhaps I was thrown off at first by the succinctness of the text, but I've come to find that it makes it a great reference book. I'm already a half-way experienced programmer and do not need the filler and the explanation of concepts that thicker books probably provide.
Also, there is a helpful section on unit testing which I'd missed (It wasn't placed very well in the book) and python is a flexible enough language that someone should be able to figure out different ways to unit test without the section.
8 of 10 people found the following review helpful
3.0 out of 5 stars Good language coverage, but awkward. 9 Dec 2003
By A Customer - Published on Amazon.com
This text has good coverage of the language features, but the presentation and organization is poor. If you're a Java developer looking to pick up jython quickly, I'd suggest "Jython for Java Programmers" instead.
5 of 6 people found the following review helpful
2.0 out of 5 stars Helpful, but poor explanations 15 Mar 2009
By Easther Crescent - Published on Amazon.com
The book is definitely helpful in understanding how Jython works, but the explanations should be made in a much more user-friendly way with more examples. Often I found myself left in the fog. The book sometimes assumes things without explaining. For instance, for simple functions like the following (p. 113):

>> import jarray
>> jarray.array(['crystal', 'ball'],java.lang.String)

you need to import java.lang.String before calling it. I didn't know that but the book doesn't explain that.

Also the book doesn't make clear that to import some java classes you have to include .jar file in the sys.path. It does mention .jar files but should make clear and emphasize that you must include it as a necessary step and also show how to do that. It took me a lot of agonizing and asking around to finally figure these out.
8 of 12 people found the following review helpful
5.0 out of 5 stars Superb summary of CPython 2.2 features 10 Jun 2002
By A Customer - Published on Amazon.com
For someone who's been working in Cpython 1.5 thru 2.1, the 1st 5 chapters are an excellent, succinct language refresher and intro to new features in 2.2: nested scopes, generators, etc.
This book does assume pretty solid grounding in python. If you don't have that, start with:
Chun: Core Python
Lutz: Learning Python
or Harms/McDonald: Quick Python
1 of 3 people found the following review helpful
4.0 out of 5 stars jython 20 Feb 2006
By James C. Freed - Published on Amazon.com
This is a good overall guide to jython and I think it is as good as all the rest of the nutshell books are.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category