The source code for the bookstore application should be found in the j2eetutorial/examples/src/web/bookstore1 directory (which is generated when unzipping the tutorial bundle).