The one thing that is often missed  in the documentation and JDBC groups is
that you need to include the JDBC lib in your servlet engines classpath.





Kevin Mukhar <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 02/22/2001
01:47:46 PM

Please respond to "A mailing list for discussion about Sun Microsystem's
      Java Servlet API Technology." <[EMAIL PROTECTED]>

Sent by:  "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:
Subject:  Re: JDBC and servlet programming


manav agarwal wrote:
>
> I want to learn more about JDBC combined with Java servlet
> programming, i.e., I need to learn how to connect to a database using
> servlets. Can  you suggest some resources, URL's etc?

As always, one of the first places to look is at Sun's Java site:
http://java.sun.com/products/jdbc/
http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html

The db vendor's web site will probably have documentation on jdbc with
their particular db, so check that also.

Spend some time familiarizing yourself with the api:
http://java.sun.com/products/jdk/1.2/docs/api/index.html

Note that asking SQL or jdbc questions of SERVLET-INTEREST is
discouraged. One reason is that there are better places to ask those
questions:
http://forum.java.sun.com/list/discuss.sun.jdbc
http://www.javaranch.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&forum=JDBC&number=3&DaysPrune=1000&LastLogin


http://www.jguru.com/jguru/faq/faqpage.jsp?name=JDBC

Probably every servlet book has section on jdbc programming. Here are
three of them:
http://www.servlets.com (see ch. 9)
http://www.servletguru.com (see ch 9)
http://www.coreservlets.com/ (see ch 18)

There's nothing special about using JDBC with servlets, so once you know
jdbc, you can easily use it in servlets without needing any other
information.

K Mukhar

___________________________________________________________________________
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

___________________________________________________________________________
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

Reply via email to