cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 with Angular

Former Member
0 Kudos

We ll building a SAP application with SAP NWDS with java as Back-end and we ll integrate an external Angular 2 project into NWDS for the Front-end and binding the information. Is it possible?

I did not find too much information regarding to this topic.

Accepted Solutions (0)

Answers (2)

Answers (2)

geraldfletche
Advisor
Advisor

Hi Mario,

Iv done a quick search on using Angular with SAPUI5 and i found this tutorial on SAP's website.

https://www.sap.com/developer/tutorials/angular-getting-started.html

I hope this helps you in your development.

Thanks and best regards,

Gerald Fletcher

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mario,

As far as I am concerned, NWDS is an Eclipse based development tool targeted to Java applications that will be deployed onto a Netweaver Java System. This type of system will support any server side apps based on J2EE standards. It means you have a wide range of libraries available to build your Java backend - including any Odata/REST (recommended for usage with Angular2) libraries like OLingo. For the front-end application, the deployment can also be done as a stanadrd J2EE web application (just like in the old days of JSP). Since Angular2 apps are based on HTML5, CSS, JavaScript/TypeScript, etc, they can be treated as a web app as well. In fact, you could basically use any Angular2 tutorials out there and replace the Tomcat server with the Netweaver Java Server. Pay attention to the supported Java version though as many older versions of Netweaver servers only support older versions. Other than that - it is pretty simple straightforward stuff.

If this is the case, I would recommend deploying the Angular2 on Netweaver as a resource based web app so you could "share" the library across any applications you develop on Angular2 (bootstrapping).

I don't think it would be possible to mix SAPUI5 and Angular2 in the same application as they rely on different technologies - mainly because of typescript. There might be conflicting script definitions (from both sides) and your app could behave weirdly. Not to mention the CSS, etc. Since both SAPUI5 and Angular2 are front-end technologies, your choice should be one of them only and stick with it.

Regards,
Ivan