EJB
망해가는 EJB 최후의 발악인가? Mastering EJB3 (4th Ed)네거티브 전략 그리고 Spring의 경쟁자
EJB3
New Article: New Features in EJB 3.1 - Part 4
Weblogic
http://e-docs.bea.com/wls/docs81/jndi/jndi.html#467275
Context ctx = null;
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,"t3://localhost:7001");
try {
ctx = new InitialContext(ht);
// Use the context in your program
} catch (NamingException e) {
// a failure occurred
} finally {
try {ctx.close();}
catch (Exception e) {
// a failure occurred
}}
Jeus
Properties p = new Properties();
p.put("java.naming.provider.url", "10.22.101.41:7001");
p.put("java.naming.factory.initial", "jeus.jndi.JEUSContextFactory");
Jeus to Weblogic
http://technet.tmaxsoft.com/kr/popReadBoardForm.do?bbsCode=qna_jeus&seqNo=13692
History
Last edited on 03/23/2009 20:04 by benelog
Comments (0)