So you are interested in Java Web MVC? If you’ve attended my lecture on Java Enterprise Web Frameworks, you can get the demos here on this website. There are two projects, both
created in the SpringSource Tool Suite. You can download the projects below, unzip them and then import them into your
They should also work in a standard Eclipse with the Spring IDE plugin.
Note: I added a third sample using Annotations. This sample performs the same work as the SpringBeerShop, only the Controller is completely implemented
using @Controller and @RequestMapping annotations..
- The old-fashioned Servlet-only Beer Shop project. (When deployed, goto http://localhost:8080/ServletBeerShop/index.html)
- The same Beer Shop, implemented in Spring Web MVC. (When deployed, goto http://localhost:8080/SpringBeerShop/index.html)
- Again the same Beer Shop, implemented with Annotations from Spring Web MVC. (When deployed, goto http://localhost:8080/SpringBeerShop/index.html)