[翻譯:陳市明 摘自:http://www.jython.org]
Jython項目
SupeSite/X-Space社區門戶+V|t
DW3]
? Jython是用純java實現的動態面向對象的高級語言,她無縫的結合了java和python兩種語言。用戶可以在任何java虛擬機上使用python。
HT3L)q&~z'v#c:J2? 最新消息:目前發布的最新Release版本是Jython 2.2 Beta
HD3|8F'l2hw2什么是JythonSupeSite/X-Space社區門戶Z0d?~@5n[_
? Jython是動態面向對象的高級語言,可以無縫集成到java平臺上。不管你是商業還是非商業的,都可以免費的使用Jython,也可以和你的源碼一起發布。Jython可以彌補java的某些缺點特別是在一下幾個方面:
(N%n?r:a
E;i.^;WS{2?? * 嵌入式教本 - Java開發人員在他們的系統中添加Jython的類庫后,可以允許最終用戶在他們的系統中編寫各種腳本
_.y'\,Z%{!J'h2?? * 交互式測試 - Jython可以提供允許和java交互的接口,方便開發人員在java系統中有效調試SupeSite/X-Space社區門戶Z @6|z$lr M
?? * 快速開發 - 同樣的功能,java的代碼量是python的2到10倍左右,python的開發效率遠遠比高于java的開發。python和java的無縫的交互是的快發愛發人員可以免費的同時使用兩種語言進行開發。
z
y#t~H$}6FF*d2? 有許多腳本語言可以在java虛擬機中運行,但是jython相比較,有以下優勢:
5G/QcwOd%y2?? * 動態編譯成java字節碼
P8G9f
k'O-ac2?? * 通過jython可以直接調用現有的java類SupeSite/X-Space社區門戶4L1J#D]f$n'OC
?? * Bean PropertiesSupeSite/X-Space社區門戶
p4u/{*_s(|6H
?? * python語法
&cC?Q;[6yh P2
Q!y9?.z$?FS2
"]L
U+?d9?!I2
a^ vyHa9R:gS6B3u2The Jython Project
6Bf0xm?s/S~*Vvz[2SupeSite/X-Space社區門戶pKA#n;N;S#S P;j%f
Jython
is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated
with the Java platform. It thus allows you to run Python on any Java
platform.SupeSite/X-Space社區門戶YS,LP7K#~!@
SupeSite/X-Space社區門戶*{$x i`Q9o
Latest News
TK*i_8dK9LV2
'IL"Dg-J8T2The Jython development team is proud to announce a new release: Jython 2.2 Beta1!SupeSite/X-Space社區門戶eKW/MYQ
m/L&K5BupeSite/X-Space社區門戶eKW/MYQ
The Jython Project
Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.
Latest News
The Jython development team is proud to announce a new release: Jython 2.2 Beta1!
??? * Download it,
??? * install it,
??? * then kick the tires and start filing bug reports to help get 2.2 polished up and done, so we can get going on the next Jython 2.x.
What is Jython?
??? Jython, lest you do not know of it, is the most compelling weapon the Java platform has for its survival into the 21st century:-)
??? —Sean McGrath, CTO, Propylon
Jython is an implementation of the high-level, dynamic, object-oriented language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and non-commercial use and is distributed with source code. Jython is complementary to Java and is especially suited for the following tasks:
??? * Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the application.
??? * Interactive experimentation - Jython provides an interactive interpreter that can be used to interact with Java packages or with running Java applications. This allows programmers to experiment and debug any Java system using Jython.
??? * Rapid application development - Python programs are typically 2-10X shorter than the equivalent Java program. This translates directly to increased programmer productivity. The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products.
There are numerous alternative languages implemented for the Java VM. The following features help to separate Jython from the rest:
??? * Dynamic compilation to Java bytecodes - leads to highest possible performance without sacrificing interactivity.
??? * Ability to extend existing Java classes in Jython - allows effective use of abstract classes.
??? * Optional static compilation - allows creation of applets, servlets, beans, ...
??? * Bean Properties - make use of Java packages much easier.
??? * Python Language - combines remarkable power with very clear syntax. It also supports a full object-oriented programming model which makes it a natural fit for Java's OO design.
m/L&K5B
m/L&K5B