Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 80345 invoked from network); 19 Apr 2004 13:25:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Apr 2004 13:25:12 -0000 Received: (qmail 48541 invoked by uid 500); 19 Apr 2004 13:25:04 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 48413 invoked by uid 500); 19 Apr 2004 13:25:03 -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 48339 invoked from network); 19 Apr 2004 13:25:02 -0000 Received: from unknown (HELO mail.cbim.it) (212.131.130.82) by daedalus.apache.org with SMTP; 19 Apr 2004 13:25:02 -0000 Received: from cuprouter.cbim.it (cuprouter.cbim.it [192.168.4.10]) by mail.cbim.it (8.11.6/8.11.0) with ESMTP id i3JDsnC23532 for ; Mon, 19 Apr 2004 15:54:49 +0200 Received: from cbim.it (caterina.cbim.it [192.168.4.42]) by cuprouter.cbim.it (8.9.3/8.9.3) with ESMTP id PAA30288 for ; Mon, 19 Apr 2004 15:26:17 +0200 Message-ID: <4083D322.9030002@cbim.it> Date: Mon, 19 Apr 2004 15:24:50 +0200 From: Ugo Cei Organization: C.B.I.M. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 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> <4083BDFA.70205@dds.nl> In-Reply-To: <4083BDFA.70205@dds.nl> 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 Leon Widdershoven wrote: > 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:) There is a middle ground between a full-fledged O/R mapping layer and raw JDBC calls. You could, for instance, try Spring's JDBC template classes [1], as they take care of the tedious, repetitive and error-prone, like setting up a connection, managing transactions, handling errors and properly releasing resources. An advantage of using Spring is also that it supports Hibernate and JDO out-of-the-box, so graduating from JDBC to an O/R persistence layer might be easier. DISCLAIMER: I've never used Spring, just read its documentation and I really like what I've seen so far. Might be using it for a future project, though. Ugo http://www.springframework.org/docs/reference/jdbc.html