The best example that I know of is org.openejb.server.ServiceDaemon and org.openejb.server.EjbServer. BTW these classes are just a quick hack David Blevins and I put in and are scheduled to be removed, but they are great examples of a simple GBean.

Also Alan is correct, if you are getting into JMX stuff, you have either gone to far, or there is a bug in the GBEan code.

-dain

On Jun 16, 2004, at 6:52 AM, Jeremy Boynes wrote:

Srinath Perera wrote:

Hi All;
I want to learn about GBeans used in geronimo .. from wiki I found out that
it is extension of MBeans ..but where can I find more info ..
if the place is code where should I look at the code

This is definitely a FAQ :)

We currently implement GBeans using JMX but they are designed to be independent of it to allow implementation under other frameworks. They are also designed to isolate you from some of the ugliness of using raw MBeans.

A good place for examples is the system module which contains a bunch of relatively simple GBeans.

I would suggest starting there, and then post a list of questions to the list or to the wiki - we need to get this documented and I think that may be the catalyst that makes it happen.

--
Jeremy



Reply via email to