File: whatis.ht

package info (click to toggle)
jython 2.2.1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,708 kB
  • ctags: 46,200
  • sloc: python: 150,937; java: 86,267; xml: 1,080; perl: 104; sh: 93; makefile: 81; ansic: 24
file content (59 lines) | stat: -rw-r--r-- 2,280 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Title: What is Jython?

<h3>What is Jython?</h3>

<P>Jython is an implementation of the high-level, dynamic,
object-oriented language <A HREF="http://www.python.org">Python</A>
seamlessly integrated with the
<A HREF="http://www.javasoft.com">Java</A> platform. 
The predecessor to Jython, JPython, is certified as
<A HREF="http://www.javasoft.com/100percent/">100% Pure Java</A>.

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:</P>

<UL>
    <LI><B>Embedded scripting</B> - 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.

    <LI><B>Interactive experimentation</B> - 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.

    <LI><B>Rapid application development</B> - 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.
</UL>

<P>There are numerous
<A HREF="http://grunge.cs.tu-berlin.de/~tolk/vmlanguages.html">
alternative languages</A>
implemented for the Java VM. The following features help to separate
Jython from the rest:</P>

<UL>
    <LI><B>Dynamic compilation to Java bytecodes</B> - leads to
    highest possible performance without sacrificing interactivity.

    <LI><B>Ability to extend existing Java classes in Jython</B> -
    allows effective use of abstract classes.

    <LI><B>Optional static compilation</B> - allows creation of
	applets, servlets, beans, ...

    <LI><B>Bean Properties</B> - make use of Java packages much easier.

    <LI><B><A HREF="http://www.python.org/doc/Summary.html">
	Python Language</A></B> - 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.
</UL>