Jython for Java Programmers

Author: Robert Bill
List Price: $49.99
Our Price: Click to see the latest and low price
ISBN: 0735711119
Publisher: SAMS (18 December, 2001)
Edition: Paperback
Sales Rank: 82,413
Average Customer Rating: 4.5 out of 5

Buy now directly from Amazon.com - Purchase this book, safely and securely from the largest book dealer on the Internet, Amazon.com

Customer Reviews

Rating: 5 out of 5
Great for making unit testing
It's a great book, I use Jython for the power of making unit testing, you save very much time on creating new objects. Moreover, when you override the methods equals and hashCode (which is a good practice) Jython makes easy to test for equality, the book is a great help to get into more details about the tool.


Rating: 4 out of 5
Jython for Java Programmers
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.


Rating: 4 out of 5
Excellent book
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.

Similar Products

· Python Programming with the Java Class Libraries: A Tutorial for Building Web and Enterprise Applications
· Jython Essentials (O'Reilly Scripting)
· Python Cookbook
· Python in a Nutshell
· Python & XML

Return To Main Computer Book IndexSearch Our Entire Computer Book Catalog