Issue
I'd like to create a web application according to MVC pattern. It should use Servlets as controller. EJB as components of the J2EE framework to implement the application login but instead to use JSTL and EL as languages to show datas on the views, I'd like to use AngularJS. Do you think it is a possible thing and most important a really convenient way to program?
Solution
Yes, it is totally possible, you will write your html templates with angular, and then use the Servlets to return Json objects. See these tutorials for instance :
- http://www.radcortez.com/?s=angular
- https://javatutorial.net/how-to-build-single-page-application-with-java-ee-and-angular
Edit: fixing links that became broken
Answered By - Jako
Answer Checked By - Mary Flores (JavaFixing Volunteer)