Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E9D04632C47 for ; Tue, 27 Jul 2010 17:57:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 86857-10 for ; Tue, 27 Jul 2010 20:57:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx02.burntmail.com (mx02.burntmail.com [70.87.63.122]) by mail.postgresql.org (Postfix) with ESMTP id D2340632ADA for ; Tue, 27 Jul 2010 17:57:40 -0300 (ADT) Received: from [173.79.59.248] (helo=[192.168.1.60]) by mx02.burntmail.com with esmtpa (Exim 4.63) (envelope-from ) id 1OdrDX-0002hF-Lh for pgsql-jdbc@postgresql.org; Tue, 27 Jul 2010 15:57:39 -0500 Message-ID: <4C4F4842.1080503@burntmail.com> Date: Tue, 27 Jul 2010 16:57:38 -0400 From: Guy Rouillier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: JPA and desktop apps References: <4C47B5F7.4050303@postnewspapers.com.au> <4C4E832B.20101@postnewspapers.com.au> <428E238F3EAB4139A6A0CA2A3CCE60FC@DEVELOP1> <4C4ECB1C.3050909@postnewspapers.com.au> In-Reply-To: <4C4ECB1C.3050909@postnewspapers.com.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/111 X-Sequence-Number: 20776 On 7/27/2010 8:03 AM, Craig Ringer wrote: > Out of interest, why not JSF2? ... > Anyway, GWT and Wicket are two on my short list. You seem to be traveling down the same road we did several months ago. We are a Java shop, so that option is predetermined. We used GWT to implement the front end for the same app we used JPA for (replied in a different email.) After dealing with the many issues with GWT (and to be fair, the same issues probably apply to any solution heavily slanted to the client-side), we elected to try JSF for our customer portal. That turned out to be an excellent choice. JSF (specifically facelets, which I'd highly recommend; for JSF2, facelets is the default implementation) provides a much more responsive environment (from the user's perspective) that earlier JSP. Using a server-side solution is *much* easier to work with, as you are not having to constantly shuffle data back and forth to the client. So, unless you have very compelling requirements that require significant client interaction without returning to the server, I'd highly recommend JSF/facelets. Obviously, if you are not committed to Java, then perhaps other options are more appropriate to you environment and/or skill set. -- Guy Rouillier