How can I integrate a Durandal single-page application with a Java backend using Eclipse?

I have developed an initial Durandal prototype, and now I need to incorporate backend functionality. I was advised to use Java for this purpose. However, I am facing difficulties since Durandal and Eclipse follow very different project structures. Is it practical to import the Durandal app into Eclipse, or should I consider alternative integration methods? I would appreciate any advice on the most efficient way to merge these frameworks.

hey, i liked reading the posts. have you thought about using an api bridging layer to connect your front end and backend? working thru a seperated api might simplify integration. what has been your experience so far?

Based on personal experience, it is often more effective to treat your Durandal application as a static resource served by your Java backend rather than trying to force it into Eclipse’s Java project structure. In our previous project, we maintained separate codebases for the front end and the Java backend, synchronizing them at build time using Maven. This approach allowed the Durandal application to be developed independently while the backend served it from a designated static folder, reducing complexity during development and deployment. This separation of concerns can lead to a cleaner and more maintainable architecture.

hey, i think its best to keep them seperate. serve the durandal app as static content while your java backend just handles api calls. merging them in eclipse often leads to messy builds and unneccessary complications. give this approach a try