By Josh Juneau, Jim Baker, Frank Wierzbicki, Leo Soto Muñoz, Victor Ng

Jython is an open resource implementation of the high-level, dynamic, object-oriented scripting language Python seamlessly built-in with the Java platform. The predecessor to Jython, JPython, is qualified as a hundred% natural Java. Jython is freely to be had for either advertisement and noncommercial use and is shipped with resource code. Jython is complementary to Java.

The Definitive consultant to Jython, written via the respectable Jython staff leads, covers the newest Jython 2.5 (or 2.5.x) from the fundamentals to the complex positive aspects. This ebook starts off with a quick advent to the language after which trips via Jython’s diversified good points and uses.

The Definitive advisor to Jython is equipped for newcomers in addition to complex clients of the language. The publication offers a normal assessment of the Jython language itself, however it additionally contains intermediate and complex subject matters relating to database, internet, and GUI functions; internet services/SOA; and integration, concurrency, and parallelism, to call a few.
What you'll learn

* find out how to deal with Jython fundamentals like language syntax and concepts
* how one can use the Jython scripting language for I/O, Java/Jython integration, and Jython in an IDE and databases
* the best way to combine Jython with the Django net framework or even Spring
* find out how to strengthen internet functions with Jython together with internet services/SOA, GUI issues, and deployment targets
* easy methods to behavior checking out, non-stop integration, concurrency, scaling, and extra with Jython

Who is that this e-book for?

This e-book is for Java net builders trying to use a dynamic scripting language in its place to Groovy or JRuby. different internet builders who use Python and Django can also be attracted to this book.
About the Author

Josh Juneau has been constructing software program because the mid Nineteen Nineties. PL/SQL improvement and database programming was once the focal point of his occupation initially, yet as his talents built, he started to use Java and later shifted to it as a chief base for his program improvement. Josh has labored with Java within the type of GUI, internet, and command-line programming for numerous years. in the course of his tenure as a Java developer, he has labored with many frameworks equivalent to JSF, EJB, and JBoss Seam. while, Josh has prolonged his wisdom of the JVM by means of studying and constructing functions with different JVM languages similar to Jython and Groovy. His curiosity in studying new languages that run at the JVM resulted in his curiosity in Jython. considering the fact that 2006, Josh has been the editor and writer for the Jython per 30 days e-newsletter. In past due 2008, he started a podcast devoted to the Jython programming language.

Jim Baker has over 15 years software program improvement adventure, concentrating on enterprise intelligence, company process administration, and high-performance net functions. Jim is a committer on Jython and likewise leads front diversity Pythoneers, a merry band of Python fans in Boulder, Colorado. Jim graduated from Harvard university, A.B., computing device technological know-how magna cum laude and Brown collage, Sc.M., machine technology (and an all-but-dissertation Ph.D. candidate).

