Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E61287F9B for ; Thu, 11 Aug 2011 16:54:19 +0000 (UTC) Received: (qmail 85278 invoked by uid 500); 11 Aug 2011 16:54:19 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 85223 invoked by uid 500); 11 Aug 2011 16:54:19 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 85215 invoked by uid 99); 11 Aug 2011 16:54:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 16:54:18 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of senecal@apple.com designates 17.151.62.51 as permitted sender) Received: from [17.151.62.51] (HELO mail-out.apple.com) (17.151.62.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 16:54:10 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from relay16.apple.com ([17.128.113.55]) by mail-out.apple.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTP id <0LPR00LG7W30CR51@mail-out.apple.com> for user@cayenne.apache.org; Thu, 11 Aug 2011 09:53:49 -0700 (PDT) X-AuditID: 11807137-b7c4bae0000013e5-02-4e440a054d68 Received: from [17.113.32.120] (Unknown_Domain [17.113.32.120]) by relay16.apple.com (Apple SCV relay) with SMTP id 82.0B.05093.50A044E4; Thu, 11 Aug 2011 09:57:41 -0700 (PDT) Subject: Re: Coexisting with WebObjects From: Joseph Senecal In-reply-to: <52825D07-D45C-46B7-8A5F-F6C680D4E889@gmail.com> Date: Thu, 11 Aug 2011 09:53:49 -0700 Message-id: References: <52825D07-D45C-46B7-8A5F-F6C680D4E889@gmail.com> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.1084) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphluLIzCtJLcpLzFFi42IRLFSo0GXlcvEzePZXy6K55SGbA6PHwemT WQMYo7hsUlJzMstSi/TtErgydh3OLLjMXbF62m/WBsZlnF2MHBwSAiYSe3fmdjFyApliEhfu rWfrYuTiEBLYyCgxf+4OFpAEs4CWxI1/L5lAbF4BQ4mlm9rZQWxhAXWJpnWvwWw2AQ2Ju+fe soHYnAK2EkvvLwHrZRFQlWg7/5IZYo62xLKFr5kh5thIfD3azQqx7DGTxIo/H8EGiQhIS/Q2 /2GHOE5WomlZxgRGvllIzpiF5IxZSMYuYGRexShYlJqTWGloppdYUJCTqpecn7uJERRGDYXm Oxi3/5U7xCjAwajEw9v4x9lPiDWxrLgy9xCjBAezkgjvu4dAId6UxMqq1KL8+KLSnNTiQ4zS HCxK4rybP5r5CQmkJ5akZqemFqQWwWSZODilGhib6jVbbAI2sK57371/QQhvX940sfqHdoV6 wTOWtzxSP3Dk2CWDU1NLrKo7dga7vDew0Vh0fzr/zf695zt2fa9fKVXYt5/xsaXd7NVXAyZa RrplGok5CYtNWrD9/z8dufvf/l28oHxf85BX8hTtNRvWfXt/6/UdD+vtnpMe7ete3/xr7+E/ l1x/K7EUZyQaajEXFScCAKPCYacfAgAA The big one is that WebObjects includes both an ORM and a web interface that understands ORM objects. You can use WebObjects by itself to develop a Web App that talks to a database where Cayenne is just the ORM layer. So comparing EOF (WebObjects ORM layer) to Cayenne, here's what I've noticed so far: EOF: EOF uses it's own collection classes (because it started as Objective C). This sounds like a bad thing, but having it's own collection classes allows it to do things like provide a common interface to both NSDictionaries and Enterprise Objects. Project Wonder: adds functionality and connivence methods ERXKeys: A Project Wonder wrapper for a typed key that be used to fetch the value from an Enterprise object, Map, or array. It can generate expression objects and sort order objects with very clean compact code. This is the piece I'm going to miss most transitioning from webObjects. Cayenne: Default settings are an order of magnitude faster than EOF at bulk loading. Same Expression can be used to fetch either objects or Maps Built in support for handling LARGE select sets Built in standard SQL like DB independent query language Built in support for caching query results I'm sure I'm missing a lot of features, but these are the differences I can think off of the top of my head. Joe On Aug 11, 2011, at 8:35 AM, John Huss wrote: > So what are the primary differences between WebObjects and Cayenne? >