Tuesday, March 10, 2009

Deploying Pylons Apps to Java Servlet Containers

As of the 0.9.7 release, Pylons now supports Jython 2.5. The new snakefight tool can create a WAR file from a Pylons app via its bdist_war distutils command.

Using bdist_war is simple: just follow these instructions on the Pylons official docs: Pylons on Jython.

The WAR file contains everything you'll need: the Jython runtime and all the eggs your app requires. For Paste style apps, it can automatically generate a deployment descriptor (web.xml) to load the application via modjy (which is now included with Jython as of the beta2 release).

This makes deployment to a J2EE App server incredibly easy, even easier than deploying your app behind Apache or the like.

I'll be giving a talk on Pylons on Jython at PyCon '09 in a couple weeks. 

6 comments:

Frank Wierzbicki said...

I have to say, I *love* the name snakefight :)

Wayne Witzel III said...

Great work. Was pleasantly surprised when it worked the very first time without any problems at all.

Anonymous said...

World Cricket Championship 2 Mod Apk

I should say thank you very much for this thought. It gives me more knowledge on this issue.

Anonymous said...

Xvideoservicethief 1.7.1 Hd Android

This is very much a work in progress whenever I find out about one who is more beautiful than any of these I will add her and kick out number ten Thanks for sharing the informative post.

Anonymous said...

Glasswire Serial Key
Excellent and nice article. when user want to get important information then visit our site.

Anonymous said...

Is Driveragent Safe

Excellent posts to read keep it up and keep going on this way. And keep sharing these types of things Thanks
Waiting for the next post.