Justin Wells wrote:

> It's interesting that you were using WebMacro and then switched to Zope.

I thought you'd think so. :)  WM is, imho, the best, most high-level template system
for Java, and what I naturally gravitated towards.

>
> WebMacro offers only a part of what Zope does, and corresponds to the
> template system in Zope.

Yes, exactly.  WM is a good start, and a Zope-like system in Java could definitely
be made, I think.  I  think that java.apache.org had a framework project or two
going.  I wonder if they're aiming for anything Zope-like.

> I have always thought that it would be great
> if someone would work on a Zope-like project for Java servlets adding
> the rest of the Zope-style back end stuff. I think WebMacro would be an
> important part of such a project.

Yes, this would work, I think.  Although I'm sure there's a lot of subtle areas of
Zope that were easy to implement due to Python's dynamic nature, lack of static
typing, and other script language features that aren't present in Java.  Maybe
that's not a big deal, though.  WM shows what Java can be like with a good dose of
syntactic sugar.

>
>
> The only downside to Zope in my mind is that it's written in Python and
> you have to implement mostly in Python...

Yeah, this was one concern of mine.  I'm not so worried, now, though: Although
"external methods" must be Python methods, the Python method can in turn invoke a
servlet.  This could be generalized and then packaged as a servlet adapter "Zope
Product".

> ...That's a challenge to anyone reading this who thinks
> that Zope style stuff is cool...

The big problem is that Zope is *so* advanced, as it was put together from three
relatively mature products.  A Java version would need:

* Macro language (wm could be a start)
* OODB supporting transactions and multiple undo (?)
* HTTP server  (And FTP/WEBDAV?)
* Management Interface
* 1000's of hours debugging...

I dunno - I don't think it's necessarily worth making something like this just so
that it can be in Java.  It might make more sense to see how Zope and Java code can
fit together, and existing apps can be reused.

- Robb

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to