Since this book provides sample code for all chapters, I want to know which shall be the best suitable Java EE compliant application server to run those samples?
Also, which database have been used as reference to run/execut DAO pattern and JPA examples ?
The code examples are presented in a package structure by chapter and in an IDE neutral way. You can therefore use any IDE that you like, first setting up a project and then importing or copy-and-pasting the code into your project. As far as database are concerned then any JPA database should be fine. I used MySQL.