|
| |
| | ONJava.com: Tips for Scripting Java with Jython |
 | | 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. |  | | You can even write an object in Jython that can be used or subclassed by other Java code. |  | | Python is a high-level, interpreted, object-oriented scripting language which combines elegant syntax rules with powerful built-in objects to create a language that is very easy to write, read, and maintain. |
|
http://www.onjava.com/pub/a/onjava/2002/03/27/jython.html
(899 words)
|
|
| |
| | Jython Essentials: Chapter 1: Introduction to Jython |
 | | 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. |  | | Jython performance is heavily dependent on the specifics of the JVM, of course. |  | | Jython also includes a built-in file type which is far easier to use than Java's I/O classes. |
|
http://www.oreilly.com/catalog/jythoness/chapter/ch01.html
(4943 words)
|
|
| |
| | alt.lang.jre: Get to know Jython |
 | | 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 for Java Programmers (New Riders, December 2001) focuses on application development, deployment, and optimization with Jython. |  | | Compiled Jython classes can be executed independently from the Jython interpreter or used from Java code as if they were Java classes (for example, to develop applets or servlets). |
|
http://www-128.ibm.com/developerworks/java/library/j-alj07064
(3450 words)
|
|
| |
| | O'Reilly Network Safari Bookshelf - Jython for Java Programmers |
 | | Jython for Java Programmers is like a book for beginners trying to lear a new programming language. |  | | The bewildering complexities are elucidated by Bill in Jython for Java Programmers, which presents Jython both as a standalone, Java-equipped language and as the class implementation within Java. |  | | A brief introduction is provided that shows the differences between Java and Jython, important to include so that the reader will have a better understanding of why their union is beneficial. |
|
http://safari.oreilly.com/main.asp?bookname=0735711119
(1624 words)
|
|
| |
| | Charming Jython |
 | | 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. |  | | Jython is distributed as a single Java class file containing the installer. |  | | This feature of Jython means that you have to be careful when you write code because the way you indent the code can actually change the meaning. |
|
http://www-128.ibm.com/developerworks/java/library/j-jython.html
(2715 words)
|
|
| |
| | An Introduction to Jython |
 | | 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. |  | | Because Jython does not require us to use object oriented programming, utility "classes" can simply be implemented as modules instead. |  | | Jython code blocks are always delimited by indentation rather than braces. |
|
http://www.javalobby.org/articles/jython
(2681 words)
|
|
| |
| | java.net: Scripting with Jython Instead of XML |
 | | Jython is easier to read and write compared to XML, because of its similar syntax to Java code. |  | | 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. |  | | But it is much faster than jython, and has a syntax that would perhaps be more familiar to a java developer. |
|
http://today.java.net/pub/a/today/2003/06/10/jython.html
(4315 words)
|
|
| |
| | ongoing · Jython |
 | | Jython represents a chance to have that growth happen inside the Java technology environment, rather than outside. |  | | Another Jython book: Jython for Java Programmers http://www.amazon.com/exec/obidos/ASIN/0735711119/qid%3D1033006782/sr%3D11-1/ref%3Dsr%5F11%5F1/002-1207797-7484845. |  | | Actually, this is less of a disadvantage than you might think, since Groovy by definition can get at any class that Java code can. |
|
http://www.tbray.org/ongoing/When/200x/2004/05/03/Pedroni
(1015 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. |  | | Behind the scences, the jython interpreter creates JVM byte code on the fly. |  | | Jython works just fine from the emacs shell. |
|
http://seanmcgrath.blogspot.com/JythonWebAppTutorialPart1.html
(2167 words)
|
|
| |
| | A Look At Jython LG #97 |
 | | To use Jython on your system you need two pieces of software: the Java SDK, and the Jython distribution. |  | | The Jython project provides a graphical installer written in Java and packaged as a single Java *.class file. |  | | The latest release of Jython (2.1) is distributed from the main Jython site. |
|
http://linuxgazette.net/issue97/tougher.html
(1964 words)
|
|
| |
| | Use Jython to Exercise Java APIs Without Compiling |
 | | 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). |  | | This article will focus on using Jython from the command line interactive interpreter, but there are many reasons to use Jython for other programming tasks. |  | | The batch file is simply a wrapper call to use Java to start up Jython (remember it is really just a Java program) and pass along some settings for the classpath and a system property. |
