Click to See Complete Forum and Search --> : Books on JDBC, Java Servlets?
klamath
11-11-2000, 09:17 PM
Can anyone recommend some good books on JDBC and Java Servlets? (i.e. 2 separate books - one on each). Are the O'Reilly books on this subject as good as they usually are?
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the BBB (http://bbb.sourceforge.net)
Dru Lee Parsec
11-12-2000, 02:28 PM
The O'Reilly book on Java Servlets is great. Much better than the Wrox book "Java Server Programming". I've used the O'Reilly book at work for the last 8 months and it's been very helpfull.
I learned JDBC from Bruce Eckel's book and the Java tutorial. There just isn't that much to learn with JDBC. Esenntially it's just:
1. Download the correct driver and put it in your classpath.
2. Load the driver in your program. There are a couple fo ways to do this. Class.forName(String) works well.
3. Get an instance of that class.
4. Make a statement object.
5. Use statement.executeQuery(String) where the String is your SQL statement.
If you're trying to do something like connection pooling or connecting via an appserver like WebSphere or if you're trying to connect via an Enterprise server then it get's more complicated (but not overly so).
So yes, get the O'Reilly Servlet book but check out the on-line JDBC info before you buy a book on JDBC.
klamath
11-12-2000, 03:28 PM
The O'Reilly Servlet book looked good, but it looks really old (November 1998)! Is it out of date? I would think that a lot of stuff has changed since then.
Thanks for the suggestion. Anyone else?
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the BBB (http://bbb.sourceforge.net)
Dru Lee Parsec
11-12-2000, 04:56 PM
My book is at work adn I'm home right now. It doesn't seem like a book on Java Servlets could be from 1998 because I don't think servlets were supported then. Were they?
I know the one I have (with the tea kettle on the front) talks about the JSDK version 1.0 at least ( i.e. it uses the jsp:useBean tag instead of the <BEAN> tag that was in version 0.9 )
One moment
. . . . . . . . . . . . .
OK, here it is: http://shop.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=4L4LX426US&mscssid=&salesurl=Rwww.books.com/&isbn=156592391X
That's is the one I have that I like.
klamath
11-12-2000, 06:37 PM
O'Reilly's website says Nov. 1998, and Amazon says Dec. 1998. It's pretty old - but if you like it, it most be still applicable.
Thanks for the recomendation. I'd feel better if I new edition came out, but I'll probably get this anyway.
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the BBB (http://bbb.sourceforge.net)