Starting lab about Spring Data
I created my personal server at home, it’s a tomcat server v9.0, and I’ve configure my router to make it public, so you can see my application running on live, click FitnessTracker, please visit my portfolio to see more java projects or other labs involving other technologies.
If you watch my code, you could see how the architecture of this MVC technology is well implemented, i mean, there are the files that represent models (my files that makes identify the entitys, activity.java, exercise.java and goal.java), the views (my JSP pages) and the controllers (files that handle the mapping request, GoalController.java, MinutesController.java).
There is also other configurations, like my POM file, where i identify my dependencies, so my maven project help me automatically download some jars that are necessary to run the application. My web.xml file, where i set what is the servlet configuration file to use and what kind of URL extentions should handle my FitnessTracker application.
There is also my servlet-config.xml file, where i put some beans, with those beans i identify where are my JSP files located, or my messages properties files , or interceptors (the one that help me change the language on any single jsp page), or where are my packages located (my java files), etc.
In this tutorial, i’m not using a database, but i’m planning to use it on other labs that are coming soon.
I just got an idea, well, not just one idea but instead many ideas, now i want to share with you my old realizations.
Please check my portfolio! new jobs are coming specially Java projects, stay tuned.