File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Is only Type  4 driver can be used when working with Applets ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Is only Type  4 driver can be used when working with Applets ??" Watch "Is only Type  4 driver can be used when working with Applets ??" New topic
Author

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

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


Hello , Please let me know this


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

Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have a read through our FAQs. There is quite a lot in there on JDBC and Applets.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2500
    
    8

Ravi Pavan wrote:
Is only Type 4 driver can be used when working with Applets ??
Why do you think so?


OCUP UML fundamental and ITIL foundation
youtube channel
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Why do you think so?

This is waht i am asking man.

Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2500
    
    8

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

Joined: Apr 18, 2009
Posts: 2234

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

Joined: Dec 20, 2006
Posts: 2500
    
    8

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

Joined: Apr 18, 2009
Posts: 2234

Thank you very much Jan .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is only Type 4 driver can be used when working with Applets ??