Servlet NewJavaServlet Test



Yüklə 11,16 Mb.
Pdf görüntüsü
səhifə9/97
tarix07.11.2018
ölçüsü11,16 Mb.
#78896
1   ...   5   6   7   8   9   10   11   12   ...   97


 CONTENTS  
 
xviii 
issubclass(class, classinfo) ........................................................................................................ 480

len(s) ......................................................................................................................................... 480

locals()....................................................................................................................................... 481

reload(module)........................................................................................................................... 481

repr(object) ................................................................................................................................ 482

setattr(object, name, value)........................................................................................................ 482

type(object)................................................................................................................................ 482

vars([object]).............................................................................................................................. 482

__import__(name[, globals[, locals[, fromlist[, level]]]]).............................................................. 483

 Index................................................................................................................................................485 

www.it-ebooks.info



 
 
 
 
 
xix 
Foreword 
I started using Python in 2003, and I fell in love with the language for a variety of reasons. The elegance 
of Python’s whitespace based syntax, the well conceived built in data types, and a beautiful set of library 
functions. Since that time, many other people have discovered or rediscovered Python. At the time of 
this writing, the software industry is well into a resurgence of dynamically typed languages: Ruby, PHP, 
and Python.  
It wasn’t until I attended my first PyCon in 2004 that I became aware of Jython. People were glad of 
the ability to run Python programs on the Java Virtual Machine (JVM), but were wistful because at the 
time Jython was lagging behind the native C Python (CPython) interpreter in terms of supporting recent 
versions of the language. Jython was maintained by a series of individual developers, but the task of 
staying current with CPython was really too much for any single person. In December 2005, Frank 
Wierzbicki took over as the lead developer for Jython, and over the next few years managed to foster a 
community of developers for Jython. The authors of this book are some of the members of that 
community. In June of 2009, the Jython community released Jython 2.5, which implemented the same 
language as CPython 2.5. This was a major leap forward, bringing Jython much closer to feature parity 
with CPython, and laying a foundation for catching up the rest of the way with CPython. Jython 2.5 is 
able to run many of the most popular Python packages, including Django, Pylons, and SQLAlchemy. 
Jython makes for a best of both worlds bridge between the elegant, expressive code of the Python 
world and the “enterprise ready” Java world. Developers who work in organizations where Java is 
already in use can now take advantage of the expressiveness and conciseness of Python by running their 
Python programs on Jython. Jython provides easy integration and interoperability between Python code 
and existing Java code.  
Jython also has something to offer existing Python programmers, namely access to the very rich 
ecosystem of the Java Virtual Machine. There is an enormous amount of Java code out in the world. 
There are libraries for every task imaginable, and more. Jython gives Python programmers a way to tap 
into these libraries, saving both development and testing time. Web applications running on Jython can 
also take advantage of the scalability benefits of Java web containers such as Tomcat or GlassFish. 
Things are looking very bright for Jython, and this book is a timely resource for people interested in 
taking advantage of the benefits that Jython has to offer. 
Ted Leung 
 
www.it-ebooks.info



 CONTENTS  
 
xx 
About the Authors 
■ 
Josh Juneau has been a software developer since the mid-1990s. He graduated 
from Northern Illinois University with a degree in Computer Science. His career 
began as an Oracle database administrator which later led into PL/SQL 
development and database programming. Josh began to use Java along with 
PL/SQL for developing web applications, and later shifted to Java as a primary 
base for application development. Josh has worked with Java in the form of web, 
GUI, and command-line programming for several years. During his tenure as a 
Java developer, he has worked with many frameworks including JSP, JSF, EJB, and 
JBoss Seam. At the same time, Josh expanded his usage of the JVM by developing 
applications with other JVM languages such as Jython and Groovy. Since 2006, 
Josh has been the editor and publisher of the Jython Monthly newsletter. In late 2008, he began a podcast 
dedicated to the Jython programming language. More modern releases of Jython have enabled Josh to 
begin using it as one of the primary languages for his professional development. Currently, Josh spends 
his days developing Java and Jython applications, and working with Oracle databases. When he is not 
working, he enjoys spending time with his family. Josh also sneaks in enough time to maintain the 
jython.org website, hack on the Jython language, and work on other such projects. He can be contacted 
via his blog at http://www.jj-blogger.blogspot.com. 
 
■ 
Jim Baker has over 15 years of software development experience, focusing on 
business intelligence, enterprise application integration, and high-performance 
web applications. He is a member of the Python Software Foundation and a 
committer on Jython. Jim has presented at Devoxx, EuroPython, JavaOne, and the 
Python Conference, as well as at numerous user groups. He is a graduate of both 
Harvard and Brown. 
 
 
 
■ 
Victor Ng has been slinging Python code in enterprises for 10 years and has worked in the banking
adventure travel, and telecommunications industries. Victor attended the University of Waterloo where 
he was busy learning to cook and didn’t attend too many classes. He lives just outside of Toronto, 
Ontario, in Canada. 
 
■ 
Leonardo Soto has been part of the Jython development team since the middle 
of 2008, after he successfully completed a Google Summer of Code Project that 
aimed to run and integrate the Django web framework with Jython. He is also 
finishing his thesis to get the Informatics Engineering title from the Universidad 
de Santiago de Chile and works on Continuum, a Chilean software boutique. 
Leo has developed several software systems in the past seven years, most of 
which are web applications, and based on the JavaEE (formerly J2EE) platform. 
However, he has been spoiled by Python since the start of his professional 
developer career, and he has missed its power and clarity countless times, which 
inexorably turned him toward the Jython project.  
 
www.it-ebooks.info


Yüklə 11,16 Mb.

Dostları ilə paylaş:
1   ...   5   6   7   8   9   10   11   12   ...   97




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə