converting nodejs project into java spring mvc

I have a basic application project which is made in nodejs with backend and javascript etc in frontend.
I want to convert the backend into java spring mvc.
Looking for any ideas to start. Is there any standard way to do it ?
want to get rid of node.js

Rohit BajajAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

how does the front end communicate with the node back end at the moment?

I've done something similar where the front end was a javascript driven app talking to nodejs through http using request.js. It was at this point I simply changed the url it was requesting to be one from a SpringMVC backend which returns JSON.
Rohit BajajAuthor Commented:
My application also front end is in javascirpt and talks to nodejs through http using server.js.
Should make amendments in the same project or create a new java spring project from scratch and add files one after the other as different things come up
Rohit BajajAuthor Commented:
Also i found that my application uses libraries like codemirror .
Can this be integrated without node.js ?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

I'm not familiar with codemirror.

As for refactoring your project, I would ensure you have some tests in place first. You want to prove that by sending the a resquest produces the same response before and after refactoring.
i would keep it in the same project. Although its also acceptable to have a single project for the UI layer and a separate project consisting of the Spring controllers.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rohit BajajAuthor Commented:
Thanks that helps.
Also can u let me know if there are standard ways i can create those tests. My application is a very simple application which just takes some code reformats it and put it into db
If you are able to do so then write some unit tests.
I would also put some acceptance tests in using something like JBehave or Cucumber.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.