This project will demo the techniques that would be used in our project. This version 1 will be just a general-purpose website (I call it bare version), it has a front-end and a back-end, the backend requires login. The documentation is in another project, it's just my personal learning notes.
java
Get the code git clone https://github.com/uniquejava/spring4_rest.git mysql
Open project in eclipse, the maven plugin should automatically download the required jars. jquery
Also you can open this project in IDEA but ensure you right click on the pom.xml and mark this project as a Maven project. git
Run script doc/sql/mysql.sql github
Deploy to Tomcat web
Open in browser: http://localhost:8080/rest/ spring
When you run this project in Eclipse, you may encounter below exceptions. sql
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet bootstrap
The solution is very simple, you just need to add the "Maven Dependency" in the Deployement Assembly spring-mvc
right click on your project and choose properties. click on Deployement Assembly. click add click on "Java Build Path Entries" select Maven Dependencies" click Finish.
That's it!! rebuild and deploy again
Bare version will be proactive and will demo/use the latest techniques if i am happy.
General version would be done if i have time.
Corporation version is for internal use and close source.
Bare:
General
Corporation:
Here is the environment I am working on.
However, this project is fully tested on Win7 + WAS8.5