|
http://www.devx.com/Java/Article/27571
(592 words)
|
|
| |
| | Server-Side Web Programming with Jython |
 | | Jython is one of the languages that BSF currently supports. |  | | Note that many consider scriptlets poor practice anyway, so adding another level of complexity by using Jython from Java in scriptlets is obviously suspect. |  | | Currently, Tomcat only implement the Java language in JSP, so the big question is how do you use Jython with JSP. |
|
http://www.informit.com/articles/article.asp?p=26865&seqNum=10
(1826 words)
|
|
| |
| | SourceForge.net: jython-users |
 | | 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. |  | | 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. |  | | I emailed Paul links for more info on Jython as well as the two projects I could find that are relevant. |
|
http://sourceforge.net/mailarchive/forum.php?thread_id=2079895&forum_id=5586
(1830 words)
|
|
| |
| | Bruce Landon's Weblog for Students |
 | | What Jython really needs is more recognition from Sun and IBM and some resources to keep Jython development active. |  | | AFAIK, nobody has added Jython support to the main JBoss distribution yet, but someone should as Jython is being used with JBoss. |  | | After reading these articles and comments I doubt we need a JSR for Jython, because Jython doesn't need to be re-specified or re-implemented, but perhaps how Jython relates to Java needs better definition within the JCP? |
|
http://radio.weblogs.com/0101747/2004/03/22.html
(1236 words)
|
|
| |
| | Page 3 - What's So Good About Jython? |
 | | It won’t have escaped your notice that to understand a Jython program (or to be more precise a Jython program that uses Java classes) you need a solid understanding of both Java and Python. |  | | This places demands on the skills of the developer at a time when most managers prefer to simplify code development by choosing the technology that is the common denominator across their applications. |  | | Lastly, technologies in the IT sector are always changing, so you should constantly re-evaluate your technology choices to be sure that you use your chosen technologies for the right reason, instead of ‘choosing’ them by default because “that’s what you do”. |
|
http://www.devarticles.com/c/a/Java/Whats_So_Good_About_Jython/2
(967 words)
|
|
| |
| | Write Eclipse JUnit Tests in Jython |
 | | This article explains how to write Jython tests in an Eclipse/JUnit/continuous testing programming environment. |  | | And you also need to add the Jython jar file to your Eclipse project. |  | | Say, for instance, the following is your Jython class: |
|
http://www.devx.com/Java/Article/26602/1954?pf=true
(1641 words)
|
|
| |
| | Jython - Wikipedia, the free encyclopedia |
 | | 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. |  | | Charming Jython: Learn how the Java implementation of Python can aid your development efforts |  | | 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. |
|
http://en.wikipedia.org/wiki/Jython
(205 words)
|
|
| |
| | Past Projects - Jython or JPython, AspectJ, Numeric Python or NumPy |
 | | I've led the development of three major tools for software developers. |  | | I am a co-designer of the AspectJ language and led the development work on the project up through the AspectJ-1.1 release. |  | | A stunning example of what's possible is Jython... |
|
http://hugunin.net/projects.html
(282 words)
|
|
| |
| | Using Python (Jython) with VisAD |
 | | Objects in Jython may very easily be used to represent VisAD Data objects, and VisAD Data objects can literally represent any numerical data. |  | | Once you install Jython, you will find a file in its home directory named registry -- this is where Jython keeps its environment information. |  | | The beauty of this is that the notation is simple; furthermore, as you'll learn, if these image files also have navigation information, any re-sampling that must be done in order to perform the subtraction will take place automatically. |
|
http://www.ssec.wisc.edu/~tomw/visadtutor
(2546 words)
|
|
| |
| | How to install and use Jython to write an ImageJ plugin |
 | | However, it should get you started in the right direction regardless of the platform that you are using (I got it to work on my Debian Linux-based computer and the same should apply to Mac OS X, it is mostly a matter of changing the directory/folder locations). |  | | Follow the Jython installer instructions and install Jython in C:\Jython21\. |  | | The old version of this HOWTO (which uses a different and more cumbersome approach to the integration of ImageJ and Jython) is still available |
