你好,banq,你能不能把下面的代码中第1-5行给我讲讲是什么意思?
1:Properties properties = new Properties();
2:properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
3:properties.setProperty(Context.PROVIDER_URL, "t3://localhost:7001");
4:Context context;
5:context = new InitialContext(properties);
HelloWorldHome hwh = (HelloWorldHome) context.lookup("ejb/HelloWorld");
HelloWorld hw = hwh.create();