34 CHAPTER 1: Introducing Java Web Development
- List
books = bookDao.searchBooksByKeyword(keyWord); - for (Book book : books) {
- System.out.println(book);
- }
- }
- }
Figure 1-20 illustrates the directory structure of the stand-alone application.
Figure 1-20. Directory structure of the stand-alone bookstore application
Running this application gives the following output:
In the next chapter, you will develop the web layer that will replace this client and that will call the
data access layer in the bookstore web application.