Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 45367 invoked from network); 5 Nov 2005 07:53:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Nov 2005 07:53:00 -0000 Received: (qmail 50316 invoked by uid 500); 5 Nov 2005 07:52:56 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 50287 invoked by uid 500); 5 Nov 2005 07:52:55 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 50275 invoked by uid 99); 5 Nov 2005 07:52:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 23:52:55 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.191.84.245] (HELO web36315.mail.mud.yahoo.com) (209.191.84.245) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Nov 2005 23:52:49 -0800 Received: (qmail 5932 invoked by uid 60001); 5 Nov 2005 07:52:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iHpjXblAJh/HXt+aj/v6aXUP5zyhlK9L/CfKqazw4wMVoV6V9Dj24S0iv7Yk79E5FQfxvgNm5p7rCTMuRyx7oHWI5SArnpymtJlMQMBp/UJm54t1CTZ83vh97f7S1J2WdwviDMJm/M2K1M+rVWKteFmcAPrGPWy9QF4LQlMhF30= ; Message-ID: <20051105075233.5930.qmail@web36315.mail.mud.yahoo.com> Received: from [70.231.158.34] by web36315.mail.mud.yahoo.com via HTTP; Fri, 04 Nov 2005 23:52:33 PST Date: Fri, 4 Nov 2005 23:52:33 -0800 (PST) From: Victor Lee Subject: I Need System Design Suggestion. Please. To: "java-user@lucene.apache.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am going to use mysql db to store some data, use lucene(java) to index these data, and use Hibernate to map them. I was originally thinking of using PHP to input the data the visitors enter into the mysql db. But if I use PHP and use mysql statement directly, it may defeat the part of the purpose of Hibernate which is to make the system db portable. But I don't want to use PEAR. And I don't want to learn Java Servlet. So I am thinking of using PHP, then PHP-Java-Bridge, then Hibernate to map the data into mysql db. But it sounds kinda of stupid because it seems that I added a layer of complexity without a reason. Using Servlet and Hibernate, or PHP and mysql seems to be faster, but I can't use Hibernate to cover the whole mysql db anymore. What do you think? Any suggestion? I am also looking for performance and how well the system scales. Many thanks. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org