What does “Container” mean in the context of programming?
I am learning Spring and the term "Spring Container" frequently shows up in the text. However, I know "container" is not used only in Spring (EJB container etc) so what does it mean when used in the context of programming? The container is something that contains something else. In spring : Spring container contains beans (Java objects that are subject to dependency-injection ) Servlet containers contain servlets, filters, listeners, etc. and manages their state and lifecycle. There are also similar portlet containers EJB containers contain EJBs (stateless, stateful, message-driven) and, as