簡述Spring 的核心: IOC(控制反轉)/AOP(面向切面)

IOC(控制反轉) 就是將對象的控制權從代碼交給xml  java 學生類 public class Student{}spring 傳統的方法調用  Student st=new  Student (); 對比express 使用ioc 方法調用app Student st=  xml.getBean();學習 具體代碼:this applicationContext.xml:  <?xml v
相關文章
相關標籤/搜索