Ember over struts


#1

I am newbie to ember.how does Ember MVC model replaces struts. i am confused about api call from client side.If any one explains me clearly ?


#2

You still need to use struts on the server (if you must, there’s far better frameworks available, e.g. https://jersey.java.net/) and then you use ember on the client. To integrate with the server you’ll need to use ember-data, this has a set of json conventions/calls which you’ll need to implement, take a look at http://emberjs.com/guides/models/connecting-to-an-http-server/.