VO's + DAO's implementation or only Entity model [ With Pojo's and entitymanager ]
I am designing a web application where i need to consider between below two approaches, Any help in suggesting which one is better for a scalable application.
Approach 1: Using VO's [Pojo layer] ---> DAO's[Data access layer] ----> service layer
Approach2: Using Entity model [ Pojos and Data access layer are merged into a single layer] ----> Service layer
In this approach i use entitymanager and annotations
Thanks in advance,