web guru advise needed.

Alex Martelli aleax at aleax.it
Mon Nov 10 21:20:42 CET 2003

Raaijmakers, Vincent (IndSys, GE Interlogix) wrote:
> that java will kill the performance + development time here. But how to
> make the link between my JSP and python business logic. Jython is still at
> the python 2.1 level. Looking at the libraries, the use of Python 2.3
> seems for me more a must.

Python and Java may be able to intercommunicate, as an altenrative to
Jython, with JPE, http://sourceforge.net/projects/jpe -- I don't know
much about it, but perhaps it fits your needs.

> What technology gives me the best performance?

Probably Twisted, but it doesn't meet your requirements (it's a
separate stand-alone webserver, not running on top of Apache).

> I'm so afraid that adapters like WebKit kills my performance but because

Why are you afraid of that?  Have you run some benchmarks?  In my
(admittedly limited) experience, Webkit's performance has been quite good.

If you need or want to run closer to the bare metal, you can try mod_python,
but you may end up coding more "adapters" and infrastructure yourself.  I
surely wouldn't want to make a performance-critical choice without some kind
of benchmarking among plausible alternatives to support me!!!

> of my jsp experience, psp seems the best option.

I've often found that templating (e.g., Cheetah, CherryPy, and so on
and so forth) can be more satisfactory in many situations, because it
allows graphical designers who aren't programmers to prepare and change
the "looks" of things, while programmers are allowed to do what they
do best (that it, _program_, rather than improvising themselves as the
graphics artists that, in most cases, they aren't...:-).


More information about the Python-list mailing list