Victor Ng has been slinging Python code in businesses for approximately 10 years now and has labored within the banking, event trip, and telecommunications industries. He began a small consulting corporation along with his pal in 2006 referred to as Monkeybean, Inc. (so named after his daughter's nickname). He lives simply outdoor of Toronto, Ontario, in Canada.

Frank Wierzbicki is the pinnacle of the Jython venture and a lead software program developer at Sauce Labs. He has been programming because the Commodore sixty four was once the king of domestic desktops (look it up kids!) and can't think why somebody could do the rest for a dwelling. Frank's so much enduring pastime is opting for up new programming languages, yet he has but to discover person who is extra enjoyable to paintings with than Python.

Leonardo Soto is a part of the Jython improvement group from the center of 2008, after a effectively accomplished Google summer season of Code venture that aimed to run and combine the Django internet framework with Jython. he's additionally a last-year pupil of informatics engineering on the Universidad de Santiago de Chile. He has constructed a number of software
systems long ago seven years, so much of them being net functions, and so much of them in keeping with the JavaEE (formerly J2EE) platform. besides the fact that, he has been spoiled through Python considering that nearly the beginning of his specialist developer profession, and he has overlooked its strength and readability numerous instances, which inexorably grew to become him towards the Jython undertaking.

Show description

Read or Download The Definitive Guide to Jython: Python for the Java Platform PDF

Best programming books

Specification by Example: How Successful Teams Deliver the by Gojko Adzic PDF


Specification by way of instance is an rising perform for growing software program in accordance with real looking examples, bridging the verbal exchange hole among company stakeholders and the dev groups construction the software program. during this e-book, writer Gojko Adzic distills interviews with winning groups all over the world, sharing how they specify, boost, and bring software program, with out defects, briefly iterative supply cycles.
in regards to the Technology
Specification through instance is a collaborative approach for specifying specifications and assessments. Seven styles, totally explored during this ebook, are secret to meaking the strategy potent. the tactic has 4 major merits: it produces dwelling, trustworthy documentation; it defines expectancies sincerely and makes validation effective; it reduces transform; and, notably, it assures supply groups and company stakeholders that the software program that's outfitted is correct for its purpose.
in regards to the Book
This publication distills from the adventure of major groups all over the world powerful how one can specify, try out, and carry software program briefly, iterative supply cycles. Case stories during this publication variety from small internet startups to giant monetary associations, operating in lots of approaches together with XP, Scrum, and Kanban.

This ebook is written for builders, testers, analysts, and company humans operating jointly to construct nice software.

buy of the print booklet comes with a suggestion of a loose PDF, ePub, and Kindle publication from Manning. additionally to be had is all code from the book.
What's inside of * universal technique styles
* how one can steer clear of undesirable practices
* becoming SBE on your procedure
* 50+ case stories

For extra assets visit specificationbyexample. com.

desk of Contents <ol><h5>Part 1 Getting started</h5> * Key advantages
* Key procedure styles
* dwelling documentation
* beginning the adjustments
<h5>Part 2 Key procedure patterns</h5> * Deriving scope from ambitions
* Specifying collaboratively
* Illustrating utilizing examples
* Refining the specification
* Automating validation with out altering necessities
* Validating often
* Evolving a documentation procedure
<h5>Part three Case studies</h5> * uSwitch
* RainStor
* Iowa scholar personal loan
* Sabre Airline suggestions
* ePlan providers
* Songkick
* Concluding innovations

Download e-book for kindle: OpenGL SuperBible: Comprehensive Tutorial and Reference (6th by Richard S. Wright, Nicholas Haemel, Graham Sellers

OpenGL® SuperBible, 6th version, is the definitive programmer’s advisor, instructional, and reference for the world’s best 3D API for real-time special effects, OpenGL four. three. the simplest all-around creation to OpenGL for builders in any respect degrees of expertise, it in actual fact explains either the most recent API and essential similar innovations.

Get Unit Test Frameworks: Tools for High-Quality Software PDF

Submit yr be aware: First released in 2004

Unit try frameworks are a key component to well known improvement methodologies reminiscent of severe Programming (XP) and Agile improvement. yet unit trying out has moved a ways past severe Programming; it really is now universal in lots of sorts of software improvement. Unit checks aid confirm low-level code correctness, decrease software program improvement cycle time, enhance developer productiveness, and bring extra powerful software.

Until now, there has been little documentation to be had on unit trying out, and such a lot resources addressed particular frameworks and particular languages, instead of explaining using unit trying out as a language-independent, standalone improvement method. This important new e-book covers the speculation and heritage of unit try frameworks, bargains step by step guide in simple unit attempt improvement, offers priceless code examples in either Java and C++, and comprises info on essentially the most widely used frameworks this present day from the XUnit kin, together with JUnit for Java, CppUnit for C++, and NUnit for . NET.

Unit try out Frameworks contains transparent, concise, and specified descriptions of: the speculation and layout of unit try out frameworks Examples of unit assessments and frameworks types of unit exams well known unit attempt frameworks And extra it is usually the entire resource code for CppUnit for C++, and NUnit for . internet.

Additional info for The Definitive Guide to Jython: Python for the Java Platform

Example text

Add in the maturity of the Java platform and it becomes easy to see why Jython is such an attractive programming language. The goal, if you will, of any programming language is to grant its developers the same experience that Jython does. Simply put, learning Jython will be an asset to any developer. As I’ve mentioned, the Jython language implementation takes Python and runs it on the JVM, but it does much more than that. Once you have experienced the power of programming on the Java platform, it will be difficult to move away from it.

Listing 1-28. >>> raise Exception('Custom Exception') Traceback (most recent call last): File "", line 1, in Exception: Custom Exception 16 CHAPTER 1 ■ LANGUAGE AND SYNTAX import Statement A program can be made up of one or more suites of code. In order to save a program so that it can be used later, we place the code into files on our computer. py and so forth. These files are known as modules in the Python world. The import statement is used much like it is in other languages, it brings external modules or code into a program so that it can be used.

In order to obtain a listing of modules, keywords, or topics you just type either “modules,” “keywords,” or “topics”, and you will be provided with a complete listing. You will also receive help for using the interactive help system. or maybe this should be referred to as meta-help! Although the Jython interactive help system is great, you may still need further assistance. There are a large number of books published on the Python language that will be sure to help you out. Make sure that you are referencing a book that provides you with information for the specific Python release that you are using as each version contains some differences.

Download PDF sample

Rated 4.18 of 5 – based on 21 votes