[Pfc-prolog-cvs] prolix/src/org/asturlinux/frade/prolix/consoleclient ConsoleClient.java,1.2,1.3
Status: Beta
Brought to you by:
ivanfrade
From: <iva...@us...> - 2003-06-26 21:44:48
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/consoleclient In directory sc8-pr-cvs1:/tmp/cvs-serv31961/src/org/asturlinux/frade/prolix/consoleclient Modified Files: ConsoleClient.java Log Message: added script to launch console client. Done needed changes in build.xml Index: ConsoleClient.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/consoleclient/ConsoleClient.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConsoleClient.java 24 Jun 2003 12:05:51 -0000 1.2 --- ConsoleClient.java 26 Jun 2003 21:44:45 -0000 1.3 *************** *** 53,60 **** // Obtain reference to home InitialContext ctx = new InitialContext(); ! Object o = ctx.lookup( "org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMain" ); ! ProlixMainHome home = null; ! home = (ProlixMainHome)PortableRemoteObject.narrow(o, ProlixMainHome.class); ! // Create the interpreter bean interpreter = home.create(); --- 53,60 ---- // Obtain reference to home InitialContext ctx = new InitialContext(); ! //Object o = ctx.lookup( "org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMain" ); ! //ProlixMainHome home = null; ! // home = (ProlixMainHome)PortableRemoteObject.narrow(o, ProlixMainHome.class); ! ProlixMainHome home = (ProlixMainHome)ctx.lookup(ProlixMainHome.JNDI_NAME); // Create the interpreter bean interpreter = home.create(); |