All things Jythonic 2004/9

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-28

Looking for a Really Light Weight Java Wiki

I am looking for a light weight java servlet based wiki that I can use to "embed" in an existing web application.  My basic requirements are:

  • Servlet based but not 2.3 servlet... I have to run it on an older version of Jetty which isn't up to the latest and greatest servlet api.
  • No JSP stuff .. see above
  • No database behind it .. .just simple filesystem (versioning would be nice ...)
  • No Hibernate, Spring, Struts, etc.  See above...
  • Nice to have would be customization via Jython ... or to have it written in Jython .. even better

Just a simple java servlet that implements basic wiki features.  I'm coming up empty so far.

posted at 09:58:24    #
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    #
2004-09-03

How to do an XSL transformation in Jython

Here is a quick way to do xsl transformation in jython.  I also found at the same site the a quick intro to dom style parsing of xml files from Jython.  You might also look at using jdom to do this as well.
posted at 16:56:32    #
Creative Commons License
This work is licensed under a Creative Commons License.