Announcement Announcement Module
Collapse
No announcement yet.
main() Method Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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

    Comment

    Working...
    X