Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is only Type 4 driver can be used when working with Applets ??

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello , Please let me know this


Is only Type 4 driver can be used when working with Applets ??
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a read through our FAQs. There is quite a lot in there on JDBC and Applets.
 
Jan Cumps
Bartender
Posts: 2586
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Pavan wrote:
Is only Type 4 driver can be used when working with Applets ??
Why do you think so?
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think so?

This is waht i am asking man.

 
Jan Cumps
Bartender
Posts: 2586
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you make a random statement, and than ask if it is true? There must be a reason for asking this?
You 'll have to bring in some arguments to wake us up.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because the Java Ranch says this :

You can use other drivers (types 3 and 4 preferred) to connect your applet to a database except for Access.


but ,
After reading lots of docs, a got the impression that it is possible to write an Java Applet, that uses jdbc to connect to MS SQLServer (Without flushing all security permissions )
 
Jan Cumps
Bartender
Posts: 2586
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard security permissions prevent that you access a database on another server than the one that serves the applet.

The reason why type1 and type2 are not appropriate for applets is because they depend on a certain platform (type 1) or require client software (type 2).

Except for Access means: Access is not a client server database. You need file access to the location where the access database resides. That is not very useful for applets.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Jan .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic