-
Feb 7th, 2013, 04:09 AM
#1
main() Method
Hello,
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?
Thanks.
-Dan
-
Feb 7th, 2013, 09:03 AM
#2
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
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