站内搜索: 请输入搜索关键词
当前页面: 图书首页 > JavaServer Pages, Second Edition

JavaServer Pages, Second Edition

[ directory ] Previous Section Next Section

6.6 Summary and Conclusions

A database is a collection of tables, and tables contain rows of data, organized into columns. Each column contains one attribute of the row. SQL is a common language that allows humans to communicate with databases, and the standard tag libraries make it relatively painless to use SQL from within pages. For many reasons, however, it is better to hide the SQL and other database information within beans.

Up to this point, Java News Today has been a somewhat uninteresting site, as there has been no way to add new stories or make users' preferences permanent. This will change in the next chapter, where JNT will move to a database and add editorial screens.

    [ directory ] Previous Section Next Section