I am new to writing sites. Wrote the front in HTML, CSS, JS. In terms of back-end, I would like to use the Spring framework, since I am familiar with Java. I plan to send data from the controller to JSON and disassemble it at the front via JS. The questions are as follows:
- Did I choose the right technology (Spring and JSON)?
- Do I have any alternative options besides using JSP?
- Would it be more appropriate to use Spring MVC and send data through the Model? (This option is not much like, because the code is spoiled with jsp tags).
- In case of using the variant with JSON, is it correct to use AJAX?
- Does it make sense to generate JSP pages when using JSON? In this case, in fact, HTML remains unchanged.
Thank you in advance for the answers.