Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is IOC in spring?

Answer Posted / sujeev

IOC(Inversion of control)is a technique that allows object
configuration to be moved out of code and into a
configuration file. With Spring IOC, this is typically done
with an XML file.
The steps to use Spring IOC are:

1. Write Java Bean classes, with getter and setter methods
for each property to be configured by Spring.
2. Create an XML file that describes the Java Beans to be
configured.
3. Use an XMLBeanFactory to create configured beans. There
are other ways to read bean descriptions, but using an
XmlBeanFactory is more common.

Is This Answer Correct ?    80 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Spring2.5 MVC Navigation flow?

6295


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1999


What are the interfaces in java collections? : java collections

1078


What are the differences between the java collection and the java list? : java collections

1049


What do you understand by synchronization? Why is it important?

996


please mail me the interview question based on java/j2ee

1899


What are the different types of collections views being provided by the map interface? : java collections

977


What are the different types of classes implemented in the set interfaces? : java collections

1008


Should we create system software ( e.g operating system ) in java ?

987


can u draw class/object diagram for ATM

6009


What are the queues in the java collection framework? : java collections

969


What is the use of the list interface in the java collection? : java collections

977


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

2006


What is deque in the java collections framework? : java collections

1016


What are the classes in the java collection framework? : java collections

986