In this screencast I created Java EE 7 application with installed CORS filter and exposed an array of Dukes as JSON.
Finally, I created Angular 2 app and used HttpModule to access the backend service. The output was rendered as HTML list.
Interesting: I used Dependency Injection in Angular 2, but there was no need for DI on the server :-).
Interested in Angular 2, ReactJS or Java EE? Checkout: workshops.adam-bien.com.
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.