Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

"Jython Essentials" - Release Announcement - O'Reilly

"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For Immediate Release
April 9, 2002
For more information, a review copy, cover art, or an interview with
the authors, contact:
Kathryn Barrett (707) 827-7094 or

Rapid Scripting a la Python in Java:
O'Reilly Releases "Jython Essentials"

Sebastopol, CA--History teaches us that the combination of two fundamentally valuable substances can produce yet another substance
that is also of value. Steel, which is made by adding a small amount of carbon to iron, has turned out to be a rather nifty metal. Which does
not imply that iron and carbon are not useful on their own. Man's use of iron tools ushered the end of the Stone Age. And carbon--in combination with other elements--forms the basis for life. It also makes good pencil lead. In programming circles, we have Jython: an implementation of the Python programming language written in Java.
"Jython is an increasingly important target platform for client and server side applications with a wide range of powerful existing tools,"
explains Noel Rappin, coauthor with Samuele Pedroni of "Jython Essentials" (O'Reilly, US $24.95). "Jython offers an alternative to the
Java language for using these tools, offering shorter programs that are easier to write, read, and maintain. Using Jython can cut development
time significantly."
As Pedroni and Rappin explain, Jython combines a scripting language of unparalleled ease of development with an operating environment for
which many powerful tools have been written. The combination can be immensely valuable for programmers, enabling them to cut development
time significantly while still retaining the ability to use existing Java tools, such as applets and Servlets. Just as Python was originally conceived as glue to bind together other programs, Jython acts as glue
to help developers get the most out of Java-based tools. In particular, Pedroni and Rappin assert, Jython excels at simplifying the use of complex Java programming libraries and APIs, such as the Swing graphical interface toolkit or the JDBC database connectivity API.
"The subject matter is important to programmers who want a choice of languages when dealing with Java Virtual Machine," says Rappin. "By offering this choice, Jython makes the JVM more powerful and more valuable to its developers."
"While the one platform, one language approach has its advantages and appeal," Pedroni adds, "Jython doesn't want to replace Java, but to
integrate with it. The right point of view is to imagine Unix with only C, without Perl and Python, and think whether that would make sense."
"Jython Essentials" provides a solid introduction to the Python language, offering a brief but thorough tour of Python concepts necessary 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.
The book also covers the various ways in which Jython and Java can interact. For example, Jython code can create instances of preexisting Java classes and call methods in those instances. Programmers can write Jython classes that are direct subclasses of existing Java classes and
use introspection to discern the capabilities of JavaBeans components.
"Jython Essentials" provides examples of how to use Jython with existing Java libraries, including the Swing GUI toolkit, the JDBC
database API, the Servlet API, and various XML tools.
This book was written for Java programmers who want to learn Jython to be more productive with the tools they already know, or to add scripting capabilities to existing programs. Readers will also include Python programmers who want to use Java tools without giving up the productivity gains of using Python. Regardless of their background, developers will find everything they need to start creating applications that mix the best of Python's interactivity and Java's robust libraries in "Jython Essentials."
Additional resources:
An article by coauthor Noel Rappin, "Tips for Scripting Java with Jython" can be found at:
Chapter 1, "Introduction to Jython" is available free online at:
For more information about the book, including Table of Contents, index, author bios, and samples, see:
For a cover graphic in jpeg format, go to:
Jython Essentials
By Samuele Pedroni and Noel Rappin
ISBN 0-596-00247-5, 277 pages, $24.95 (US), $38.95 (CAN)
About O'Reilly
O'Reilly & Associates is the premier information source for leading-edge computer technologies. The company's books, conferences, and web sites bring to light the knowledge of technology innovators.
O'Reilly books, known for the animals on their covers, occupy a treasured place on the shelves of the developers building the next generation of software. O'Reilly conferences and summits bring alpha geeks and forward-thinking business leaders together to shape the revolutionary ideas that spark new industries. From the Internet to XML, open source, .NET, Java, and web services, O'Reilly puts technologies on the map. For more information:
    Bookmark Topic Watch Topic
  • New Topic