Return-Path: Delivered-To: apmail-incubator-ibatis-user-java-archive@www.apache.org Received: (qmail 72929 invoked from network); 29 May 2005 07:29:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2005 07:29:30 -0000 Received: (qmail 76581 invoked by uid 500); 29 May 2005 07:29:29 -0000 Delivered-To: apmail-incubator-ibatis-user-java-archive@incubator.apache.org Received: (qmail 76544 invoked by uid 500); 29 May 2005 07:29:29 -0000 Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: ibatis-user-java@incubator.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 76530 invoked by uid 99); 29 May 2005 07:29:29 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of brandon.goodin@gmail.com designates 64.233.170.197 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.197) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 29 May 2005 00:29:27 -0700 Received: by rproxy.gmail.com with SMTP id c16so587235rne for ; Sun, 29 May 2005 00:29:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SG7lvQbr3o2Mu+6a7eDgBt7qjjv+XHFI769d/RKmDq5Nb6tP5DdrVdVAsGuv/RzTKskT2Mi+QK5cDJO0H4XqsM6hqgIn5oov/BzQkxwp2lQ7i274zzESH5Gk7qUttdSqDdXUbB5NRtQvvceu9RJW6XCeCTCwFOA8ErhYXQqpQ6c= Received: by 10.38.152.59 with SMTP id z59mr4223901rnd; Sun, 29 May 2005 00:29:23 -0700 (PDT) Received: by 10.38.74.48 with HTTP; Sun, 29 May 2005 00:29:23 -0700 (PDT) Message-ID: <2fe5ef5b050529002967d1feca@mail.gmail.com> Date: Sun, 29 May 2005 01:29:23 -0600 From: Brandon Goodin Reply-To: Brandon Goodin To: ibatis-user-java@incubator.apache.org Subject: Re: Struts and iBatis In-Reply-To: <20050529064921.A653E388FDF@smtp1.utdallas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2fe5ef5b05052823475ef5682d@mail.gmail.com> <20050529064921.A653E388FDF@smtp1.utdallas.edu> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm not really sure why you need a tutorial on Struts and iBatis. iBatis is it's own product and should not depend on struts whatsoever. I think your best bet is to read the ibatis documentation and the iBatis Tutorial. I believe the Ricks tutorial is based on iBatis 1.x. There is also the JPetstore 4 app that is based on struts. But it is not a "standard" struts approach and may be a bit confusing. However, the JPetStore 4 Struts takes an approach that modernizes the Struts framework to be more like the new generation web frameworks like JSF. http://ibatis.com/downloads.html To give you a quick approach... The standard layerd approach is Applications -> Service -> DAO. Application would be the layer that would consist of Struts. The Service layer would consist of coarse grained business logic and would contain NO knowledge of the datasource. The DAO layer would consist of fine-grained calls to the datasource and WOULD have knowledge of the datasource. The Service Layer and the DAO layer should have their implementations hidden behind interfaces. The common thread through all of these layers would be your Domain/Model objects. The Domain objects can be seen as the elements that each layer is concerned with. The Application Layer displays and populates them as a result of user input. The Service Layer operates on them as they pass through the path of your business logic. The DAO layer transfers them to and from the datasource. Hope that helps, Brandon On 5/29/05, Subbiah wrote: > Hi, > I have started working in Struts and planned to use Struts and iBatis. I > actually studied Struts thru Reumann's site and when I was abt to use iBa= tis > in my sample app, his site was down. I want to know >=20 > - if there are any good tutorials for iBatis and Struts. > - Any idea when the site might be up >=20 > Thanks. > regards, > Subbiah >=20 >