Java and AngularJS 1.5x: Spring Boot tutorial
source link: https://marco.dev/2016/09/27/java-and-angularjs-1-5x-spring-boot-tutorial/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
java-version.com: What's new in Java 16? 15? Keep up to date!
Java and AngularJS 1.5x: Spring Boot tutorial
Few months ago I created a demo application with Java EE, Angular JS and MongoDB. The article is here: https://marco.dev/2016/03/14/openshift-angularjs-javaee-mongodb-css-mycv/
The result is visible here: myCv.host
I like a lot Angular 2 but I know that the market is still Angular 1.5x dominated. For this reason I will maintain and upgrade this demo, maybe using it to shows the differences between AngularJS and Angular 2.
I converted the example to be a simple auto deploy tomcat jar file. MongoDB has been replaced with H2. The Git Repository is here: https://github.com/marco76/myCv_spring
After ‘mvn package’ you can launch the application with this command: java –jar ./target/ROOT.jar
If you go to https://localhost:8080 you should see this:
The technical details will follow!
Author
Marco Molteni
Marco Molteni Blog
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK