Return-Path: X-Original-To: apmail-james-server-user-archive@www.apache.org Delivered-To: apmail-james-server-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 AEE02917A for ; Sun, 17 Jun 2012 14:15:04 +0000 (UTC) Received: (qmail 12907 invoked by uid 500); 17 Jun 2012 14:15:03 -0000 Delivered-To: apmail-james-server-user-archive@james.apache.org Received: (qmail 12869 invoked by uid 500); 17 Jun 2012 14:15:03 -0000 Mailing-List: contact server-user-help@james.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "James Users List" Reply-To: "James Users List" Delivered-To: mailing list server-user@james.apache.org Received: (qmail 12860 invoked by uid 99); 17 Jun 2012 14:15:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 14:15:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aladin_dajani@hotmail.com designates 65.55.116.100 as permitted sender) Received: from [65.55.116.100] (HELO blu0-omc3-s25.blu0.hotmail.com) (65.55.116.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 14:14:54 +0000 Received: from BLU0-SMTP143 ([65.55.116.74]) by blu0-omc3-s25.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 17 Jun 2012 07:14:33 -0700 X-Originating-IP: [173.178.185.201] X-Originating-Email: [aladin_dajani@hotmail.com] Message-ID: Received: from [192.168.1.101] ([173.178.185.201]) by BLU0-SMTP143.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 17 Jun 2012 07:14:32 -0700 Subject: Re: new to james, not sure where to start References: <4FDD80BF.8090507@apache.org> From: Aladin Dajani Content-Type: text/plain; charset="us-ascii" X-Mailer: iPhone Mail (9B206) In-Reply-To: <4FDD80BF.8090507@apache.org> Date: Sun, 17 Jun 2012 10:14:28 -0400 To: James Users List Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 (1.0) X-OriginalArrivalTime: 17 Jun 2012 14:14:32.0351 (UTC) FILETIME=[841562F0:01CD4C93] Hi Eric, I am interested to know more about "but in production env, it's best to have= web container and James server separated." First, why? Second, separated as in different containers on the same machine or separate= d on different machines? Regards, Aladin On Jun 17, 2012, at 3:01 AM, Eric Charles wrote: > Hi, >=20 > If you build James (svn co [1], mvn package), you already have a war (in t= arget folder) with needed web.xml that starts james on webapp startup (see [= 2]). >=20 > This is good for a quick start, but in production env, it's best to have w= eb container and James server separated. >=20 > Whether James is embedded or not, you can access the management functional= ities (user/domain/... crud,...) via JMX, with the james-server-cli jar (see= [3] for how to use ServerProbe). >=20 > Thx, Eric >=20 > [1] https://svn.apache.org/repos/asf/james/app/trunk >=20 > [2] > > > contextConfigLocation > > /WEB-INF/conf/META-INF/org/apache/james/spring-server.xml > > > > contextClass > org.apache.james.container.spring.context.web.JamesServerWebA= pplicationContext > > > org.springframework.web.context.ContextLoaderListener > > >=20 >=20 > [3] https://svn.apache.org/repos/asf/james/server/trunk/cli/src/main/java/= org/apache/james/cli/ServerCmd.java >=20 >=20 >=20 > On 06/17/2012 06:57 AM, Anthony Fryer wrote: >>=20 >> Hi, >>=20 >> I'm new to James and think it can do what I want but would like to be sur= e. I have a java web application that a user can create an account. I woul= d like that account creation process to also crease an email inbox for them (= ie. a james email account). I would like the james server to be embedded i= n my java web application as possible. >>=20 >> When my web application starts up, i would need to start james listening o= n a port to receive emails. How is this done programattically? >>=20 >> How can i create a new user account programatically? >>=20 >> Is there any good tutorials or samples or documentation about doing the a= bove tasks? >>=20 >> Regards, >>=20 >> Anthony >> =20 >=20 > --=20 > eric | http://about.echarles.net | @echarles >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org > For additional commands, e-mail: server-user-help@james.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org For additional commands, e-mail: server-user-help@james.apache.org