commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dumdum 420" <>
Subject Re: [Bean-Util] DynaClass creation Dynamcially
Date Thu, 12 Feb 2004 21:18:13 GMT
Hi Robert,

Waiting fo the implemetation from u.

Thanx in advance.

robert burrell donkin

From: robert burrell donkin <>
Reply-To: "Jakarta Commons Users List" <>
To: "Jakarta Commons Users List" <>
Subject: Re: [Bean-Util] DynaClass creation Dynamcially
Date: Tue, 10 Feb 2004 22:17:17 +0000

i don't know of any existing implementation but it should be pretty easy to 
do. i also think that probably people might be interested in something like. 
i'd probably approach it by creating some custom digester rules.

- robert

On 10 Feb 2004, at 16:51, dumdum 420 wrote:

>Hi All,
>I want to create a DynaClass instance on the loadup of my application so 
>that I can use the instance of the DynaClass and use the 
>DynaClass.newInstance() method to get the particular DynaBean instance.
>The most suitable way to do the same would be thru a XML file which is 
>parsed at the startup time.
>This is the same concept which is used by the Struts1.1 also for there 
>Now can anyone tell me how to do this XML parsing using commons.Digester to 
>achive the resutls or there is some kind of DynaBeanBuilder already coded 
>which reads the XML and stores the DynaClass reference in the memory which 
>will then help to create as many instances of the DynaBean to created on 
>the basis of the type of the DynaClass locaded.
>This is an example of the .xml file as I am visualizing ...
><dyna-bean name="ChangePasswordTO" 
>type="org.apache.commons.beanutils.DynaBean ">
>        <form-property name="oldPassword" type="java.lang.String" 
>        <form-property name="password1" type="java.lang.String" />
>        <form-property name="password2" type="java.lang.String" />
>If I am not clear please do let me know. Thanx in advance.
>Bhanu Pabreja
>Plan your next US getaway to one of the super destinations here. 
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Let the advanced features & services of MSN Internet Software maximize your 
online time.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message