Hugendubel.de - Das Lesen ist schön

Warenkorb

€ 0,00 0 Buch dabei,
portofrei

Jython Essentials

Sprache: Englisch.
Buch (kartoniert)
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 ... weiterlesen
Buch

31,49*

inkl. MwSt.
Portofrei
Lieferbar innerhalb von zwei Wochen
Jython Essentials als Buch
Produktdetails
Titel: Jython Essentials
Autor/en: Samuele Pedroni, Noel Rappin

ISBN: 0596002475
EAN: 9780596002473
Sprache: Englisch.
O'REILLY & ASSOC INC

März 2002 - kartoniert - 304 Seiten

Beschreibung

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.

Inhaltsverzeichnis

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

Portrait

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.

Kunden, die diesen Artikel gekauft haben, kauften auch

Tragen Sie Ihre E-Mail- Adresse ein, und bleiben Sie kostenlos informiert:
Paganinis Fluch
- 10% **
eBook
von Lars Kepler
Print-Ausgabe € 9,99
Das Meer in deinem Namen
- 30% **
eBook
von Patricia Koel…
Print-Ausgabe € 9,99
Ein Abenteuer in den Highlands
eBook
von Karin Lindber…
Tödliche Camargue
- 10% **
eBook
von Cay Rademache…
Print-Ausgabe € 9,99

Diese Artikel könnten Sie auch interessieren

Bretonische Flut
- 13% **
eBook
von Jean-Luc Bann…
Print-Ausgabe € 14,99
Das Messias-Projekt
- 54% **
eBook
von Markus Ridder
Print-Ausgabe € 10,99
Harry Potter 1 und der Stein der Weisen. Schmuckausgabe
Buch (gebunden)
von Joanne K. Row…
Gezeichnet
eBook
von Reinhard Klei…
Origin
- 17% **
eBook
von Dan Brown
Print-Ausgabe € 28,00
Servicehotline
089 - 70 80 99 47

Mo. - Fr. 8.00 - 20.00 Uhr
Sa. 10.00 - 20.00 Uhr
Filialhotline
089 - 30 75 75 75

Mo. - Sa. 9.00 - 20.00 Uhr
Bleiben Sie in Kontakt:
Sicher & bequem bezahlen:
akzeptierte Zahlungsarten: Überweisung, offene Rechnung,
Visa, Master Card, American Express, Paypal
Zustellung durch:
* Alle Preise verstehen sich inkl. der gesetzlichen MwSt. Informationen über den Versand und anfallende Versandkosten finden Sie hier.
** im Vergleich zum dargestellten Vergleichspreis.