Search:

Type: Posts; User: contactsenthil; Keyword(s):

Search: Search took 0.03 seconds.

  1. Thanks Travis.I think i got the point here. So...

    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...
  2. Thanks for the clarification. But here is...

    Thanks for the clarification.

    But here is another one.

    FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(
    new String[] { "spring-beans.xml", "test-beans.xml" });
    ...
  3. ApplicationContext VS BeanFactory - Instantiation

    Hi,
    Can anybody when an object is instantiated with ApplicationContext and BeanFactory?

    My understanding is

    For BeanFactory - Instantiation happens when we invoke getBean("blah")...
  4. BeanFactory-Lazy VS ApplicationContext - SMART - Confusion

    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.
    ...
  5. To be short. Where exactly the bean is...

    To be short.
    Where exactly the bean is associated with either BeanFactory or ApplicationContext?

    Hope its not happening below

    BeanFactory beanFactory = new XMLBeanFactory(new...
  6. Thanks.Tat made sense. Reg. question 1 and 3...

    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...
  7. Injecting more than single value in a Constructor

    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;
    ...
  8. Difference between BeanFactory and Applicationcontext

    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 ...
Results 1 to 8 of 8