This would have been a little more informative had you not
assumed a newbie would know what a JDBC type was, much less their
categories. The very nature of his question is evidence to his
ignorance of the subject.
Type 1 - JDBC-ODBC bridge
All Java = false
Network Connection = direct
Type 2 - Native API
All Java = false
Net Con = direct
Type 3 - JDBC - Net
All Java (client) = true
All Java (server) = maybe
Net Con = indirect
Type 4 - Native protocol
All Java = true
Net Con = direct
For a simple way of getting database data into a servlet, see
Jason Hunter's "Java Servlet Programming," pp. 250-251.
Cheers!
Mark
----- Original Message -----
From: "Mahesh Davendran" <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 12:32 PM
> This wont be a problem. You can use JDBC type 4 for this. All
you need for
> this is the database name, Name/IP of the m/c and
userid/password. This is
> the best way since its 100% java. For some otherways, you need
to contact
> respective companies for Type 2/3 drivers (Note for this you
may require a
> client installation.)
>
> Regards,
> Mahesh Devendran
>
> -----Original Message-----
> From: Juan Antonio Felix [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 5:29 PM
>
> Hello everybody,
>
> I just want to know if there's some other tecnology to interact
with a
> database
> and servlets, or what is the best way to do this. For example,
i just want
> to
> retrieve information from a database using servlets.
>
> Thanks :)
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html