You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Clayton Hicklin <ch...@mutiger.homeip.net> on 2007/01/30 01:20:36 UTC
GBean tutorial
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!!!
Re: GBean tutorial
Posted by Lasantha Ranaweera <la...@opensource.lk>.
Hi,
Sorry for a late reply.
I recommend you to go through
http://www.chariotsolutions.com/geronimo/geronimo-1.1/gbeans.html to get
basic idea of GBeans.
But to your problem it is better to go through the following sample
application of Geronimo.
http://cwiki.apache.org/GMOxDOC11/advanced-plugin-sample.html
For the Maven2 stuff I can recommend one of the best books "Better
Builds with Maven" which was freely available on the Internet sometime
back :-) .
Thanks,
Lasantha Ranaweera
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!!!
>
>
Re: GBean tutorial
Posted by Clayton Hicklin <ch...@mutiger.homeip.net>.
Thanks to Kanchana and Lasantha. That helps a lot.
Kanchana Welagedara wrote:
> 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
> <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
> <ma...@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!!!
>
>
Re: GBean tutorial
Posted by Kanchana Welagedara <ka...@gmail.com>.
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 <ch...@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!!!
>
>