Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Keeping Those Links Up-to-Date

the Internet face a common problem: there are so many interesting links which they not only would like to come back to at some point, but which are also interesting to others -- for example, colleagues who share a corporate intranet, and who are intereste

Tutorial Details:

the web is a very dynamic medium, and links are bound to be migrated to some other location, or vanish entirely for any number of reasons. So these web pages have to be maintained. This process, however, is almost impossible to handle manually, since you\'d have to click on each link, see what happens, and update the HTML code manually depending on the response received. With hundreds of links in a typical collection, this is clearly not practical. The lack of a solution to this problem sooner or later leads to frustrating user experiences because of many broken linksthe web is a very dynamic medium, and links are bound to be migrated to some other location, or vanish entirely for any number of reasons. So these web pages have to be maintained. This process, however, is almost impossible to handle manually, since you\'d have to click on each link, see what happens, and update the HTML code manually depending on the response received. With hundreds of links in a typical collection, this is clearly not practical. The lack of a solution to this problem sooner or later leads to frustrating user experiences because of many broken links
URLManage manages all interactions with the link data in the backend storage, which is a relational database system. This RDBMS stores the data in some tables, and either a new database needs to be set up, or an existing database can be used to hold these tables. URLManage relies on the DBAccessor package, a JDBC wrapper that I developed earlier. URLManage creates, modifies, deletes, and retrieves link data, and manages the database schema itself.

URLCheck automatically checks the links stored in the database against the network; that is, URLCheck tries to connect to that network resource and determine its status .The actions taken (such as updating or removing a link in the database) depend on the status response received.

URLPublish creates web pages using the Velocity template engine, an Apache Jakarta project. The link data from the database is combined with a template web page to create the actual HTML output required for publishing.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Keeping Those Links Up-to-Date

View Tutorial:
Keeping Those Links Up-to-Date

Related Tutorials:

Singletons vs. class (un)loading - JavaWorld - May 1998
Singletons vs. class (un)loading - JavaWorld - May 1998
 
Using XML and JSP together - JavaWorld March 2000
Using XML and JSP together - JavaWorld March 2000
 
Solid JRun serves up Java on a budget - JavaWorld June 2000
Solid JRun serves up Java on a budget - JavaWorld June 2000
 
Solve your servlet-based presentation problems - JavaWorld November 2000
Solve your servlet-based presentation problems - JavaWorld November 2000
 
Manage distributed sessions - JavaWorld April 2001
Manage distributed sessions - JavaWorld April 2001
 
Develop a generic caching service to improve performance - JavaWorld July 2001
Develop a generic caching service to improve performance - JavaWorld July 2001
 
Pushlets: Send events from servlets to DHTML client browsers
Pushlets: Send events from servlets to DHTML client browsers
 
Java is here to stay (JavaWorld / January 2000 / by John Rommel)
Java is here to stay (JavaWorld / January 2000 / by John Rommel)
 
Publish and find UDDI tModels with JAXR and WSDL
Publish and find UDDI tModels with JAXR and WSDL
 
J2EE 1.4 eases Web service development
J2EE 1.4 eases Web service development
 
WebOnSwing 1.0 beta
WebOnSwing 1.0 beta WebOnSwing is a revolutionary multiple environment application framework that allows you to create web applications in the same way you develope a desktop one. You dont need to use JSP files, special tags, XML files, requests, posts
 
SMS-Powered Applications
SMS-Powered Applications Every business tries to get as close as it can to its customers. The aim is to keep customers up to date with company news, products or service updates, relevant information about their accounts, or to send them notifications for
 
Overview of Servlets and JSP
Servlets are Java technology's answer to CGI programming. They are programs that run on a Web server and build Web pages. Building Web pages on the fly is useful (and commonly done) for a number of reasons.
 
Servlets and JavaServer Pages (JSP) : A Tutorial
An excellent tutorial on JSP and Servlets.
 
Introduction to the Solaris Development Environment
Take advantage of the numerous interfaces, frameworks, and tools for the Solaris OS. This new book provides an overview of the Solaris OS with abstracts of key manuals for Solaris developers and links to sources of detailed information.
 
Java Technology Fundamentals
Learn how to use variable arguments lists, the new JConsole utility to monitor applications, and discover ways to learn what you need to know to get Sun certified.
 
Welcome to Java Developers paradise!
Welcome to Java Developers paradise! T his site contains many quality Java, JSP, RMI, MySQL downloads, tutorials, source codes and links to other java resources. We have large number of links to the tutorials on java which will help you learn java
 
Bioinformatics Tutorials, Links, Programs
Bioinformatics Tutorials, Links, Programs Bioinformatics Tutorials Dedicated website to Bioinformatics containing Bioinformatic Tools, Online Resource, Links to Bioinformatic Resources and Tutorials. Here you will find a lot of tutorials and
 
Roadmap to Sun Developer Documentation
This article offers an array of information sources about Sun products for developers, particularly those on docs.sun.com. Topics include the Solaris Operating System, Sun Studio tools, and other products and technologies.
 
Sun Studio 10 Documentation Online
Full documentation for the Sun Studio 10 compilers and tools is now available on the Sun Developer's Portal.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.