Buy Jython Essentials by Samuele Pedroni - Bookswagon
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Jython Essentials: (Cookbooks Ser.)
Jython Essentials: (Cookbooks Ser.)

Jython Essentials: (Cookbooks Ser.)


     0     
5
4
3
2
1



International Edition


X
About the Book

Jython is an implementation of the Python programming language, seamlessly integrated with the Java platform. It allows programmers to compile Python source code to Java byte code, and run the resulting bytecode on any Java Virtual Machine. Jython offers an integration of Python and Java, so that from Python, programmers can have complete access to all Java libraries, can build applets, integrate with Java beans and subclass Java classes. Like Python, Jython can also be used interactively so that the programmer can get immediate results. Jython is complementary to Java and is especially well-suited for programming tasks like embedded scripting (Java programmers can add the Jython libraries to their system to allow end-users to write simple or complicated scripts that can add functionality to applications); interactive experimentation (Jython provides an interactive interpreter that can be used to interact with Java packages and allows programmers to experiment on the fly); and rapid application development (Python programs are typically 5-10X shorter than the equivalent Java program, which translates directly to increased programmer productivity). The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products. The library classes available to Jython are all of those available to Java (plus a good subset of the standard Python library.) ""Jython Essentials"" offers Java and Python programmers what they need to figure out what makes the Python and Java combination so potent for program development. They should find through the introduction to the language, examples and reference material in the book, that the secret to Jython's success lies in Java's architecture and tool set and Python's extremely rapid development. "

Table of Contents:
Foreword Preface 1. Introduction to Jython Jython Requirements Welcome to Jython What's Jython Good For? The Benefits of Jython The Speed Question The Rest of the Book 2. Jython Basics Running Jython Basic Types Operators Numeric Types Sequences: Lists and Tuples Strings Mappings and Dictionaries Jython Files 3. Jython Control Flow Statements and Expressions Assignment Printing Blocks Conditional Logic Loops List Comprehensions Exceptions Evaluating Code Dynamically 4. Modules and Functions Modules Functions Parameter Passing with Style Import Statements and Packages 5. Object-Oriented Jython Creating Classes Methods Classes, Instances, and Access Control Inheritance Special Methods 6. Using Java from Jython Basic Object Usage Automatic Type Conversion Java Arrays and the jarray Module Java-to-Python Types: Automatic Conversion Collection Wrappers Avoiding Name Collisions 7. Inheriting from Java Basic Mechanics Java Interoperation and Overriding Calling Super Methods and Constructors 8. Reflection and JavaBeans Bean-Based Reflection Python-Based Reflection 9. Using Swing Java Versus Jython A Calculator An HTML Browser An HTML Source Browser 10. Using Java Libraries JDBC and the Python Database API Servlets and PyServlet Jython and XML 11. Jython Standard Library Using Python Modules System and File Modules Regular Expressions Serialization and Pickling Unit Testing with PyUnit 12. Embedding Jython Inside Java Setting Up an Interpreter Executing Code Accessing the Interpreter Namespace Using Objects PyObject Subclasses Catching Exceptions Embedding Examples 13. Compiling Jython Why Compile? The Compiler in Action Packaging in Java Archives Using Jython in Java A Simple Applet A. Installing Jython B. Jython Options and Registry C. Jython Exceptions D. Jython and CPython Differences E. Java-to-Python Quick Reference Index

About the Author :
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. His research includes teaching Object-Oriented Programming and Design. He has worked with Java for five years, and with Python more recently. Noel also contributed a chapter, which introduced Squeak to Java or C++ programmers, to the book Squeak: Open Personal Computing and Multimedia (PH).


Best Sellers


Product Details
  • ISBN-13: 9780596002473
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 228 mm
  • No of Pages: 302
  • Returnable: Y
  • Series Title: Cookbooks Ser.
  • Width: 153 mm
  • ISBN-10: 0596002475
  • Publisher Date: 30 Apr 2002
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Returnable: Y
  • Spine Width: 22 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Jython Essentials: (Cookbooks Ser.)
O'Reilly Media -
Jython Essentials: (Cookbooks Ser.)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Jython Essentials: (Cookbooks Ser.)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!