Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.
Anonymous
Unregistered
|
|
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.
|
Mark Pendergast
Unregistered
|
|
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).
|
|
0 registered and 1 anonymous users are browsing this forum.
Moderator:
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 5267
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5