Consuming a RESTful Java web service with AngularJS
Learn to consume RESTful Java web services using AngularJS. Understand how to make API calls from AngularJS applications to back-end Java services, enhancing the interactivity and functionality of your web applications with real-time data handling.
At a Glance
Explore how to access a simple RESTful web service and consume its resources with AngularJS in Open Liberty.
You will learn how to access a REST service and deserialize the returned JSON that contains a list of artists and their albums by using the high-level $resource service of AngularJS.
The REST service that provides the artists and albums resource was written for you in advance and responds with the artists.json.
You will implement an AngularJS client that consumes this JSON and displays its contents at the following URL: http://localhost:9080.
To learn more about REST services and how you can write them, see Creating a RESTful web service.
Created by
The Open Liberty Project team
There are no reviews yet.