**DONOTDELETE**
(Unregistered)
11/06/04 07:08 PM
adding mysql support or other database?

Im trying to learn java so this article is beyond my ability as I do not consider myself a programmer but I have been reading information about webspiders and seems like a neat idea for collecting information from the web for research how hard would it be to implement a database connection to mysql from this program or other java based webspiders and what about storage options because the information has to be stored somewhere and I would think as much information that is on the web that you could fill your hard drive rather quickly.

**DONOTDELETE**
(Unregistered)
11/30/04 02:21 PM
Re: adding mysql support or other database?

Java has a database access to MySQL and other databases
via JDBC Connections (see http://java.sun.com/products/jdbc/index.jsp) for more information. What you would do would be to create a database table containing key terms, another table to hold urls, and a third to link the two together. As the spider runs it would add table entries. Database programming in Java is no harder than doing regular file i/o (assuming you know how to code in Java and know some basic SQL commands).



Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.