All things Jythonic 15.9.2004

September 2004
MoTuWeThFrSaSu
   1 2 3 4 5
6 7 8 9101112
13141516171819
20212223242526
27282930   
Aug
2004
 Dec
2004

A blog tracking jython developments

XML-Image Syndication

XML-Image Comment Feed

Letterimage Contact me

2004-09-15

Jython and Spring framework

It seems that Kent is having issues getting Jython to work with the Spring framework.  He says:

One of the limitations of Jython is that it doesn't play very well with Java introspection. If you want your Jython methods to be visible to Java introspection you have two choices:

  • compile your scripts with jythonc
  • implement a Java interface containing the methods of interest

The first option is problematic (I have had too much trouble with jythonc).

The jythonc that he is referring to I think is the decorator language you can use in a jython class definition that forces jythonc to generate a specific java class with the function signature you want.  For Example:

[via Python Rocks! and other rants]

posted at 08:39:28    #
Creative Commons License
This work is licensed under a Creative Commons License.