Reputation: 169
I am new to the angularJS.Earlier we were developing our web application with the gwt at client side. Now we decided to move to AngularJS from GWT because our application speed have became slow and also because of some of the awesome features of AngularJS. I have gone through the documents and did some practice about basic AngularJS.
In GWT, We used GWT-RPC mechanism to communicate with the server, but i could not be able to get mechanism that i have to communicate with the server in AngularJS. Please let me know procedure to deal with server to get, put, delete etc..data in AngularJS.
If possible please give me a link to get the sample project.
Any Suggestions would be great.
Upvotes: 0
Views: 2080
Reputation: 541
Nice article on how to leverage AngularJS with Google Cloud Platform and, in particular, Google Cloud Endpoints
AngularJS + Cloud Endpoints: A Recipe for Building Modern Web Applications
Upvotes: 2
Reputation: 4876
you can use one of the three alternatives below
You have to use $resource to make a RESTFULL communication with the server thats the prefered way in angularJS
you can get started with this
as you are from java background i suggest you to see AngularJS Example Using a Java RESTful Web Service
$http service
is a core Angular service that facilitates communication with the remote HTTP servers via the browser's XMLHttpRequest object or via JSONP.
Restangular
is an AngularJS service that simplifies common GET, DELETE, and UPDATE requests with a minimum of client code. It's a perfect fit for any WebApp that consumes data from a RESTful API.
Upvotes: 3