Start reading Jython Essentials on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Jython Essentials
 
 

Jython Essentials [Kindle Edition]

Samuele Pedroni , Noel Rappin
5.0 out of 5 stars  See all reviews (1 customer review)

Digital List Price: £18.23 What's this?
Print List Price: £26.99
Kindle Price: £14.58 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £12.41 (46%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £14.58  
Paperback £22.94  

Product Description

James Richards, GameJUG, August 2002

In examining this valuable scripting extension to the Java programming model, this fills a much needed gap in the information surrounding this language.

Product Description

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 librariesand 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 comparisonsbetween 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 classesand 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 howJython 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.


Product details

  • Format: Kindle Edition
  • File Size: 2575 KB
  • Print Length: 302 pages
  • Publisher: O'Reilly Media (8 Oct 2010)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B004D4YI8E
  • Text-to-Speech: Enabled
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #101,385 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Authors

Discover books, learn about writers, and more.

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
5 of 5 people found the following review helpful
Format:Paperback
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:  6 reviews
10 of 11 people found the following review helpful
Informative, but poorly presented 14 Mar 2003
By The Last Person You'd Expect - Published on Amazon.com
Format:Paperback
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.

4 of 4 people found the following review helpful
Helpful, but poor explanations 15 Mar 2009
By Easther Crescent - Published on Amazon.com
Format:Paperback
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.
7 of 9 people found the following review helpful
Good language coverage, but awkward. 9 Dec 2003
By A Customer - Published on Amazon.com
Format:Paperback
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.
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
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges