[翻譯:陳市明 摘自:http://www.jython.org]
Jython項(xiàng)目
SupeSite/X-Space社區(qū)門戶+V|t
DW3]
? Jython是用純java實(shí)現(xiàn)的動(dòng)態(tài)面向?qū)ο蟮母呒?jí)語(yǔ)言,她無(wú)縫的結(jié)合了java和python兩種語(yǔ)言。用戶可以在任何java虛擬機(jī)上使用python。
HT3L)q&~z'v#c:J2? 最新消息:目前發(fā)布的最新Release版本是Jython 2.2 Beta
HD3|8F'l2hw2什么是JythonSupeSite/X-Space社區(qū)門戶Z0d?~@5n[_
? Jython是動(dòng)態(tài)面向?qū)ο蟮母呒?jí)語(yǔ)言,可以無(wú)縫集成到j(luò)ava平臺(tái)上。不管你是商業(yè)還是非商業(yè)的,都可以免費(fèi)的使用Jython,也可以和你的源碼一起發(fā)布。Jython可以彌補(bǔ)java的某些缺點(diǎn)特別是在一下幾個(gè)方面:
(N%n?r:a
E;i.^;WS{2?? * 嵌入式教本 - Java開(kāi)發(fā)人員在他們的系統(tǒng)中添加Jython的類庫(kù)后,可以允許最終用戶在他們的系統(tǒng)中編寫各種腳本
_.y'\,Z%{!J'h2?? * 交互式測(cè)試 - Jython可以提供允許和java交互的接口,方便開(kāi)發(fā)人員在java系統(tǒng)中有效調(diào)試SupeSite/X-Space社區(qū)門戶Z @6|z$lr M
?? * 快速開(kāi)發(fā) - 同樣的功能,java的代碼量是python的2到10倍左右,python的開(kāi)發(fā)效率遠(yuǎn)遠(yuǎn)比高于java的開(kāi)發(fā)。python和java的無(wú)縫的交互是的快發(fā)愛(ài)發(fā)人員可以免費(fèi)的同時(shí)使用兩種語(yǔ)言進(jìn)行開(kāi)發(fā)。
z
y#t~H$}6FF*d2? 有許多腳本語(yǔ)言可以在java虛擬機(jī)中運(yùn)行,但是jython相比較,有以下優(yōu)勢(shì):
5G/QcwOd%y2?? * 動(dòng)態(tài)編譯成java字節(jié)碼
P8G9f
k'O-ac2?? * 通過(guò)jython可以直接調(diào)用現(xiàn)有的java類SupeSite/X-Space社區(qū)門戶4L1J#D]f$n'OC
?? * Bean PropertiesSupeSite/X-Space社區(qū)門戶
p4u/{*_s(|6H
?? * python語(yǔ)法
&cC?Q;[6yh P2
Q!y9?.z$?FS2
"]L
U+?d9?!I2
a^ vyHa9R:gS6B3u2The Jython Project
6Bf0xm?s/S~*Vvz[2SupeSite/X-Space社區(qū)門戶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社區(qū)門戶YS,LP7K#~!@
SupeSite/X-Space社區(qū)門戶*{$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社區(qū)門戶eKW/MYQ
m/L&K5BupeSite/X-Space社區(qū)門戶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