Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Oracle 8i: must I put all the EJB server files into the client machine?
Hi all,
env Oracle 8i x EJBs v 8.1.5, NT
I'm trying to figureout what I need to put on my client to contact an EJB. I'm using the helloworld sample that is included in the Oracle 8i distribution and if I start the runit script from the dir with both client and server src it works fine.
D:\oracle8i\helloworld\alone>set
CLASSPATH=.;d:\oracle\ora81\lib\aurora_client.jar;d:\oracle\ora81\jdbc\lib\c
lasses111.zip;d:\oracle\ora81\sqlj\lib\translator.zip;d:\oracle\ora81\lib\vb
jorb.jar;d:\oracle\ora81\lib\vbjapp.jar;d:\progra~1\jdk1.1.7\lib\classes.zip
;server_generated.jar
D:\oracle8i\helloworld\alone>java Client sess_iiop://localhost:2481:alberto /test/myHello scott tiger Hello client, your javavm version is 8.1.5.
Now what I'm trying to do is to put into a different dir (or into a diff pc)
only the files the client needs, because these are the files it will be put
in the client machine.
The problem is it seems I have to put all the files contained in this
directory:
06/24/99 03:29p <DIR> . 06/24/99 03:29p <DIR> .. 06/24/99 09:38a 1,943 Client.class 12/21/98 10:35a 1,056 Client.java 06/24/99 03:27p <DIR> hello 01/19/99 04:50p 273 hello.ejb 06/24/99 03:26p <DIR> helloServer 02/18/99 10:30a 911 runit.bat 06/24/99 09:38a 2,964 server.jar 06/24/99 09:41a 29,368 server_generated.jar 10 File(s) 36,515 bytes 779,001,856 bytes free
I tried to delete the src directories or the jars but I get some exceptions. Am I supposed to install in a client machine all the server stuff?
Please let me know
TIA
Alberto
Received on Thu Jun 24 1999 - 08:45:03 CDT