Results 1 to 2 of 2

Thread: Spring Container

  1. #1
    Join Date
    Oct 2004
    Location
    Moscow
    Posts
    32

    Default Spring Container

    Whether correctly to consider that Spring manages object's lifecycle?

    I thought if object has only 2 state (exists or not exists) - it's not lifecycle management.

    But in articles are using _lifecycle management_ term regarding Spring.

    Is it correct?

  2. #2
    Join Date
    Aug 2004
    Location
    Toulouse, France
    Posts
    148

    Default

    Spring does much more than just creating objects.
    The lifecycle management is appropriate in the sense that an object is constructed, indeed, then injected values (going to a state with configuration set), checked for special interfaces, which can led to more data injection (ApplicationContextAware, etc...) or method calling (InitializableBean, ...).
    It is just an extract but you can see that spring does much more than just calling constructors.

    Olivier

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 6
    Last Post: Jan 21st, 2012, 10:32 AM
  3. A Spring Class Loader?
    By azzoti in forum Architecture
    Replies: 8
    Last Post: May 7th, 2005, 04:02 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Replies: 7
    Last Post: Oct 27th, 2004, 03:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •