Programming Books C Java PHP Python Learn more Browse Programming Books
  • List Price: $49.99
  • Save: $13.67 (27%)
Only 3 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
FREE Shipping on orders over $35.
Condition: Used: Good
Comment: Unmarked interior, solid binding. Cover with rubbing at the extremities, a small chip at the top of the spine, and moderate wear.
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Jython for Java Programmers Paperback – December 28, 2001

ISBN-13: 075-2064711117 ISBN-10: 0735711119 Edition: 1st

Buy New
Price: $36.32
7 New from $24.20 23 Used from $1.32
Amazon Price New from Used from
"Please retry"
$24.20 $1.32
Unknown Binding
"Please retry"

Frequently Bought Together

Jython for Java Programmers + Jython Essentials (O'Reilly Scripting) + The Definitive Guide to Jython: Python for the Java Platform (Expert's Voice in Software Development)
Price for all three: $114.95

Buy the selected items together

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 496 pages
  • Publisher: Sams Publishing; 1 edition (December 28, 2001)
  • Language: English
  • ISBN-10: 0735711119
  • ISBN-13: 978-0735711112
  • Product Dimensions: 6.9 x 1.1 x 8.8 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Best Sellers Rank: #1,714,506 in Books (See Top 100 in Books)

Editorial Reviews Review

Robert Bill's Jython for Java Programmers from New Riders is an essential introduction to the complexities of the merger between two popular object-oriented languages, Python and Java. It is directed toward Java programmers who want to incorporate Python rather than vice versa, but the utter symmetry of merging two object-oriented languages creates an Escheresque problem in perspective. It is like two snakes gobbling each other up.

Let's sort this out historically. When Sun Microsystems' virtual machine (VM) paradigm emerged in the mid-1990s, the high-level programming language Java became the idiom for the new "soft" computer. Java's object-oriented architecture allowed it to scope from the lowest-level OS tasks (reads, writes to disk and screen), but much of the mid- and high-level tools were missing--e.g., common GUI features, text parsing, list sorting. The missing functionality is implemented gradually with nuts-and-bolts Java functions and by porting libraries to Java (GL4Java).

The cascade of "100 percent pure Java" ports has finally led to the gobbling up of the elegant Python scripting language, which is also object-oriented. But that is only half of the story. As Java devours Python, Python also devours Java. In one manifestation, Jython is Python written in Java rather than C. It has its own interpreter "jython" and compiler "jythonc," both of which can draw on all of Java's classes. Conversely, jythonc will create a Java class which can be imported by the Java interpreter "java" and compiler "javac." Java programmers will have the luxury of importing and using succinct Jython classes rather than writing the lines of verbose native Java code.

The bewildering complexities are elucidated by Bill in Jython for Java Programmers, which presents Jython both as a standalone, Java-equipped language and as the class implementation within Java. Its three parts are dedicated to Jython's basics (very similar to a Python tutorial), Jython's internals, and Jython's incorporation into GUI, database, and Web applications. The book follows in the New Riders tradition of exhaustive, implementation-centered publishing. Jython is not a Java foundation class, but Bill's book is a cornerstone in its own right. We also recommend to help sort out Jython's big picture. --Peter Leopold

From the Back Cover

This book will help Java developers to increase application development and deployment, thus optimizing their overall efficiency. A brief introduction is provided that shows the differences between Java and Jython, important to include so that the reader will have a better understanding of why their union is beneficial. The remainder of the book teaches, through examples, how to use Jython. Intended for an experienced Java developer, this book assumes you understand the fundamentals to programming (i.e. loop statements, if.then, etc.). So, page space is focused on utilizing Jython with Java by covering the following: extending Python with java classes, modules, compiling, interpreters, design integration, etc. newriders contains all code and applications developed in the book.

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.4 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See all 10 customer reviews
This book is designed for those who know Java or are learning Java.
The examples are illustrative, and extensive use of interpreter sessions made the book easy to test and follow for newbies, and quick to browse for experts as well.
While it was necessary to dip into the jython source, Robert's book gave me an excellent overview, and indicated if something was possible, and how to go about it.
Alan Kennedy

Most Helpful Customer Reviews

