All things Jythonic 20.4.2004

April 2004
MoTuWeThFrSaSu
    1 2 3 4
5 6 7 8 91011
12131415161718
19202122232425
2627282930  
Mar
2004
 May
2004

A blog tracking jython developments

XML-Image Syndication

XML-Image Comment Feed

Letterimage Contact me

2004-04-20

Fun with Jython [Through the blogging-glass/Java]

Using Jython to combine the simplicity of the Pythonesque approach with the power of ubiquitous Java classes. Guest stars: the Money example, Textile4J, tuProlog and XML-RPC. (984 words)

posted at 13:21:04    #

Simplify Web development with Jython, Spring and Velocity [BuggyBean]

Anthony Eden has recently been blogging about simplifying web application development. He is suggesting using a scripting language for your controller in "The Way You Develop Web Applications May Be Wrong". I think he has some good points and it just happens that I have been experimenting with some similar ideas.

I was trying to use Jython as the scripting language for the controller, but I was not happy about giving up on using Spring for configuring my web application. So I figured out how to load a WebApplicationContext using a Jython servlet. Then I added Velocity to handle the view part. This combination makes for pretty easy coding for the controller and this would be extremely helpful for applications that are not terribly complex. The nice thing with using Spring for the data access layer is that there is no need to manage any database connections in your scripts. Makes the code much more compact and readable.

posted at 13:10:24    #
Creative Commons License
This work is licensed under a Creative Commons License.