Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle JDBC via an Applet

 
John Spindler
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am attempting access to an oracle database via an Applet. when I try it tells me "Can't connect to host." I am curious, is this allowed? To access the DB server on a box other then the Web Server with an Applet? I know there are rules with Applets and I hope that is not my problem...and if is, one of your guys will have a work around.
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is allowed, but you'll have to give your applet permissions (search the JDBC forum for 'sign applet') to access the database. OR you can put the jdbc code in a servlet or bean.
Jamie
 
John Spindler
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jamie,
Thanks and I read all of the post that came up with 'signed applet' search yet all of them say exactly what you are saying. "Either sign it or write a servlet" Ok I will do my homework and attempt a servlet but anyhelp or walkthrough, even a small tutorial to get me started would be great. I just began learning Java so now diving into Servlets should be fun. Anyway thanks again!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic