How to solve “Dynamic Web Module 3.1 requires Java 1.7 or newer” in Eclipse

what is the difference between DAO layer and service layer?

java Generics