There are a lot more samples here
http://cwiki.apache.org/GMOxSAMPLES/apache-geronimo-v20-samples.html
The plan.xml as you know it is also called by different names in these samples.
* geronimo-application.xml (when packaged in the EARs META-INF)
* geronimo-web.xml (when packaged at WAR's WEB-INF)
Is this what you are looking for ?
Cheers
Prasad
On 10/22/07, gromar <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to develop stand alone application based GBeans. I would like
> to use deployment plan (plan.xml) for GBeans configuration deployment How
> can I do it? Is there any example? if yes, where?
>
>
> I saw an example
> http:/www.ibm.com/developerworks/opensource/library/os-ag-ioc2
>
> there is writen how to instantiate GBeans in runtime.
>
> GBeanMBean gmb = new GBeanMBean(Customer.getGBeanInfo());
> gmb.setAttribute("name","Homer");
> gmb.setAttribute("salary", 2500.00);
> ObjectName myGbeanName = ObjectName.newInstance(
> "Geronimo.my:Customer=customer1");
> kernel.loadGBean(myGbeanName, gmb);
> kernel.startGBean(myGbeanName);
>
> //do some work with Customers
>
> kernel.stopGBean(myGbeanName);
> kernel.unloadGBean(myGbeanName);
>
>
>
> But I would like to load plan.xml in my stand alone application.
>
> Thank you for answer.
>
> regards
> Martin
> --
> View this message in context:
> http://www.nabble.com/Load-stand-alone-deployment-plan-tf4670360s134.html#a13341748
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>