-
Apr 15th, 2008, 11:07 AM
#1
Config & Code Autogeneration ?
Hi,
I do need to auto generate the config files, setter & getter methods in bean class and related java code changes. Is it possible through code generator like Xdoclet ? or anything else ?
Pls help. If its not possible. pls give some ideas.
Thanks,
Vaswin
Srinivas.R

-
Apr 15th, 2008, 11:19 AM
#2
I don't think this is really a Batch question, but before you go off to ask the question in another forum, let me just say this: config file generation is not mainstream and not really best practice. For the kinds of use cases you seem to need most people use an IDE (Spring IDE is the best).
-
Apr 15th, 2008, 11:00 PM
#3
-
Apr 16th, 2008, 12:29 AM
#4
HI ,
Is it possible to use Xdoclet(code generation) for this type of situation?
-
Apr 16th, 2008, 01:28 AM
#5
I guess. I would prefer just to output a .properties file though (much easier to work with, and Spring has some tools to help you), and then use that to complete the runtime configuration with a PropertiesPlaceholderConfigurer. Would that work?
-
Apr 16th, 2008, 02:28 AM
#6
thx for your input.
I need clarification about the config files.
Is it necessary to have a individual property file for each job ? For example, if two jobs starts same time, need to create properties dynamically from DB.
Can we do scheduling with the single Spring Bean XML file and Property file through PropertiesPlaceholderConfigurer ?
How can i add / delete setter & getter methods in Domain Object when changes happens in the property file ?
Srinivas.R

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules