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: workshops.adam-bien.com.


NEW online workshop: WebStandards Igniter (online)

Airport MUC workshops: Java EE 7: Bootstrap, Effective, Architectures, Web, React and Angular, Testing and Microservices

Podcast: airhacks.fm and newsletter: airhacks.news

A book about rethinking Java EE Patterns

Comments:

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.

thanks

Oliver

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 #

Hello, I have a question: in your maven project, how can I debug java file with the angular2 ? I mean: when user clicks a button in angular2, the program can stop at break point I set in Java.
How to make it in Netbeans or IntelliJ?

Posted by katrina on March 11, 2017 at 05:21 PM CET #

Hi Adam,

Very good explanation. Thanks for such a good video.

Posted by Ketan Bhavsar on March 25, 2017 at 06:35 PM CET #

I think the best IDE is Visual Studio Code.
It´s free and easy to use

Posted by Diogo Leite on April 13, 2017 at 09:23 AM CEST #

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