Chapter 7. Java News Today: Part 2
Finally, after all the preliminaries and the read-only site of Chapter 5, Java News Today is ready to start providing some content! Doing so has not been possible until now because there was no good place to store this content. It would not make sense to have to write a brand new JavaServer Page or manually update the beans used in Chapter 5 each time a new story was published. What is needed is a JSP that will allow a reporter to write a new story as easily as a user can read one. Databases, as covered in Chapter 6, provide the means to build such functionality.
Designing the Tables
As a data model was already developed in Chapter 5, the simplest plan of attack would be to turn this model into SQL and create the ...
Get JavaServer Pages™, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.