Jython essentials: [rapid scripting in Java]
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2002
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XX, 277 S. |
ISBN: | 0596002475 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV014569938 | ||
003 | DE-604 | ||
005 | 20060308 | ||
007 | t | ||
008 | 020716s2002 gw |||| 00||| eng d | ||
016 | 7 | |a 964299011 |2 DE-101 | |
020 | |a 0596002475 |9 0-596-00247-5 | ||
035 | |a (OCoLC)314331789 | ||
035 | |a (DE-599)BVBBV014569938 | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
044 | |a gw |c DE | ||
049 | |a DE-Aug4 |a DE-11 | ||
082 | 0 | |a 005.133 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 260 |0 (DE-625)143632: |2 rvk | ||
100 | 1 | |a Pedroni, Samuele |e Verfasser |4 aut | |
245 | 1 | 0 | |a Jython essentials |b [rapid scripting in Java] |c Samuele Pedroni and Noel Rappin |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2002 | |
300 | |a XX, 277 S. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Jython |0 (DE-588)4690312-4 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Jython |0 (DE-588)4690312-4 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Rappin, Noel |e Verfasser |4 aut | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009906778&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-009906778 |
Datensatz im Suchindex
_version_ | 1805087767185588224 |
---|---|
adam_text |
Titel: Jython essentials
Autor: Pedroni, Samuele
Jahr: 2002
Table of Contents
Foreword .ix
Preface. xiii
1. Introduction to Jython.1
Jython Requirements 1
Welcome to Jython 2
What's Jython Good For? 7
The Benefits of Jython 9
The Speed Question 13
The Rest of the Book 14
2. Jython Basics .16
Running Jython 16
Basic Types 18
Operators 20
Numeric Types 22
Sequences: Lists and Tuples 25
Strings 33
Mappings and Dictionaries 40
Jython Files 44
3. Jython Control Flow .46
Statements and Expressions 46
Assignment 47
Printing 31
Blocks 32
Conditional Logic 34
Loops
CO
List Comprehensions
61
Exceptions
Evaluating Code Dynamically 63
4. Modules and Functions .66
Modules 66
Functions 68
Parameter Passing with Style 69
Import Statements and Packages 77
5. Object-Oriented Jython .83
Creating Classes ,. 83
Methods 85
Classes, Instances, and Access Control 89
Inheritance 96
Special Methods 98
6. Using Java from Jython.104
Basic Object Usage 103
Automatic Type Conversion 107
Java Arrays and the jarray Module 112
Java-to-Python Types: Automatic Conversion 115
Collection Wrappers 117
Avoiding Name Collisions 117
7. Inheriting from Java.120
Basic Mechanics 121
Java Interoperation and Overriding 123
Calling Super Methods and Constructors 127
8. Reflection and JavaBeans .131
Bean-Based Reflection 132
Python-Based Reflection 138
9. Using Swing .144
Java Versus Jython 145
A Calculator 149
An HTML Browser 152
An HTML Source Browser 155
vl | Table of Contents
10. Using Java Libraries.161
JDBC and the Python Database API 161
Servlets and PyServlet 165
JythonandXML 170
11. Jython Standard Library.178
Using Python Modules 178
System and File Modules 179
Regular Expressions 187
Serialization and Pickling 194
Unit Testing with PyUnit 197
12. Embedding Jython Inside Java .203
Setting Up an Interpreter 204
Executing Code 206
Accessing the Interpreter Namespace 208
Using PyObjects 209
PyObject Subclasses 211
Catching Exceptions 214
Embedding Examples 214
13. Compiling Jython.218
Why Compile? 218
The Compiler in Action 220
Packaging in Java Archives 224
Using Jython in Java 225
A Simple Applet 229
A. Installing Jython .231
B. Jython Options and Registry.234
C. Jython Exceptions.240
D. Jython and CPython Differences.244
E. Java-to-Python Quick Reference.250
Index.257
Table of Contents | vii |
any_adam_object | 1 |
author | Pedroni, Samuele Rappin, Noel |
author_facet | Pedroni, Samuele Rappin, Noel |
author_role | aut aut |
author_sort | Pedroni, Samuele |
author_variant | s p sp n r nr |
building | Verbundindex |
bvnumber | BV014569938 |
classification_rvk | ST 250 ST 260 |
ctrlnum | (OCoLC)314331789 (DE-599)BVBBV014569938 |
dewey-full | 005.133 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.133 |
dewey-search | 005.133 |
dewey-sort | 15.133 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV014569938</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20060308</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">020716s2002 gw |||| 00||| eng d</controlfield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">964299011</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0596002475</subfield><subfield code="9">0-596-00247-5</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)314331789</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV014569938</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakddb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">gw</subfield><subfield code="c">DE</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-11</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.133</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 260</subfield><subfield code="0">(DE-625)143632:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Pedroni, Samuele</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Jython essentials</subfield><subfield code="b">[rapid scripting in Java]</subfield><subfield code="c">Samuele Pedroni and Noel Rappin</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2002</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XX, 277 S.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Jython</subfield><subfield code="0">(DE-588)4690312-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Jython</subfield><subfield code="0">(DE-588)4690312-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Rappin, Noel</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009906778&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-009906778</subfield></datafield></record></collection> |
id | DE-604.BV014569938 |
illustrated | Not Illustrated |
indexdate | 2024-07-20T08:57:22Z |
institution | BVB |
isbn | 0596002475 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-009906778 |
oclc_num | 314331789 |
open_access_boolean | |
owner | DE-Aug4 DE-11 |
owner_facet | DE-Aug4 DE-11 |
physical | XX, 277 S. |
publishDate | 2002 |
publishDateSearch | 2002 |
publishDateSort | 2002 |
publisher | O'Reilly |
record_format | marc |
spelling | Pedroni, Samuele Verfasser aut Jython essentials [rapid scripting in Java] Samuele Pedroni and Noel Rappin 1. ed. Beijing [u.a.] O'Reilly 2002 XX, 277 S. txt rdacontent n rdamedia nc rdacarrier Jython (DE-588)4690312-4 gnd rswk-swf Jython (DE-588)4690312-4 s DE-604 Rappin, Noel Verfasser aut HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009906778&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Pedroni, Samuele Rappin, Noel Jython essentials [rapid scripting in Java] Jython (DE-588)4690312-4 gnd |
subject_GND | (DE-588)4690312-4 |
title | Jython essentials [rapid scripting in Java] |
title_auth | Jython essentials [rapid scripting in Java] |
title_exact_search | Jython essentials [rapid scripting in Java] |
title_full | Jython essentials [rapid scripting in Java] Samuele Pedroni and Noel Rappin |
title_fullStr | Jython essentials [rapid scripting in Java] Samuele Pedroni and Noel Rappin |
title_full_unstemmed | Jython essentials [rapid scripting in Java] Samuele Pedroni and Noel Rappin |
title_short | Jython essentials |
title_sort | jython essentials rapid scripting in java |
title_sub | [rapid scripting in Java] |
topic | Jython (DE-588)4690312-4 gnd |
topic_facet | Jython |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009906778&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT pedronisamuele jythonessentialsrapidscriptinginjava AT rappinnoel jythonessentialsrapidscriptinginjava |