Adam Bien's Weblog

Building An Angular 2 Application With Java EE 7 Backend

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 :-).

Are you searching for a minimalistic library? Checkout the: "Building A React App With Java EE Backend" screencast.

Interested in Angular 2, ReactJS or Java EE? Checkout:

NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


You don't show how the angular 2 page changes after you get the JSON from the server.

Posted by Andrea on September 27, 2016 at 01:13 PM CEST #

Hi Adam,
nice Video! But at the end you forgot to show the outcome of the angular app. You onyl showed the outcome of the backend service (worked from the beginning).
But I got the idea. :)

Looking forward for more videos.



Posted by Oliver on September 27, 2016 at 01:14 PM CEST #

The code in the angular2 class doesn't compile. The 'r' has an error.

Posted by Pablo on September 28, 2016 at 03:49 AM CEST #

What IDE do you use or recommand für Angualr2!

Posted by Michael on November 22, 2016 at 05:03 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments