Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: TNS Listener on a different Host
bhogak bhogakbhogak wrote:
> Can we have a TNS listener on a different host than the one where the
> database is running? I want to connect to a database using Java
Applet,
> but the webserver and the database are running on two different
hosts.
> If I can start a TNS Listener on the web server, I will be able to
> connect to the database easily. (Just a fyi - Java applets cannot
> connect to any other server other than the one they were hosted
from).
Why so? Just add a java.net.SocketPermission "database server", "connect, resolve"; in the java.policy file and you should be OK.
Regards
/Rauf
Received on Thu Apr 07 2005 - 12:35:49 CDT