Feb 7th, 2013, 04:09 AM
I have used only a few parts of Spring (IOC, transaction management, perhaps a couple of others) and so I don't know the entire framework. From what I have seen so far, there are no main() methods in Spring (aside from Spring shell). This suggests to me that Spring is not a container in the classic sense of the term; it is more of a library with container-like features Is my understanding correct? Are there main() methods in parts of Spring that I haven't yet used?
Feb 7th, 2013, 09:03 AM
If you are not building a servlet your would setup the spring container in your main method. See: http://www.springbyexample.org/examp...plication.html
Tags for this Thread