7.6 Summary and Conclusions
We now have a full working version of the Java News Today site. As with any site, more could always be done. The keywords could also be used for an internal search engine. To do this, one page would list all available keywords in a form, and these would be used in a where clause to select all articles possessing that keyword.
Similarly, more functionality could be added to the editing features. At some point, reporters will probably want to be able to make changes to old articles. This could be easily accomplished by slightly modifying the article creation page to retrieve the article based on ID, populate the form with the current values, and then send it to a page that does an update. The ability to delete articles could be handled similarly.
There is also no page where a new reporter, section, or keyword can be added. These pages would also be straightforward, but because these things happen infrequently, it is not too much of a burden to require them to be done by issuing SQL commands directly to the database.
No doubt hundreds of other additions could be made to this basic setup, but that will always be true. A Web site should always be considered a work in progress, and JSPs make it easy to add new features or pages continually. Readers are encouraged to experiment with the site code provided on the CD-ROM.
 |