|
http://marcora.caltech.edu/jython_imagej_howto.htm
(1093 words)
|
|
| |
| | Jython FAQ Index |
 | | Java classes that emulate Jython Dictionaries and Sequences |  | | Emulating Jython object attribute access with a Java class |  | | How can I use a Java null value in Jython? |
|
http://jython.sourceforge.net/cgi-bin/faqw.py?req=index
(243 words)
|
|
| |
| | Extending Jython |
 | | You can see that it is nothing more than a Java class. |  | | class in listing 1 is very simple, it demonstrates many aspects of creating Jython modules in Java. |  | | All this is done by changing the dictionary object passed to the |
|
http://www.informit.com/content/index.asp?session_id={0443CEEC-0745-4B6B-9511-5D4C998FE20A}&product_id={ABEC5F71-1B9E-4E76-AA46-EC63A79BB248}
(506 words)
|
|
| |
| | Amazon.co.uk: Jython Essentials: Books |
 | | Jython Essentials also covers the various ways in which Jython and Java can interact. |  | | I found it invaluable over the last few months while building a project that embeds an interactive Jython interpreter within a larger Java program. |  | | You can write Jython classes that are direct subclasses of existing Java classes |
|
http://www.amazon.co.uk/exec/obidos/ASIN/0596002475
(602 words)
|
|
| |
| | Download Jython |
 | | We'd love it too, if you send a short blurb about yourself, your project, or your company, so we can add it to the Jython Users page. |  | | Once you've done this, you should read the installation instructions. |  | | I'm building an amazing FooBar with Jython by doing X, Y, and Z, and it is so easy in Jython that my boss thinks I'm a genius! |
|
http://www.jython.org/download.html
(303 words)
|
|
| |
| | ActiveState O'Reilly Python cookbook code samples ratings review |
 | | This snippet shows how to use of jython to create an interactive environment for querying an LDAP... |  | | A simple example which shows how to implement your own JSP custom tag with the help of Jython. |  | | These java classes implement a jython taglib which can be used to embed jython code into jsp pages. |
|
http://aspn.activestate.com/ASPN/Cookbook/Python?kwd=Jython
(348 words)
|
|
| |
| | ONLamp.com: Jython 2.0 Goes Beta |
 | | While Jython doesn't solve the segregation problem, it does let you take advantage of Java libraries directly. |  | | After a long fallow period, this project is now on the move. |  | | Jython is a pure Java implementation of the Python interpreter. |
