I am developing an e-commerce application using Spring and AngularJS with handful experience in Spring while I am new to this AngularJS world. This application will have only web version but there will be mobile version after the deployment of web app.
Currently, I am designing my system and during my research I found some of sites including Spring Blog are suggesting to create separate client side and server side application for AngularJS and Spring respectively. As server side deployment takes time it will be advantage but the disadvantage is, it requires extra effort and time while maintaining both the project for the same application.
- Is it good idea to have separate project for client side and server side for the same application?
- Also, there will be no JSP page if we separate the project, is it good idea to replace the JSP by html and connect to server via http (Spring Rest)?
- Can we take advantages of spring features like spring security if we separate the project?
EDIT
- Is is good idea to consider Angular 2 instead of AngularJS for this application?