The definitive guide to Jython : Python for the Java platform /
"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 GUI applications; Web services/SOA; and in...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[New York] : New York :
Apress ; Distributed by Springer-Verlag,
2009.
|
Colección: | Expert's voice in software development.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Contents
- Foreword
- About the Authors
- About the Technical Reviewers
- Acknowledgments
- Introduction
- Part 1 Jython Basics: Learning the Language
- Chapter 1 Language and Syntax
- The Difference Between Jython and Python
- Installing and Configuring Jython
- Identifiers and Declaring Variables
- Reserved Words
- Coding Structure
- Operators
- Expressions
- Functions
- Classes
- Statements
- Iteration
- Basic Keyboard Input
- Other Python Statements
- Documenting Code
- Python Help
- Summary
- Chapter 2 Data Types and Referencing
- Python Data Types
- Summary
- Chapter 3 Operators, Expressions, and Program Flow
- Types of Expressions
- Mathematical Operations
- Using Expressions to Control Program Flow
- Summary
- Chapter 4 Defining Functions and Using Built-Ins
- Function Syntax and Basics
- Miscellaneous Information for the Curious Reader
- Built-in Functions
- Alternative Ways to Define Functions
- Generator Functions
- Namespaces, Nested Scopes, and Closures
- Function Decorators
- Coroutines
- Summary
- Chapter 5 Input and Output
- Input From the Keyboard
- File I/0
- Pickle
- Summary
- Chapter 6 Object-Oriented Jython
- Basic Syntax
- Object Attribute Lookups
- Inheritance and Overloading
- Underscore Methods
- Protocols
- Default Arguments
- Runtime Binding of Methods
- Caching Attribute Access
- Summary
- Chapter 7 Exception Handling and Debugging
- Exception Handling Syntax and Differences With Java
- Defining Your Own Exceptions
- Issuing Warnings
- Assertions and Debugging
- Context Managers
- Summary
- Chapter 8 Modules and Packages for Code Reuse
- Imports for Reuse
- An Example Program
- Types of Import Statements
- Module Search Path, Compilation, and Loading
- Java Package Scanning
- Python Modules and Packages Versus Java Packages
- Advanced Import Manipulation
- Summary
- Part II Using the Language
- Chapter 9 Scripting With Jython
- Searching for a File
- Manipulating Files
- Making a Script a Module
- Parsing Commandline Options
- Compiling Java Source
- Example Script: Builder. Py
- Helloworld. Java
- Summary
- Chapter 10 Jython and Java Integration
- Using Java Within Jython Applications
- Using Jython Within Java Applications
- Summary
- Chapter 11 Using Jython in An Ide
- Eclipse
- Debugging
- Netbeans
- Ide Installation and Configuration
- Advanced Python Options
- General Python Usage
- Standalone Jython Apps
- Jython and Java Integrated Apps
- The Netbeans Python Debugger
- Other Netbeans Python Features
- Summary
- Chapter 12 Databases and Jython: Object Relational Mappingand Using Jdbc
- ZxjdbcUsing Pythons Db Api Via Jdbc
- Object Relational Mapping
- T$3075.