Hi All,
This is my first attempt at coming up with new architecture on my own so I am not sure if I am even going to
word this question correctly
I have used Spring MVC in an application that used controllers that returned ModelAndView objects with their responses. I am now wanting to try to write a Single Page Application using KendoUI on the front end, but still want to take advantage of Springs Security functionality.
I am getting confused around the fact that I can create the SPA with KendoUI and use the Kendo Router functionality so will not need the Spring MVC functionality of returning views. I really will need to serve up ta login page, then after authentication, serve up the home SPA page, then I plan to have the kendoUI code retrieve its data by hitting an external API and using the kendo Routers. I guess I need MVC because I do have those two different views to serve, but is Spring MVC overkill here?
Does this make sense as an architecture?
Browser Client request for my application url --> hit Spring MVC application and serve up login page --> user logs in --> authentication with spring --> serve KendoUI home page --> kendoUI functionality takes over from here to use routers to select client side pages, which will use http requests to load data from separate api.
Thank you for any advice!
Kim