|
http://www.onlamp.com/pub/a/python/2001/01/03/pythonnews.html
(436 words)
|
|
| |
| | Embedded Jython and Spring |
 | | First add jython.jar from the Jython distribution to your lib directory (e.g. |  | | Second - create Lib directory under directory where you just placed jython.jar and copy all the files from distribution root>/Lib there. |  | | One last disclaimer: This code illustrates how to execute embedded Jython from within your code. |
|
http://www.theserverside.com/discussions/thread.tss?thread_id=34257
(859 words)
|
|
| |
| | Standing in the Field |
 | | Jython is distributed as a self-extracting Java class file. |  | | This document uses an example directory of /install-jython. |  | | Hopefully all of these instructions worked for you and you are now productively writing Jython servlets. |
|
http://blogs.sun.com/roller/page/ogren/20050324
(3053 words)
|
|
| |
| | Page 3 - Introduction to Jython |
 | | Since adding an attribute to an existing Java object is not possible in Jython, you are forced to create a subclass in Jython if you wish to add additional attributes: |  | | I like python, especially for quick and dirty Unix tasks, like... |  | | Anything that can be done in Java can be done in Jython using Python's easy syntax. |
|
http://www.devshed.com/c/a/Python/Introduction-to-Jython/2
(815 words)
|
|
| |
| | Bill de hÓra: Jython gets a Wiki |
 | | And for those of you that don't like fixing bugs (really?), Brian has created a list of AbsentModules in Jython. |  | | After that, I think you can expect to see the tree opened up, on a merit basis. |  | | Wikis, done right, are a great tool for developing community, much more so that mailing lists, which tend to be task/argument based medium. |
|
http://www.dehora.net/journal/2005/02/jython_gets_a_wiki.html
(707 words)
|
|
| |
| | Embedding Jython |
 | | The simplest approach to embedding Jython is to use the PythonInterpreter object. |  | | Sometimes the nicest approach is to make a real Java class out of a Python class and then just use that Python class from Java code. |  | | There are several options for embedding Jython in a Java application. |
|
http://web.mit.edu/afs/sipb/project/python/share/jython-2.1a1/Doc/embedding.html
(97 words)
|
|
| |
| | Overview of Jython documentation |
 | | Jython's developers, who can be reached at jython-dev@lists.sourceforge.net. |  | | Jython and CPython are two different implementations of the same language. |  | | The generated JavaDoc documentation of the API is available as frame and as non-frame versions. |
|
http://jython.sourceforge.net/docs
(389 words)
|
|
| |
| | Jython Swing Basics |
 | | The following is an example of using the Jython interactive interpreter from the Windows 2000 command prompt. |  | | In our example, Jython is installed in the \bin\ folder of a fairly typical Java installation. |  | | Please note that your web browser will probably wrap some longer lines of code. |
|
http://uselesspython.com/Jython_Swing_Basics.html
(388 words)
|
|
| |
| | Bruce Landon's Weblog for Students |
 | | Part 5 - Summarizing the benefits of Jython and dynamic typing in general for Webapp development. |  | | Part 4 - From web-front end to process-to-process integration with Jython |  | | Modjy is an implementation of a WSGI compliant gateway/server for jython, built on J2EE servlets. |
|
http://radio.weblogs.com/0101747/2004/12/03.html
(363 words)
|
|
| |
| | Kevin Altis' Weblog |
 | | I raised the idea of embedding Jython in Eclipse and WebSphere. |  | | A lead developer needs to be found to make this happen, so now seems like a good time to post some links about Jython... |  | | Learn how the Java implementation of Python can aid your development efforts by Uche Ogbuji [IBM developerWorks] |
|
http://altis.pycs.net/2003/05/09.html
(207 words)
|
|
| |
| | Jython-users Info Page |
 | | Discussion of and questions about using Jython to develop other software. |  | | Please search the list archive and FAQ before posting. |  | | To change your subscription (set options like digest and delivery modes, get a reminder of your password, or unsubscribe from Jython-users), enter your subscription email address: |
|
http://lists.sourceforge.net/mailman/listinfo/jython-users
(206 words)
|
|
| |
| | ASPN : Python Cookbook : A generic jython taglib for tomcat |
 | | These java classes implement a jython taglib which can be used to embed jython code into jsp pages. |  | | The class Exec that invokes the jython interpreter sees all the web application libraries (e.g. |  | | jython.jar), but when the interpreter tries to load an imported java class (imported in a jython tag for example) from a jar from the included libraries, it does not find them. |
|
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252132
(257 words)
|
|
| |
| | Linux Today - Jython-2.0 released |
 | | Jython is a Java implementation of the Python programming language. |  | | It allows users to compile Python source code to Java byte codes, and run the resulting bytecodes on any Java Virtual Machine. |  | | Like Python, and unlike Java, Jython can also be used interactively: just type some Jython code at the prompt and see the results immediately. |
|
http://linuxtoday.com/news_story.php3?ltsn=2001-01-19-011-04-OS-SW
(567 words)
|
|
| |
| | New Jython Wiki |
 | | The Jython project has begun a new wiki. |  | | Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation. |  | | The new Jython Wiki is documenting the progress." |
|
http://today.java.net/pub/n/2507
(62 words)
|
|
| |
| | Jython |
 | | Jython is an implementation of Python written in 100% Pure Java, and seamlessly integrated with the Java platform. |  | | It allows you to run Python on any Java platform. |
|
http://www.oreillynet.com/pub/d/1258
(72 words)
|
|
| |
| | SourceForge.net: Mailing Lists for Jython |
 | | Discussion of developing and enhancing Jython itself(!) (not how to use Jython) |  | | To post to this list, send mail to listname@lists.sourceforge.net, replacing listname with the name of the list, shown below. |
|
http://sourceforge.net/mail?group_id=12867
(72 words)
|
|
|