Hacker News new | ask | show | jobs
Migrating Struts2 webapp to Angular5/6
1 points by vaibhav228 2970 days ago
Hello All,

We have legacy front end built with Struts-2 and JSP's connecting to rest back end api. We are planning on migrating the front end to Angular.

It's a huge enterprise application with ongoing enhancements. We thought of rewriting it from scratch, but the amount of work it will take to rewrite and with current going enhancements, it will be too much to chew.

As Angular and struts have entirely different way of writing applications, is there a way or anyone ever tried gradually doing it by changing small pieces of functionality as components and can support both at the same time, till the app in a state to remove struts completely.

I mean one page built with angular and when we submit we should be able to redirect to struts actions with data preserved for next flow in the application.