在weblogic中,通过jndi查找home接口:
Properties p = new Properties();
           p.put (Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
           p.put(Context.PROVIDER_URL,"t3://localhost:7001");
           Context ctx = new InitialContext(p);不知道楼主还有什么疑问?