We have an application which is running with Spring 4, jsp, jquery. The application is running on port 8080 into tomcat container.
Now we want to introduce Angular 4 for the new modules. Is it possible without changing the existing functionalities?
We have an application which is running with Spring 4, jsp, jquery. The application is running on port 8080 into tomcat container.
Now we want to introduce Angular 4 for the new modules. Is it possible without changing the existing functionalities?
Yes, It will run. Create a new project using angular CLI. Once you did that give command ng build --prod. I will Give output inside of dist folder. Copy all files which available in dist and paste in java web application inside of the webapps folder.
To run the angular application it simply required one of the servers from the below list. 1. Apache Tomcat 2. GlassFish 3. python 4. Node server
The port doesn't matter here. you can access both UI and Service by using sameport.