由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Is that possible for Applet to access the Oracle?
相关主题
用Servlet显示数据库里的数据,分页的? (很实际的问题)可不可以用asp把Server上的数据另存到本地
[转载] JDBC 解决方案[转载] Oracle将发布最新数据库产品Oracle9i!
[转载] jdbc的问题How to let oracle execute a procedure every hour?
Urgent - Create Table with VARCHAR types in Sybase through JDBCwhat is optimizer statistics in Oracle?
Help: Too Many Cursors in Oracle!!各位老大,管理数据库的用户,这样行吗?
In Memory Database哪个比较好Db2 里设置通信时TCP/IP的端口和远端用JDBC问题
journal for sql server新手求助: 学那个DATABASE软件好呢?
mysql challenge怎么学database ?
相关话题的讨论汇总
话题: applet话题: oracle话题: server话题: access话题: jdbc
进入Database版参与讨论
1 (共1页)
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

1 (共1页)
进入Database版参与讨论
相关主题
怎么学database ?Help: Too Many Cursors in Oracle!!
问个基础的理论问题----数据库的基本差异In Memory Database哪个比较好
请教,如何单步调试sql script?journal for sql server
咋查Oracle job的status呀?mysql challenge
用Servlet显示数据库里的数据,分页的? (很实际的问题)可不可以用asp把Server上的数据另存到本地
[转载] JDBC 解决方案[转载] Oracle将发布最新数据库产品Oracle9i!
[转载] jdbc的问题How to let oracle execute a procedure every hour?
Urgent - Create Table with VARCHAR types in Sybase through JDBCwhat is optimizer statistics in Oracle?
相关话题的讨论汇总
话题: applet话题: oracle话题: server话题: access话题: jdbc