Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 56133 invoked from network); 31 Jan 2007 08:15:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 08:15:50 -0000 Received: (qmail 65976 invoked by uid 500); 31 Jan 2007 08:15:54 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 65946 invoked by uid 500); 31 Jan 2007 08:15:54 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 65824 invoked by uid 99); 31 Jan 2007 08:15:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 00:15:54 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of kanchanas@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 00:15:45 -0800 Received: by ug-out-1314.google.com with SMTP id m2so141904ugc for ; Wed, 31 Jan 2007 00:15:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=PaF8Bt21PdG8fQmrfTrnhofEsF54MgIphGxU+bkfVeZZgvDT0xiFD0y0W1uM1ffEM7IsOkP5bj9M4VYBrwfJC1YE+g9Iw8z7AwRHMaUk7MO+VFRCqQuHIjKfEnU5AmdFFivf6nuO0dD7LuVBS45njFoehJlTkMuDx+QUUBrmq0A= Received: by 10.78.179.12 with SMTP id b12mr75640huf.1170231322499; Wed, 31 Jan 2007 00:15:22 -0800 (PST) Received: by 10.78.155.3 with HTTP; Wed, 31 Jan 2007 00:15:22 -0800 (PST) Message-ID: <6e9fb9cd0701310015w4978af1di530777ae3118e573@mail.gmail.com> Date: Wed, 31 Jan 2007 13:45:22 +0530 From: "Kanchana Welagedara" To: user@geronimo.apache.org Subject: Re: GBean tutorial In-Reply-To: <45BE8F54.5090206@mutiger.homeip.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_89_31758838.1170231322464" References: <45BE8F54.5090206@mutiger.homeip.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_89_31758838.1170231322464 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi Clayton Following links will helps to dig in to Geronimo Gbeans and it's serveraly Gbean implementations inside geronimo. http://cwiki.apache.org/GMOxDEV/gbeans.html and http://cwiki.apache.org/GMOxDEV/gbeansarticle1.html cheers Kanchana On 1/30/07, Clayton Hicklin wrote: > > Can someone post or point me to a good tutorial on how to write a simple > service GBean? I've looked through the mailing list as well as the > GBean info on the website, and I can't really find a good, clear > description on how to write, package and deploy a service GBean. > > Basically, what I'm trying to do is incorporate a service into Geronimo > as a module (kind of like Tomcat or the ApacheDS module). I understand > how to write the GBean itself, implementing GBeanLifecycle, doStart, > doStop, doFail, etc. What I'm not clear on is how to construct the > maven environment around it (src and target directories, the various XML > files needed) and how to incorporate this into the overall Geronimo > build system so that I can just type "mvn install" in the root directory > and have it build my GBean alongside all the others. Any pointers? > > p.s. -> I'm currently attempting this with G1.2, but would like to know > how to do it in 2.0-Mx, as well, if it's different. > > Thanks in advance!!! > > ------=_Part_89_31758838.1170231322464 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi Clayton

Following links will helps to dig in to Geronimo Gbeans and it's serveraly Gbean implementations inside geronimo.
http://cwiki.apache.org/GMOxDEV/gbeans.html

and
http://cwiki.apache.org/GMOxDEV/gbeansarticle1.html

cheers
Kanchana

On 1/30/07, Clayton Hicklin <chicklin@mutiger.homeip.net> wrote:
Can someone post or point me to a good tutorial on how to write a simple
service GBean?  I've looked through the mailing list as well as the
GBean info on the website, and I can't really find a good, clear
description on how to write, package and deploy a service GBean.

Basically, what I'm trying to do is incorporate a service into Geronimo
as a module (kind of like Tomcat or the ApacheDS module).  I understand
how to write the GBean itself, implementing GBeanLifecycle, doStart,
doStop, doFail, etc.  What I'm not clear on is how to construct the
maven environment around it (src and target directories, the various XML
files needed) and how to incorporate this into the overall Geronimo
build system so that I can just type "mvn install" in the root directory
and have it build my GBean alongside all the others.  Any pointers?

p.s. -> I'm currently attempting this with G1.2, but would like to know
how to do it in 2.0-Mx, as well, if it's different.

Thanks in advance!!!


------=_Part_89_31758838.1170231322464--