Java Reference
In-Depth Information
36. List<Book> books = bookDao.searchBooksByKeyword(keyWord);
37. for (Book book : books) {
38. System.out.println(book);
39. }
40. }
41. }
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.
 
Search WWH ::




Custom Search