I need to convert a Struts app to Spring MVC using Spring Boot.
He want one application Core that can be called from two different Front Ends, one is with Angular and one with JSPs.
My idea is to build and app that retrieve data from a Soap service or a database with a central Controller (normal java class that expose methods), import the Jar of this App in two different Apps, one with a @RestController
that communicate with Angular, and one with a @Controller
that works with JSPs.
Now I know how to build a springboot app using rest services and Angular so that doesn't bother me. I'm worried about using Spring Boot with JSPs. I didn't know Struts and I've seen that it has a structure for create JSP pretty much handiling JSPs as layouts like "Header"
, "Footer"
and ecc.. now in Angular I do the same thing with the components and is way more efficient, but JSPs are old and i found that very intresting.
My question is now what is the best way to handle the other Front End (the one with JSPs) in a pretty efficient way? I never used JSPs with Spring and I've understood the basic configuration doing some excercise with some easy "HelloWorld"
apps.