reklama - zainteresowany?

Jython Essentials - Helion

Jython Essentials
ebook
Autor: Samuele Pedroni, Noel Rappin
ISBN: 978-14-493-9777-7
stron: 302, Format: ebook
Data wydania: 2002-03-21
Księgarnia: Helion

Cena książki: 101,15 zł (poprzednio: 117,62 zł)
Oszczędzasz: 14% (-16,47 zł)

Dodaj do koszyka Jython Essentials

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.

Dodaj do koszyka Jython Essentials

 

Osoby które kupowały "Jython Essentials", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Ruby on Rails. Ćwiczenia
  • DevOps w praktyce. Kurs video. Jenkins, Ansible, Terraform i Docker
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Scrum. O zwinnym zarzÄ…dzaniu projektami. Wydanie II rozszerzone

Dodaj do koszyka Jython Essentials

Spis treści

Jython Essentials eBook -- spis treści

  • Jython Essentials
    • SPECIAL OFFER: Upgrade this ebook with OReilly
    • A Note Regarding Supplemental Files
    • Foreword
    • Preface
      • Audience Expectations
      • Organization
      • Further Reading
      • Conventions Used in This Book
      • How to Contact Us
      • Samuele Pedronis Acknowledgments
      • Noel Rappins Acknowledgments
    • 1. Introduction to Jython
      • Jython Requirements
      • Welcome to Jython
        • Starting Jython
        • Adding Items to the Window
        • Adding Behavior
      • Whats Jython Good For?
      • The Benefits of Jython
        • For Java Programmers
        • For Python Programmers
      • The Speed Question
      • The Rest of the Book
    • 2. Jython Basics
      • Running Jython
      • Basic Types
      • Operators
      • Numeric Types
        • Integer
        • Long
        • Float
        • Complex
        • Numerical Functions
      • Sequences: Lists and Tuples
        • Sequence Access
        • Sequence Functions and Functions
        • Functional Programming
        • Tuples: Immutable Sequences
      • Strings
        • String Formatting
        • String Functions
      • Mappings and Dictionaries
      • Jython Files
    • 3. Jython Control Flow
      • Statements and Expressions
      • Assignment
        • Unpacking Assignment
        • Augmented Assignment
      • Printing
      • Blocks
      • Conditional Logic
      • Loops
      • List Comprehensions
      • Exceptions
      • Evaluating Code Dynamically
    • 4. Modules and Functions
      • Modules
      • Functions
      • Parameter Passing with Style
        • Scoping Rules
        • Flying First Class
      • Import Statements and Packages
        • Import Statements
        • Importing Java Classes
          • Auto-loading through lookup
        • Reload
    • 5. Object-Oriented Jython
      • Creating Classes
      • Methods
      • Classes, Instances, and Access Control
        • Class and Static Attributes
        • Access Control
        • Get and Set Methods
        • Using __getattr__
        • Using __setattr__
      • Inheritance
      • Special Methods
        • General Instance Special Methods
        • Sequences and Mappings
        • Numbers
    • 6. Using Java from Jython
      • Basic Object Usage
      • Automatic Type Conversion
        • Managing Overloaded Methods
        • Basic Data Conversions
        • Converting Arrays
      • 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
        • Using Beans in Jython
        • Indexed Properties
        • Event Properties
      • Python-Based Reflection
        • Reflecting on Java Objects
        • Active 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
        • Using zxJDBC
        • Connection Objects
        • Cursor Objects
      • Servlets and PyServlet
        • Using PyServlet
        • A Python Template Tool
        • Reloading Servlet Modules
      • Jython and XML
        • SAX and DOM
        • JDOM and Jython
    • 11. Jython Standard Library
      • Using Python Modules
      • System and File Modules
        • The sys Module
        • The os Module
        • The os.path module
        • File Pattern Matching with glob
      • Regular Expressions
        • The re Module
        • Match Objects
        • Regular Expression Objects
        • Special Characters
      • Serialization and Pickling
      • Unit Testing with PyUnit
        • Simple Tests
        • Tests in Groups
    • 12. Embedding Jython Inside Java
      • Setting Up an Interpreter
      • Executing Code
      • Accessing the Interpreter Namespace
      • Using PyObjects
      • PyObject Subclasses
      • Catching Exceptions
      • Embedding Examples
    • 13. Compiling Jython
      • Why Compile?
      • The Compiler in Action
        • Java Source
        • Top-Level Java
      • Packaging in Java Archives
      • Using Jython in Java
      • A Simple Applet
    • A. Installing Jython
    • B. Jython Options and Registry
      • Jython Options
      • Jython Compiler Options
      • The Jython Registry
    • C. Jython Exceptions
    • D. Jython and CPython Differences
      • Jython Extensions
      • Major Design Differences
      • Minor Design Differences
      • Differences Due to Java Details
      • Differences Due to Java Limitations
      • Minor Issues
      • Java Objects Versus Python Objects
    • E. Java-to-Python Quick Reference
      • Basic Data Types
      • Advanced Data Types
      • Logical Operators
      • Arithmetic Operators
      • Control Statements
      • Definition Statements
      • String Methods
      • List Methods
      • Dictionary Functions
    • Index
    • About the Authors
    • Colophon
    • SPECIAL OFFER: Upgrade this ebook with OReilly

Dodaj do koszyka Jython Essentials

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.