Python/Zope vs. Java/JSP

Thomas Weholt thomas at cintra.no
Mon May 21 11:12:31 EDT 2001


Hi,

I've worked in Java/JSP for a long time and briefly with Zope ( allthough
been a fanatic Python programmer for about 3 years ).
My experience is that all java-based servlet solutions share the same
draw-backs; long response time on first page hit ( loading of needed classes
etc. ),
, insane hardware requirements and lots of code to do even the smallest
thing. Then the good things; Enhydra ( look at www.enhydra.org -> complete
seperation of design and functionality) and Borland JBuilder. Enhydra is a
very good application server with an active community and JBuilder is a very
good IDE with support for Enhydra development. A very good combination.

Zope is known to be a bit complex when you want to create your own products,
and in my mind, more complex than java servlets/JSP. If you don't take the
initial response time of java-servlets java-based application servers seem
to have a better response time too. Simple tests done in the project I've
been involved with show Zope-based servers serving about 20% pages pr.
second compared to Enhydra. Then again Java takes HUGE amounts of RAM. I
mean really immense amounts of RAM, development machines with less than
256MB is useless using Enhydra/JBuilder. Zope is much nicer in that aspect.

The development of ZEO ( Zope Enterprise Objects ) will also make stuff like
fail-over, clustering etc. available ( I think ) so Zope won't fall short
compared to java-based solutions were these things are mature and presently
available.

I'd say if you can handle 20 lines of code to send a simple response to a
client, have the money to upgrade all server and development machines and
buy expensive development tools go for Java. If you like the smoothness of
Python and got time to invest in learning Zope, stick to the snake ;->

Thomas

"tszeto" <tszeto at mindspring.com> wrote in message
news:9e7og6$utc$1 at slb1.atl.mindspring.net...
> I've used Java/JSP at work but I'm just starting to learn Python for fun.
>
> Was wondering how Python/Zope compared to Java/JSP in terms of speed,
> scalability, etc.
>
> Any help appreciated. Thanks.
>
> -Ted
>
>
>
>
>





More information about the Python-list mailing list