Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 18118 invoked from network); 19 Apr 2004 11:45:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Apr 2004 11:45:18 -0000 Received: (qmail 43055 invoked by uid 500); 19 Apr 2004 11:45:15 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 42758 invoked by uid 500); 19 Apr 2004 11:45:13 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 42740 invoked from network); 19 Apr 2004 11:45:13 -0000 Received: from unknown (HELO post-20.mail.nl.demon.net) (194.159.73.1) by daedalus.apache.org with SMTP; 19 Apr 2004 11:45:13 -0000 Received: from [82.161.98.62] (helo=dds.nl) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #2) id 1BFXD7-000Fyj-00 for dev@cocoon.apache.org; Mon, 19 Apr 2004 11:45:13 +0000 Message-ID: <4083BDFA.70205@dds.nl> Date: Mon, 19 Apr 2004 13:54:34 +0200 From: Leon Widdershoven User-Agent: Mozilla Thunderbird 0.5 (X11/20040319) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: OT: [RT] Use of flowscript or the pyramid of contracts References: <408103CA.105@s-und-n.de> <4081A3B8.1060303@apache.org> <4081A615.7060805@apache.org> <4082BF8E.5050608@s-und-n.de> <42368.10.0.0.5.1082335601.squirrel@ags01.agsoftware.dnsalias.com> <40837948.2010706@dds.nl> <20040419075318.GE8987@wlkp.org> <42916.10.0.0.5.1082364251.squirrel@ags01.agsoftware.dnsalias.com> <4083AAC6.8050908@dds.nl> <20040419110201.GF11843@wlkp.org> In-Reply-To: <20040419110201.GF11843@wlkp.org> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I had a task to write a web interface to a table with 300 columns. The column names were still in flux. I really did not feel to write 300 elaborate column definitions. XML is very readable, but it was too verbose for me at the time. And as you say, it looks a very daunting task and that's what most starting users probably think. And if they, because of that, start with xsp and esql (which admittedly is very easy) the going forth to yet another language and framework can be inconvenient. Especially when you get paid to write applications, not learn frameworks:) But I'm glad to hear that Hibernate is quite easy to start with. The moment I get some time off I will certainly jump in the deep and try to survive:) Leon Leszek Gawron wrote: > On Mon, Apr 19, 2004 at 12:32:38PM +0200, Leon Widdershoven wrote: > >>To me, hibernate is overkill and yet another thing to manage. The >>advantage of esql is that it is simple, and has a single layer access >>to the database. >> >>Hibernate is more complicated to set up, and then has to be maintained. >>If you use plain SQL, only the queries have to be maintained. If you >>use hibernate, it also has to be maintained. >> >>For plain old statements like select * from foo where bla= >>it's just overkill to me. >> >>I do think hibernate is very good - for advanced usage. I think it >>is a shame that people are forced to either use xsp or use plain >>java.sql access to the database in flowscript. > > You are not right. Setting up hibernate and writing first application > consisting of 5 tables took me 1 hour. For two weeks I been gathering strength > to do that because I've been as scared as you are :) > lg