In fact, you can introduce nodejs as the middle layer to process the data of java restful api. Angular is a single page framework and is not SEO friendly. React's style is more troublesome to write. In this way, you can handle various processes at the node level, such as template rendering, and the effect of handlebars is the same as angular's {{ }}.
What the Java team needs is to build RestFul api and use Json seat as a carrier for front-end and back-end communication. Many Java frameworks can be easily implemented. For example, SpringMVC, PlayFramework, Spark (not the Apache Spark used for big data), Jfinal, etc. Of course, these are what Java programmers need to care about, and they are not what you have to do. You just need to get this data through ajax. You still write html the same way you used to write it. Add at most a few lines of jsp code and change the file suffix from html to jsp. Be sure not to let Java programmers do Server Side Rendering. Java only provides data, not pages. As for Reacts or Angular or other frameworks, go to Zhihu or search on this site to see other people’s opinions. Take advantage of VueJs.
In fact, you can introduce nodejs as the middle layer to process the data of java restful api. Angular is a single page framework and is not SEO friendly. React's style is more troublesome to write. In this way, you can handle various processes at the node level, such as template rendering, and the effect of handlebars is the same as angular's {{ }}.
What the Java team needs is to build RestFul api and use Json seat as a carrier for front-end and back-end communication.
Many Java frameworks can be easily implemented. For example, SpringMVC, PlayFramework, Spark (not the Apache Spark used for big data), Jfinal, etc. Of course, these are what Java programmers need to care about, and they are not what you have to do. You just need to get this data through ajax. You still write html the same way you used to write it. Add at most a few lines of jsp code and change the file suffix from html to jsp.
Be sure not to let Java programmers do Server Side Rendering. Java only provides data, not pages.
As for Reacts or Angular or other frameworks, go to Zhihu or search on this site to see other people’s opinions. Take advantage of VueJs.
Use 3 artifacts
SSH
, and then do what you need to do with the front end