0

I was wondering if it is possible to use Angular(2+) as the frontend, and use specifically Java EE Servlets as the Backend? If so, can the project be stored as a WAR file?

Thank you in advance.

1 Answers1

1

Yes it's possible wiht JEE servlets with angular2+ as a front end.

You can create the angular project using angular cli. Go through the following link,

[Connecting your Angular 2 App to your Java EE Backend][1]

For creating angular project you can

From the Eclipse menu, choose File>New>Dynamic Web Project; or right click in Project/Package Explorer and choose New>Dynamic Web Project.

Initialize using angular cli

Right-click the newly created project and select Show in>Terminal. and type ng init , after that you can run npm start and see running your application.

Sajeetharan
  • 216,225
  • 63
  • 350
  • 396