ITPUB??ì3
ITPUB论坛 » Java企业开发 » How can the applet connect to a database running on a different host from the we

新一届的微软MVP评选已经开始,欢迎各位推荐!

标题: How can the applet connect to a database running on a different host from the we
离线 Arrayhello_wind
初级会员



精华贴数 0
个人空间 0
技术积分 59 (25018)
社区积分 0 (50274)
注册日期 2001-12-8
论坛徽章:0
      
      

发表于 2001-12-17 20:56 
How can the applet connect to a database running on a different host from the we

When the applet and  database in the same server it can run normal.
But if applet want to connect to other database that is diffent
host from the web server host, it will appear 'can not access xxxxx(xxxx is server name)' error. Who can tell me how to solve it.
I using jdbc2.0 and the database is oracle814.
thanks  



__________________
我是谁?我在哪里?
只看该作者    顶部
离线 scott/tiger
一般会员



精华贴数 0
个人空间 0
技术积分 232 (8442)
社区积分 12 (9841)
注册日期 2001-10-8
论坛徽章:1
授权会员     
      

发表于 2001-12-17 23:50 
Re: How can the applet connect to a database running on a different host from th



QUOTE:
最初由 hello_wind 发布
When the applet and  database in the same server it can run normal.
But if applet want to connect to other database that is diffent
host from the web server host, it will appear 'can not access xxxxx(xxxx is server name)' error. Who can tell me how to solve it.
I using jdbc2.0 and the database is oracle814.
thanks  
  


我在97年的时候用过Symantec的dbAnywhere,它就是为了解决Applet的安全性限制的。它是一个访问数据库的中间件,安装在Applet所在的Web server同一台机器上,因此Applet可以与他通讯,然后再由他访问不同主机上的数据库。不过,这么长时间也没听到有什么关于dbAnywhere的消息,也不知道被cancle了还是被Symantec卖给别人了。
其实,dbAnywhere的功能可以很容易地用Servlet或者ejb模拟出来,而且说不定更简单方便。


只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问