u*******d 发帖数: 289 | 1 The problem present by me:
some people including Vadim told me that it is not possible to use an applet
to access Oracle, since then the web server and the DBMS server need to run
on the same host. It's a situtation that I like to avoid.
Answer I get:
Regarding the applet access issue, restriction that an applet can only open
TCP connections to the server it came from. You can get around the problem
by using a servlet on the Web server side that acts as a proxy between the
applet and the Oracle | G**T 发帖数: 388 | 2
pls go to www.javasoft.com to search DOC
【在 u*******d 的大作中提到】 : The problem present by me: : some people including Vadim told me that it is not possible to use an applet : to access Oracle, since then the web server and the DBMS server need to run : on the same host. It's a situtation that I like to avoid. : Answer I get: : Regarding the applet access issue, restriction that an applet can only open : TCP connections to the server it came from. You can get around the problem : by using a servlet on the Web server side that acts as a proxy between the : applet and the Oracle
| B*****n 发帖数: 135 | 3 I suppose you know JDBC. If you write a stand-alone JDBC program, say A,
it will be able to connect to any Oracle server running on any host,
as long as there is a listener listening for jdbc connections, right?
Now suppose you install A along-side with a web-server. If you can
auto-magically ask the web server to invoke your JDBC program A;
inside A you can still connect to any database on any server,
right?
Now if your applet issues a request to web server in such a way that
the web-server kno
【在 u*******d 的大作中提到】 : The problem present by me: : some people including Vadim told me that it is not possible to use an applet : to access Oracle, since then the web server and the DBMS server need to run : on the same host. It's a situtation that I like to avoid. : Answer I get: : Regarding the applet access issue, restriction that an applet can only open : TCP connections to the server it came from. You can get around the problem : by using a servlet on the Web server side that acts as a proxy between the : applet and the Oracle
| m***a 发帖数: 16 | 4
No, not that easy. If you have applet activated in your java program which
also take care of the JDBC connection. the JDBC will deal the user as
untrusted and refuse connection. The prob is sill resolvable, but use i/o
stream instead.
Yeah, I totally agree though my servlet pissing on me. These days I'm
hammering on it. My server won't install. clueless :(
【在 B*****n 的大作中提到】 : I suppose you know JDBC. If you write a stand-alone JDBC program, say A, : it will be able to connect to any Oracle server running on any host, : as long as there is a listener listening for jdbc connections, right? : Now suppose you install A along-side with a web-server. If you can : auto-magically ask the web server to invoke your JDBC program A; : inside A you can still connect to any database on any server, : right? : Now if your applet issues a request to web server in such a way that : the web-server kno
|
|