Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package andy.zhang.dubbo.app; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * * @author guohuazhang */ public class Main { public static void main(String[] args) throws Exception { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( new String[] { "applicationProvider.xml" }); context.start(); System.out.println("?"); System.in.read(); } }