Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 86117 invoked from network); 28 Nov 2003 07:04:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Nov 2003 07:04:40 -0000 Received: (qmail 7613 invoked by uid 500); 28 Nov 2003 07:04:17 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 7568 invoked by uid 500); 28 Nov 2003 07:04:17 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Directory Developers List" Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 7554 invoked from network); 28 Nov 2003 07:04:16 -0000 Received: from unknown (HELO umbongo.flamefew.net) (64.253.103.114) by daedalus.apache.org with SMTP; 28 Nov 2003 07:04:16 -0000 Received: by umbongo.flamefew.net (Postfix on Linux (i386), from userid 500) id CE871579; Fri, 28 Nov 2003 02:04:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by umbongo.flamefew.net (Postfix on Linux (i386)) with ESMTP id CD8954F7 for ; Fri, 28 Nov 2003 02:04:27 -0500 (EST) Date: Fri, 28 Nov 2003 02:04:27 -0500 (EST) From: Henri Yandell X-X-Sender: hen@umbongo.flamefew.net To: Apache Directory Developers List Subject: Re: [naming] Another memory jndi impl In-Reply-To: <3FC6DC07.9050705@steitz.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 27 Nov 2003, Phil Steitz wrote: > I even got this to work to configure a mail session: > > > > mail.smtp.host > localhost > > > ... > initCtx = new InitialContext(); > envCtx = (Context) initCtx.lookup("java:comp/env"); > session = (Session) envCtx.lookup("mail/Session"); I'd appreciate a simple how-to for starting with Naming in this way. Or rather, it'd save me a little thinking time and more importantly give us an initial set of documentation :) Hen