O'Reilly logo

JavaServer Pages™, Second Edition by Larne Pekowsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required