-
Mar 8th, 2011, 02:34 PM
#1
A built-in Main bootstraper in Spring core?
Many times we just need a Main class that bootstrap the spring context, and let it run. Though loading Spring context with xml is very simple, just one class away (eg: FileSystemXmlApplicationContext), but I think it would be useful if Spring comes with one built-in that will take any spring xml files and auto bootstrap into running process from a command line.
Not looking for any fancy, full blown server capability, but just a simple bootstraper readily available in spring-core.jar would be very useful, so as user don't have to provide one in each project for simple use cases.
What others think on this?
Thanks,
Zemian Deng
-
Mar 21st, 2012, 09:39 AM
#2
I wrote a simple one, and you can try it here: http://code.google.com/p/spring-runner
Last edited by saltnlight5; Mar 21st, 2012 at 10:07 AM.
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