Reputation: 19
I'm trying to implement the layers of a web application, so I wanted to ask you if you can suggest me a tutorial or any advice about how to design and build the Data Access Layer and the Service Layer
Upvotes: 1
Views: 3131
Reputation: 106
The general way I have seen this structured in the traditional Java EE way is as follows:
This is a nice tutorial that goes over a lot of my bullet points: https://www.javacodegeeks.com/2012/09/spring-dao-and-service-layer.html. It includes tests as well which are something you want to incorporate sooner rather than later in your development process.
Upvotes: 3