i want to create a class dynamically when my application server starts. how i can do that?
please let me know if any of you have code sinppets for this .
--------------------
suresh
Printable View
i want to create a class dynamically when my application server starts. how i can do that?
please let me know if any of you have code sinppets for this .
--------------------
suresh
[QUOTE=psuresh1982;15061]i want to create a class dynamically when my application server starts. how i can do that?
please let me know if any of you have code sinppets for this .
--------------------
suresh[/QUOTE]
creating a class dynamically for what..????First you need to create a class for this no memory is allocated...if you want you can create object of that class dynamically...
Hope you find the link below useful.
It also has a snippet for creating objects dynamically using reflection.
www . ibm . com /developerworks/library/j-dyn0603/