Thanks Travis.I think i got the point here.
So in Spring MVC, When the context is up, ApplicationContext is created using the xmls locations provided in xmls.
So, the piece of code for getting...
Type: Posts; User: contactsenthil; Keyword(s):
Thanks Travis.I think i got the point here.
So in Spring MVC, When the context is up, ApplicationContext is created using the xmls locations provided in xmls.
So, the piece of code for getting...
Thanks for the clarification.
But here is another one.
FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(
new String[] { "spring-beans.xml", "test-beans.xml" });
...
Hi,
Can anybody when an object is instantiated with ApplicationContext and BeanFactory?
My understanding is
For BeanFactory - Instantiation happens when we invoke getBean("blah")...
Hi,
Iam new to Spring and i came to know that
BeanFactory is Lazy ie., instantiates object only when getBean() is invoked.
and ApplicationContext instantiates object when the context is up.
...
To be short.
Where exactly the bean is associated with either BeanFactory or ApplicationContext?
Hope its not happening below
BeanFactory beanFactory = new XMLBeanFactory(new...
Thanks.Tat made sense.
Reg. question 1 and 3 (Rephrased) -- The Bean is taken care by BeanFactory or ApplicationContext container.Is there any configuration anywhere which will tell that a...
Hi,
Is there a way of setting more than one property in C'tor without using setter methods?
Eg:
public class Employee{
String firstName;
String lastName;
...
Hi,
Iam new to Spring.. Got one question.
Apart from the other differnces i came to know that
BeanFactory container instantiates Beans only when it beanfactory.getBeans().
and ...