Results 1 to 2 of 2

Thread: main() Method

  1. #1
    Join Date
    Feb 2013
    Posts
    1

    Default 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. #2

    Default

    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
  •