9 of 10 people found the following review helpful By A Customer on February 25, 2002
Format: Paperback
Robert W. Bill did an excellent job in introducing Jython which is the combination of two programming languages. The merging of Java and Python. Although intended for programmers with sufficient background in Java programming, this book can be a great tool for learning another high-level language. This book includes topics on: seamless access to Java classes, efficiency,dynamic types, introspection and dynamic execution, first-class functions and functional programming, Java security, and code clarity.
Jython for Java Programmers is like a book for beginners trying to lear a new programming language. Each chapter has sufficient samples of codes with a corresponding syntax for a particular example. At the end of each chapter, the author was able to clearly compare Jython to Java. Such comparisons include: statements, typecodes, types, and classes, errors and exceptions, synchronization, packages, GUI development, as well as instances and inheritance. The last two chapters provided topics on database programming and server-side web programming. The Jython programmer is given sample codes on how to make use MySQL, PostgreSQL, and JDBC in their Jython program. The book focused on Servlets and JSP in its last chapter. Although it is equally effective with all the Java technologies on developing web applications.
Jython can be an added high-level language for Java programmers. But the book assumes its audience has previous Java knowledge. So that discussions on class, instance, encapsulation, polymorphism, and inheritance were briefly mentioned. Thus, cannot be sufficient as an introduction to programming. Jython-related Internet resources were listed in the Introduction section. An educational advantage of this book is that it supports functional programming as well as object-oriented programming.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
6 of 6 people found the following review helpful By akempo on February 25, 2002
Format: Paperback
An excellent book overall, this book accomplishes what it sets out to do: teach Jython to Java Programmers. Like many who were unfamiliar it, I was under the impression that Jython was simply a Java version of Python, which it is not. Jython is a language in its own right, and this book serves not only as an introduction to Jython, but to Python as well, and a very good one at that.
Although I did not do every example in the book, as that would have taken some time, I did most of the examples from the first 6 chapters, and with one exception they all worked. I have enough confidence in the author that I believe most, if not all the following examples will work as written also. Another thing I appreciate was the author's notes regarding versions scheduled to come out, so that if my Jython version behaved differently, I knew why.
From an organizational standpoint, the book follows the standard teaching conventions of showing syntax and data types and moving up from there until classes have been discussed. The middle part of the book is spent talking about how to combine Java and Jython, a much simpler process than any other two languages I've seen, and then he discusses practical applications of Jython and Java. Although the examples are too simplistic for a real world scenario, they convey enough information to provide a model from which to develop.
My only real complaint with the book was the number of grammatical errors, which distracted me from time to time as I puzzled out what the author was trying to say. A good book, and one which the publisher should re-edit to make it even better.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By calvinnme HALL OF FAMETOP 1000 REVIEWERVINE VOICE on December 13, 2006
Format: Paperback
This book is designed for those who know Java or are learning Java. The Java-specific meaning of terms such as classpath, garbage collection, and interface appear without explanation, but no more than rudimentary Java knowledge is required. Specifically, Java developers desiring accelerated development, embedded interpreters, and increased flexibility will most appreciate this book. Although Jython is a complete programming language, it is unique in its ability to complement Java development rather than appear as an alternative to Java.

Chapter 1, "Jython Syntax, Statements, and Comments," introduces syntax and statements. Python's syntax is an essential part of what constitutes the coined word pythonic, an important descriptor of those details that make Python and Jython code clear, simple, and distinct. Python's use of indentation to delimit code blocks and newlines to delimit statements is new to most programmers, and Chapter 1 details the rules that apply to indentation, newlines, and statements. Additionally, Chapter 1 introduces the interactive interpreter, a Jython mode that immediately evaluates statements as you enter them. This chapter applies to Python in general with no references to material unique to Jython.

Chapter 2, "Operators, Types, and Built-In Functions," covers Jython's data object, operators, and built-in functions. Data objects, or types, are especially interesting because of Jython's ability to use both Python and Java objects. The Python language specification defines Python's, and therefore Jython's types, but types are where Jython-specific details emerge. One such detail is the conversion between Jython and Java types.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

What Other Items Do Customers Buy After Viewing This Item?