Hello all,

I currently have a Spring (3.1) MVC web app, that currently uses Apache Tiles 2.x, JQuery/Wijmo along with MongoDB. I'm using "fragments" and ajax to make the app work like a single page webapp.

My app is getting quite large and the Javascript feels like its about to really get out of hand with regards to organization, and implementation. What I mean by implementation is that since the code is starting to get out of hand, I think its causing issues within the application as to when certain JQuery/Wijmo widgets get drawn.

I've started to look at various javascript frameworks to help me get a handle on this. So far, I'm looking at ember.js. Has anyone integrated ember.js or similar into a Spring MVC app? I'm not quite sure how to add ember.js. Is there a better way to accomplish organization and structure of client code? What are people using? Should I use ember or something else?

Thanks in advance,
John