Implement book services and DAOs in business tier. Add new folders /services and /dao to the project root. The modules will be written in node js, one service and 3 DAO. The objective is to provide a means to query the Mongo DB from a client REST/AJAX call. The DAO design pattern is used to implement the business tier. The MVC design pattern is used to implement the presentation tier. All data will be returned in JSON format. See article: http://howtodoinjava.com/frameworks/spring/spring-mvc/spring-mvc-hello-world-example/. For project design for this issue see below.
Implement book services and DAOs in business tier. Add new folders /services and /dao to the project root. The modules will be written in node js, one service and 3 DAO. The objective is to provide a means to query the Mongo DB from a client REST/AJAX call. The DAO design pattern is used to implement the business tier. The MVC design pattern is used to implement the presentation tier. All data will be returned in JSON format. See article: http://howtodoinjava.com/frameworks/spring/spring-mvc/spring-mvc-hello-world-example/. For project design for this issue see below.