geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ying Tang <yingtang1...@gmail.com>
Subject Re: GBean documentation improvement
Date Fri, 20 Mar 2009 01:50:20 GMT
Hi Radiim,

  Thanks a lot for your suggestion. We will get down to the improvement.


Best Regards,

Ying Tang (Sophia)


2009/3/20 Radim Kolar <hsn@sendmail.cz>

>
> I have some suggestions about improving following document:
>
> http://cwiki.apache.org/GMOxDOC22/developing-and-deploying-a-geronimo-gbean.html
>
> 1. GBean Lifecycle section
>   what is doFail() method expected to do? Shutdown gbean and make it sure
> that calling doStart() will do nothing?
>
> 2. GBean attributes
> SimpleServerGBean doesn't have get/set methods for its attributes `name`
> and
> `port`. I would like to see and example handling of invalid input. for
> example setPort(-1). Should gbean just ignore attribute change or throw
> IllegalArgument exception?
>
> 3. Make some example Gbean using references
>
> 4. Deploy
> What should i do if gbean itself needs another library to work? Deploy both
> .jars into jars repository and list both as dependencies when we are about
> to create gbean instance by deploying simpleServer_deployment_plan.xml ?
> --
> View this message in context:
> http://www.nabble.com/GBean-documentation-improvement-tp22607392s134p22607392.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message