Shop the new tech.book(store)
New! Introducing the tech.book(store), 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
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).
More About the Authors
Discover books, learn about writers, read author blogs, and more.
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.
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.
Was this review helpful to you?
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):
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.
Was this review helpful to you?