You are on page 1of 2

Series & Parallel Calls in Angular

----------------------------------
- Executing network calls "one by one" called as series calls.

- Executing network calls paralley called as Parallel Calls.

- to make parallel calls we need "Observable" class present in "rxjs-compat"


package.

- we will download above library by using "yarn" tool.

> yarn add rxjs-compat --save

Java Integration
----------------
- "EmployeeDetailRestResource" is the java webservices project.

- "EmployeeDetailRestResource" project will be deployed into "Tomcat" Server.

- This project gives the "XML" as Response.

- below url representing rest api url of java application

URL : http://localhost:9090/EmployeeDetailRestResource/api/empService/getAll

dot net Integration


-------------------
- "MyFirstWebAPIService" is the dotnet web api application.

- we will deploy "MyFirstWebAPIService" application in "IIS" Server.

- below URL representing rest api url of dotnet web api application.

URL : http://localhost:14741/api/Home

- above URL gives the xml as response.

to execute java application we need following softwares


-------------------------------------------------------

1) Tomcat

2) Ecilipse

3) jdk

4) "EmployeeDetailRestResource" project build

to execute dotnet application we need following softwares


---------------------------------------------------------

1) VisualStudio 2015

2) "MyFirstWebAPIService" Project Build


*******************************************************
seriesAndParallelCallsEx
src
app
services
java.service.ts
dotnet.service.ts
components
series.component.ts
series.component.html

parallel.component.ts
parallel.component.html
app.module.ts
index.html
**********************************************************

You might also like