A simple shopping cart application. This application can be used as a reference for an enterprise Java application.
- Spring framework for IoC
- Spring MVC with JSP and Tiles
- Spring data with Hibernate as JPA adaptor
- JQuery used for client side DOM and AJAX operations
- Underscore used for client side templating
- Maven as build tool
- Selenium for integration testing
- Logback for logging
Use the below maven command to start the tomcat server. You need JDK6 and Maven installed in your machine.
$ mvn clean install tomcat:run
By default maven tomcat plugin uses the port 8080. If you like to run in a different port then use below command.
$ mvn clean install tomcat:run -Dmaven.tomcat.port=9000
If the server started sucessfuly then you must be able to access the application using http://localhost:8080/quadcart-web/
Use the below command to run the selenium suite. Make sure the application is up and running before you run the suite.
$ mvn test -Pselenium
Too lazy to start the application ? Then see it in action here: quadcart.srid.in