File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC APPLETS

 
Bhaskar Selvaraju
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am making an Online exam system using applets. but the trouble is that JDBC ODBC Bridge does not seem to work with Browser applets. so if anyone can tell me whats the way around it i will be much obliged.
Thanx in advance,
Bhaskar
 
Marcos Maia
Ranch Hand
Posts: 977
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets have security restrictions as you problably know(the famous sandbox concept), and if you�re trying to reach a DB that is not in the host that it came from you�re not gonna be able to do it, a commom manner to go around this is making a servlet to receive informations from your applet and then let the servlet go throught the DB and return the information to your applet.
Anyway take a look at:
http://java.sun.com/docs/books/tutorial/applet/overview/security.html
there you�ll find more information about what applet�s can and can�t do.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic