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 5249C11558 for ; Sat, 26 Apr 2014 00:11:57 +0000 (UTC) Received: (qmail 98538 invoked by uid 500); 26 Apr 2014 00:11:57 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 98512 invoked by uid 500); 26 Apr 2014 00:11:56 -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 98503 invoked by uid 99); 26 Apr 2014 00:11:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Apr 2014 00:11:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mkienenb@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Apr 2014 00:11:52 +0000 Received: by mail-qc0-f176.google.com with SMTP id x13so3918067qcv.35 for ; Fri, 25 Apr 2014 17:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=wIj66zWq27z/3OlI6nJs0bZ1aAZxQEA6IOqHO/HTQDc=; b=kh//h4beCWH6Gq9fiXtv3NpOpJ1mZt0GNY+0U8jnbrsPy2W9icsdAZYy6E1ThBGw5x vqX6rytmL4jOLgsC/jFnvzbgQ/6tAcduDwefxIS27SSXAIUFFqUAj8JAMhfW7RoKD/+S NtUmq+6GSADY5oJBwHbRtNCrsp0GKgRe4xsps2lsRUkm46wIBVfeisAExXac5B/Hmp54 WvT3izwWUw0wHRIxH9jcZfie/v1auGI9bTSNrD6r41OMdbkP66GtWZCN2fjpx2aYoAHI 91KQrhkffwjhm4HQJWpdkEFP3Sffv4hStHp8FNR8mTIIa1hsPqCi1IzU0MZiuNivf87K wf2A== X-Received: by 10.224.126.9 with SMTP id a9mr16060929qas.39.1398471091912; Fri, 25 Apr 2014 17:11:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.215.2 with HTTP; Fri, 25 Apr 2014 17:11:11 -0700 (PDT) In-Reply-To: <1B23B163-A715-468E-8F3B-2FBDC709D57D@triptera.com.au> References: <05C4089D-014D-4448-860E-01A259FF50D8@triptera.com.au> <1B23B163-A715-468E-8F3B-2FBDC709D57D@triptera.com.au> From: Mike Kienenberger Date: Fri, 25 Apr 2014 20:11:11 -0400 Message-ID: Subject: Re: How to use JNDI in development To: user@cayenne.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Apr 25, 2014 at 7:27 PM, D Tim Cummings wrote= : > I am certainly finding jetty easier than tomcat in eclipse and once I get= more familiar with it I may recommend it for production. I am a bit conce= rned at all the different versions of jetty floating around with so many pe= ople sticking to old versions. Many people use version 6 while version 9 is= recommended by http://www.eclipse.org/jetty. RunJettyRun doesn't have a ve= rsion 9 option. Really, once you get the basics of the jetty config file, it's just faster and easier to run jetty directly rather than messing around with the eclipse plugin. You don't have to worry about the plugin supporting your jetty version or settings. When you want to upgrade, you just update your user library to contain the new jetty version. > Embedded jetty sounds very tempting. I am not sure what the deployment op= tions on Windows are. I can't expect my Windows users to go to the command = line, and I don't know enough about Windows to create alternative launch te= chniques. Basically, you build a jar file instead of a war/ear file, then you just run it with java -jar myapp.jar. You'd probably want to set an environment variable to point at your config file or something along those lines.