ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Java J2EE AllOther
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is IOC in spring?
 Question Submitted By :: Kiranksj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is IOC in spring?
Answer
# 1
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 ?    9 Yes 4 No
Sujeev
 

 
 
 
Other Java J2EE AllOther Interview Questions
 
  Question Asked @ Answers
 
What is a constructor?  2
httt method HCL2
whatis arguments &what is default argument CTS1
what is the IDE that you have used to write your java programs? Inforica2
what are callback methods? iFlex2
Q1. A. Write note on "The class path Environment Variable". B. Which are different kinds of source code? Q2. A. How to create an interface? B. Why convert an applet to an application? Q3. A. How to use Media tracker Class. B. How to use string tokenizer class. Q4. A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on "The properties class" Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.  1
what is difference between vector and arraylist?. HCL3
What is IOC in spring?  1
What is need of DAO? Write one simple DAO example? IBM1
what is jndi?  2
what is the difference between banking and insurance domain?  1
Runining mutiple tomcat server in a single machine is possible Yuo wil have to duplicate configuration with different port numbers HCL2
How to use ANT?  1
Difference between Spring framework and Struts framework? IBM5
whats the relation ship between LDAP and JNDI?  1
What is the difference between Eclipse and MyEclipse?  2
what debugging tool that can be used to debug the java programs? Inforica1
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?  1
VSS Objectives  1
how to delete cookie information?and when it will delete? SolutionNET3
 
For more Java J2EE AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com