Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 77616 invoked from network); 24 May 2010 09:15:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 May 2010 09:15:32 -0000 Received: (qmail 93186 invoked by uid 500); 24 May 2010 09:15:32 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 93019 invoked by uid 500); 24 May 2010 09:15:30 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 93008 invoked by uid 99); 24 May 2010 09:15:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 09:15:30 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=AWL,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fakod666@googlemail.com designates 74.125.82.46 as permitted sender) Received: from [74.125.82.46] (HELO mail-ww0-f46.google.com) (74.125.82.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 09:15:25 +0000 Received: by wwe15 with SMTP id 15so357936wwe.33 for ; Mon, 24 May 2010 02:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=AAgFSyLIvX0J7rUlk/cVtWXVSl/tstzK6wkic/GXBCE=; b=W6Dlky30PhSM0xg6H+WOYby3QgwgyP8BvUr5Fmwba/73UCx2d5jaodC0R9ol/fZcoA rjNUxZtQsgryqOzlpyfSoiJEvZvWN7gWuzX4Az/fh5xXd39XeXmhOD35zGmXt7clqoRM btCgJw4O9ANcppkszM5ie6Oo4KawX4rQsPwKA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QIGSO7N3b6kQq0FrAtn55wjNNu1tmyfLm2DBtfpjFFHG9RdSK1X0R9uBpC8MNX2f4u +uQcBpQrLHR6ZeiqZnWXTGeJIk1uO1sNy3c+++QQi5Q52sCXe2eMlwZHhR1QqdtrxkUf V/K4GutR8ieaJJ6PoU3IoTFTqynH0bbTMdfbI= MIME-Version: 1.0 Received: by 10.216.87.204 with SMTP id y54mr3232642wee.142.1274692503492; Mon, 24 May 2010 02:15:03 -0700 (PDT) Received: by 10.216.11.139 with HTTP; Mon, 24 May 2010 02:15:03 -0700 (PDT) In-Reply-To: References: Date: Mon, 24 May 2010 11:15:03 +0200 Message-ID: Subject: Re: JPA and Scala From: Christopher Schmidt To: dev@openjpa.apache.org Content-Type: text/plain; charset=ISO-8859-1 John, I am not sure if I understand you right... (JPAExtension is not a application, it is a library) 5 years ago we started to use a really complex relational schema (that uses really every relational modeling feature available regarding primary keys and subclassing). We used Hibernate (non JPA) for access, AspectJ (for transaction and rights handling) and Sun's Jersey (JAX-RS implementation) to deploy it (in a Tomcat) as several webservices. This year we started to switch to JPA 2.0 (and OpenJPA. Bender1199 posted already some questions here or to the user list) as persistence layer. Next step was to think about using Scala as "backend language" and therefore we started to use it together with OpenJPA. The first thing what came out was wrapping EntitiyManager, EntityManagerFacory and Query (to make it more type safe). The filter-object concept was to simplify the query parameter handling (and make it more typesafe again). The result is the JPAExtension - thats all. The "Server Side Example" in my blog came from a small geo tagging project (mainly a test for replacing Aspects by Scala's functional elements) Hope thats what you wanted to know... Christopher On Sun, May 23, 2010 at 1:30 PM, Web developer wrote: > Who will use your application? What process it automates? John > > 2010/5/22 Christopher Schmidt > >> Just to be sure: what do you mean with practical purpose? >> >> Christopher >> >> Am 22.05.2010 13:49 schrieb "Web developer" : >> >> Interesting, and what is a practical purpose of application(s) that you >> develop? John >> >> 2010/5/21 Christopher Schmidt >> >> >> > Hi all, >> > I am working on a JPA wrapper for Scala and I think that I have found >> > an elegant way ... >> >