ApplicationContext context = new ClassPathXmlApplicationContext{ new String[] {“services.xml”, “doas.xml”});
BeanFactory factory = context;
Quote
We are what we repeatedly do. Excellence, therefore,is not an act but a habit.
Aristotle
Wednesday, January 6, 2010
Instantiating Container
Always remember anything we do in frame works is similar to java, create a class, create an object or instance, call it using constructor or method, or instantiate it. The only difference is we hear different new names along the way. Instantiating a container is just similar to instantiating an object.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment