Get 1 Year of unlimited Apress for $199
Instant access to all available titles and new releases Apress Access Subscription

The Definitive Guide to Jython

Python for the Java Platform

By Josh Juneau , Jim Baker , Donna L. Baker , Frank Wierzbicki , Leo Soto Muoz , Victor Ng

  • eBook Price: $41.99
  • Print Book Price: $59.99
Buy eBook Buy Print Book
The Definitive Guide to Jython, written by official Jython team leads, covers Jython 2.5 (or 2.5.x)—from a concise introduction to the language to advanced features like graphical user interface (GUI) applications, web services, and parallelism.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-2527-0
  • User Level: Beginner to Intermediate
  • Publication Date: March 4, 2010
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Beginning Ubuntu for Windows and Mac Users
  • Beginning App Development with Parse and PhoneGap
  • Numerical Python
  • Python Data Analytics
  • Pivotal Certified Spring Web Application Developer Exam
  • Java I/O, NIO and NIO.2
  • Pro Android 4
Full Description

Jython is an open source implementation of the high-level, dynamic, object-oriented scripting language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and noncommercial use and is distributed with source code. Jython is complementary to Java.

The Definitive Guide to Jython, written by the official Jython team leads, covers Jython 2.5 (or 2.5.x)—from the basics to more advanced features. This book begins with a brief introduction to the language and then journeys through Jython’s different features and uses.

The Definitive Guide to Jython is organized for beginners as well as advanced users of the language. The book provides a general overview of the Jython language itself, but it also includes intermediate and advanced topics regarding database, web, and graphical user interface (GUI) applications; Web services/SOA; and integration, concurrency, and parallelism, to name a few.

What you’ll learn

  • How to handle Jython basics like language syntax and concepts
  • How to use the Jython scripting language for I/O, Java/Jython integration, and Jython in an IDE and databases
  • How to integrate Jython with the Django web framework and even Spring
  • How to develop web applications with Jython including web services/SOA, GUI considerations, and deployment targets
  • How to conduct testing, continuous integration, concurrency, scaling, and more with Jython

Who this book is for

This book is for Java web developers looking to use a dynamic scripting language as an alternative to Groovy or JRuby. Other web developers who use Python and Django may also be interested in this book.

Table of Contents

Table of Contents

  1. Language and Syntax
  2. Data Types and Referencing
  3. Operators, Expressions, and Program Flow
  4. Defining Functions and Using Built-ins
  5. Input and Output
  6. Object-Oriented Jython
  7. Exception Handling and Debugging
  8. Modules and Packages for Code Reuse
  9. Scripting With Jython
  10. Jython and Java Integration
  11. Using Jython in an IDE
  12. Databases and Jython: Object Relational Mapping and Using JDBC
  13. Simple Web Applications
  14. Web Applications With Django
  15. Introduction to Pylons
  16. GUI Applications
  17. Deployment Targets
  18. Strategy and Technique
  19. Testing and Continuous Integration
  20. Concurrency
  21. Appendix A: Using Other Tools with Jython
  22. Appendix B: Jython Cookbook
  23. Appendix C: Built-in Functions
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


Please Login to submit errata.

On page 176, 532:

correct is org.python.core.PyObject


    1. Pro JPA 2


      View Book