IT Community - Software Programming, Web Development and Technical Support

Can the JDBC-ODBC Bridge be used with applets?

This is a discussion on Can the JDBC-ODBC Bridge be used with applets? within the Mobile Software Development forums, part of the Software Development category; Can the JDBC-ODBC Bridge be used with applets?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 05:46 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Question Can the JDBC-ODBC Bridge be used with applets?

Can the JDBC-ODBC Bridge be used with applets?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 06:04 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: Can the JDBC-ODBC Bridge be used with applets?

Use of the JDBC-ODBC Bridge from an untrusted applet running in a browser, such as Netscape Navigator, isn't allowed. The JDBC-ODBC Bridge doesn't allow untrusted code to call it for security reasons. This is good because it means that an untrusted applet that is downloaded by the browser can't circumvent Java security by calling ODBC. Remember that ODBC is native code, so once ODBC is called the Java programming language can't guarantee that a security violation won't occur. On the other hand, Pure Java JDBC drivers work well with applets. They are fully downloadable and do not require any client-side configuration.

Finally, we would like to note that it is possible to use the JDBC-ODBC Bridge with applets that will be run in applet viewer since applet viewer assumes that applets are trusted. In general, it is dangerous to turn applet security off, but it may be appropriate in certain controlled situations, such as for applets that will only be used in a secure intranet environment. Remember to exercise caution if you choose this option, and use an all-Java JDBC driver whenever possible to avoid security problems.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-04-2007, 08:04 AM
leoraja8 leoraja8 is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 194
leoraja8 is on a distinguished road
Smile Re: Can the JDBC-ODBC Bridge be used with applets?

JDBC used with a Pure Java JDBC driver works well with applets. The JDBC-ODBC Bridge driver does not work well with applets.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA Oracle connectivity with Jdbc-odbc bridge amansundar Java Programming 4 09-24-2007 11:59 PM
Difference between applications and applets vijayanand Java Programming 0 09-21-2007 12:18 AM
Difference between JDBC and ODBC? vijayanand Java Programming 0 09-20-2007 08:05 AM
Can applets communicate with each other? kingmaker Java Programming 1 07-30-2007 08:04 AM
Repeater, bridge, router vadivelanvaidyanathan Server Management 0 07-15-2007 06:26 PM


All times are GMT -7. The time now is 08:53 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0