Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Jython


Related Topics
TQS

In the News (Tue 8 Dec 09)

  
  Jython - Wikipedia, the free encyclopedia
Jython, formerly known as JPython, is an implementation of the Python programming language written in Java.
Jython includes almost all of the modules in the standard Python programming language distribution, lacking only some of the modules implemented originally in C. For example, a user interface in Jython would be written with Swing or AWT, rather than with Tkinter.
The implementation of Jython lags behind CPython implementation, but Jython developers are now actively working on version 2.2, which consists of major enhancements such as the new style classes.
en.wikipedia.org /wiki/Jython   (205 words)

  
 ongoing · Jython
Jython represents a chance to have that growth happen inside the Java technology environment, rather than outside.
Jython · What happened was, back in 1997 Jim Hugunin decided that he wanted to combine some numerical processing in Java with some flexible application scripting in Python, and eventually figured out how to compile Python to Java bytecodes.
Or, you could use Jython, which is a mature, well-debugged language with the huge Python community behind it and also has access to all the Java classes and objects in your application...
www.tbray.org /ongoing/When/200x/2004/05/03/Pedroni   (1015 words)

  
 ONJava.com: Tips for Scripting Java with Jython
Jython is a complete re-implementation of the Python programming language, written in 100 percent pure Java, which runs on any Java Virtual Machine (JVM).
Jython offers list comprehensions, which are a cool shortcut for the common task of creating a list by applying a specific function to each element of an existing list.
In Jython, variables do not have to be declared before use, nor do their types need to be declared.
www.onjava.com /pub/a/onjava/2002/03/27/jython.html   (899 words)

  
 PushToTest - Free open-source software test automation solutions - Writing Threaded Applications in Jython
Jython is an object oriented scripting language that is popular with software developers, QA technicians, and IT managers.
Jython implements the equivalent of a Java Static class when myclass is defined in the script.
When the class is instantiated Jython calls the __init__ method on the instance of the new class so there is no need to synchronize __init__ because only the new instantiation of the class has access to it.
www.pushtotest.com /Docs/howto/jythonthreads.html   (1608 words)

  
 Jython Essentials: Chapter 1: Introduction to Jython
Jython is about 1-10 times slower than equivalent Java code, although admittedly useful hard numbers on this are hard to come by because the exact speed difference strongly depends on the nature of your application.
Jython performance is heavily dependent on the specifics of the JVM, of course.
The goal of Jython is to make the interaction between Java and Jython code as simple as possible, and to allow you to use Java objects as though they were written in Jython.
www.oreilly.com /catalog/jythoness/chapter/ch01.html   (4943 words)

  
 Charming Jython
Jython can be a very handy supplement, useful for quick inspection and prototyping, testing, and for handling a selection of coding tasks for which its approach is better suited.
Jython is an implementation of the Python language; if you plan to use Jython, you will want to be familiar with the documentation and other resources hosted at Python.org.
Jython Essentials (Samuele Pedroni and Noel Rappin, O'Reilly, March 2002) provides a solid introduction to the Jython, numerous examples of Jython/Java interaction, and reference material on modules and libraries of use to Jython programmers.
www-128.ibm.com /developerworks/java/library/j-jython.html   (2715 words)

  
 An Introduction to Jython
In Jython, a for loop performs the body of the loop once for each item in a set of items it is given, which is usually a list (array) or tuple.
The magic that Jython does behind the scenes to allow us to do this is beyond the scope of this article, and of course, no one says you have to use multiple inheritance.
Jython has another built in method called isinstance that we can use to determine whether a given object is an instance of any given class.
www.javalobby.org /articles/jython   (2681 words)

  
 O'Reilly Network Safari Bookshelf - Jython for Java Programmers   (Site not responding. Last check: 2007-10-16)
Jython itself is the marriage of Java and the increasingly popular high-level programming language Python.
In one manifestation, Jython is Python written in Java rather than C. It has its own interpreter "jython" and compiler "jythonc," both of which can draw on all of Java's classes.
Jython is a language in its own right, and this book serves not only as an introduction to Jython, but to Python as well, and a very good one at that.
safari.oreilly.com /main.asp?bookname=0735711119   (1624 words)

  
 alt.lang.jre: Get to know Jython
Jython is an implementation of Python that fully supports the Python 2.1 syntax and most of its semantics while running on a JVM.
Jython syntax is line-oriented and similar to English while fully supporting the structured and object-oriented programming styles of languages such as Java and C++.
Jython code can be directly interpreted or it can be translated to Java source that is automatically compiled to class files (see Resources).
www-128.ibm.com /developerworks/java/library/j-alj07064   (3450 words)

  
 Introduction to Jython
Jython, then, combines a scripting language of unparalleled ease of development with an operating environment for which many powerful tools have been written.
In particular, Jython excels at simplifying the use of complex Java programming libraries and APIs, such as the Swing graphical interface toolkit or the JDBC database connectivity API.
Unlike a Java import, we don't need to tell Jython which classes to import, and unlike an ordinary Python import, this is importing Java code that was not specifically written to interact with Jython.
www.developer.com /lang/other/article.php/2170111   (1161 words)

  
 java.net: Scripting with Jython Instead of XML
Jython syntax will feel familiar, with notable exceptions, such as: lines do not end with semicolons, and tabs, rather than curly braces, are used to delineate code blocks.
First of all, the Jython version reduces errors in test writing while making it easier to read, since the loop clearly indicates that the same set of functions is being performed.
Jython is easier to read and write compared to XML, because of its similar syntax to Java code.
today.java.net /pub/a/today/2003/06/10/jython.html   (4315 words)

  
 Write Eclipse JUnit Tests in Jython
So you have to discover the Jython tests to insert in the suite before they are instantiated.
Jython and Java tests are started and their results are displayed in the same view.
The original goal of Python was to be a scripting language; Jython enables you to script your Java applications, and it eases the task of writing tests.
www.devx.com /Java/Article/26602/1954?pf=true   (1641 words)

  
 Bruce Landon's Weblog for Students
Jython is a mature production quality language running in the JVM so it has full access to the J2SE platform and J2EE.
Jython programs compile to Java class files, but you can also use the Jython interpreter to interactively manipulate Java classes at runtime.
What Jython really needs is more recognition from Sun and IBM and some resources to keep Jython development active.
radio.weblogs.com /0101747/2004/03/22.html   (1236 words)

  
 Page 4 - Introduction to Jython
Jython allows us to embed Python code in Java code easily, and there are several approaches to it.
Jython is an extremely powerful tool for development in both Python and Java.
Jython can significantly decrease the effort needed to produce a powerful application, or even an applet, servlet or bean.
www.devshed.com /c/a/Python/Introduction-to-Jython/3   (527 words)

  
 Standing in the Field
There really isn't any significant difference in the way Jython works on these two platforms, but for those who are new to SJS Application Server's filesystem layout and administrative interface this document may be helpful.
Jython is distributed as a self-extracting Java class file.
Make sure to read Sean's tutorial for more about programming servlets in Jython and keep watching his blog for more updates to the tutorial.
blogs.sun.com /roller/page/ogren/20050324   (3053 words)

  
 Extending Jython   (Site not responding. Last check: 2007-10-16)
Jython modules is used here to mean Java classes that specifically behave like Jython modules.
Jython can use most any Java class, so there is no requirement to take additional steps to make that Java class look and act like a Jython module.
There is an additional means for controlling a Java method's visibility in Jython that is promising because of its simplicity, but is somewhat experimental at the time this was written.
www.informit.com /content/index.asp?session_id={0443CEEC-0745-4B6B-9511-5D4C998FE20A}&product_id={ABEC5F71-1B9E-4E76-AA46-EC63A79BB248}   (506 words)

  
 Jython Webapp Tutorial - Part 1 - Writing Servlets in Jython
jython on the JVM, it is important to be able to distinguish between problems at the basic Java level and problems at the dynamic language level.
Jython is shipped as a single class file which you run in order to install it on your system.
To test that it we have access to the Jython library, here is a servlet JythonServlet3.py that returns a calendar for the current year as its response.
seanmcgrath.blogspot.com /JythonWebAppTutorialPart1.html   (2167 words)

  
 Past Projects - Jython or JPython, AspectJ, Numeric Python or NumPy
Jython was one of the first and remains one of the most popular scripting languages for the Java platform.
Jython is frequently cited as compelling evidence that the JVM is an effective platform for languages other than Java when making comparisons to Microsoft's CLR.
Numeric Python took the strong support for numeric arrays provided by special purpose languages such as Matlab and provided them to Python developers in a way that was seamlessly integrated with the rest of the Python language.
hugunin.net /projects.html   (282 words)

  
 A Look At Jython LG #97
Jython - with a capital J, refers to the entire Jython project.
When you run the installer you are presented with a graphical setup wizard, which asks you to specify the installation type, agree to the license terms, and specify the target directory for installation.
The jython interpreter is a Python interpreter implemented in 100% Java.
linuxgazette.net /issue97/tougher.html   (1964 words)

  
 Use Jython to Exercise Java APIs Without Compiling
Jython is one such tool, and the subject of this article.
If there is a downside to Jython, it is that it hasn't kept up with the C Python implementation and isn't compliant with Java 1.5.
After downloading Jython and installing it in the directory of your choice, you first need to start up the interpreter by opening a DOS or shell window and navigating to the root of your Jython installation (see Figure 1).
www.devx.com /Java/Article/27571   (592 words)

  
 Overview of Jython documentation   (Site not responding. Last check: 2007-10-16)
Jython and CPython are two different implementations of the same language.
The Jython FAQ may already contain the answer to your question...
Jython's developers, who can be reached at jython-dev@lists.sourceforge.net.
jython.sourceforge.net /docs   (389 words)

  
 Page 3 - What's So Good About Jython?
Since Jython is an implementation of Python in Java, it needs to compile the Python functions that you write down to Java bytecode before it can run them.
Jython is an incredibly powerful tool, and I think there are many developers out there who would love to use it, if only they could.
To say that Jython is unsuitable for your application because it is an interpreted language and therefore too slow is almost certainly false.
www.devarticles.com /c/a/Java/Whats_So_Good_About_Jython/2   (967 words)

  
 SourceForge.net: jython-users   (Site not responding. Last check: 2007-10-16)
Paul said that he thought full Jython support was a good idea, but he could not commit his team or other IBM employees at this time to do the work.
Jim also said that he thought Jython integration and full Jython support inside Eclipse was a great idea, but he stressed the need for a lead developer to make it happen and said that due to other research commitments, he was unable to participate.
Paul said that he thought full Jython > support > was a good idea, but he could not commit his team or other IBM > employees at > this time to do the work.
sourceforge.net /mailarchive/forum.php?thread_id=2079895&forum_id=5586   (1830 words)

  
 Debian -- jython   (Site not responding. Last check: 2007-10-16)
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 complementary to Java and allows the two languages to be freely mixed.
packages.debian.org /oldstable/interpreters/jython   (139 words)

  
 Server-Side Web Programming with Jython   (Site not responding. Last check: 2007-10-16)
A Jython taglib module must then comply with certain restrictions before it transparently acts as a Java class.
Listing 12.13 is a simple Jython taglib module that serves as the specimen used to dissect taglibs.
Jython is one of the languages that BSF currently supports.
www.informit.com /articles/article.asp?p=26865&seqNum=10   (1826 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.