Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 74494 invoked from network); 22 Mar 2010 13:53:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Mar 2010 13:53:05 -0000 Received: (qmail 16355 invoked by uid 500); 22 Mar 2010 13:53:03 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 16332 invoked by uid 500); 22 Mar 2010 13:53:03 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 16323 invoked by uid 99); 22 Mar 2010 13:53:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 13:53:03 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 209.85.218.217 is neither permitted nor denied by domain of buge@crimson.ch) Received: from [209.85.218.217] (HELO mail-bw0-f217.google.com) (209.85.218.217) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 13:52:54 +0000 Received: by bwz9 with SMTP id 9so3052772bwz.11 for ; Mon, 22 Mar 2010 06:52:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.16.73 with SMTP id n9mr3499824bka.21.1269265953466; Mon, 22 Mar 2010 06:52:33 -0700 (PDT) In-Reply-To: References: From: Philipp Bunge Date: Mon, 22 Mar 2010 14:52:11 +0100 Message-ID: <442569031003220652h43867696hd147a645e08d1b64@mail.gmail.com> Subject: Re: Jackrabbit-jca JNDI for testing To: users@jackrabbit.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi > I installed jackrabbit-jca in jboss. But I'd like to unit test some > functionality away from jboss! > Please, can anyone help me with the java code to initialize the Context > within a test class? Have you taken a look at openejb? Check out the section on "Testing Techniques:" http://openejb.apache.org/3.0/index.html Cheers, Philipp