reset password

Access CS5220 Code Examples

The code examples discussed during the lectures are available in Git repositories hosted on GitHub.

Examples Git Repository URL Notes
Servlet and JSP Review https://github.com/cysun/cs5220-review.git [1]
Pizzas (Short Servlet and JSP Review) https://github.com/cysun/cs5220-pizzas.git [1]
Build Examples https://github.com/cysun/cs5220-build.git [2]
Hibernate and JPA Examples https://github.com/cysun/cs5220-hibernate.git [1]
Spring Examples https://github.com/cysun/cs5220-spring.git [1]
Spring and Hibernate from Scratch https://github.com/cysun/cs5220-springmvc.git [1]
Spring MVC Examples https://github.com/cysun/cs5220-springmvc.git (the class-examples branch) [1]
Security Examples https://github.com/cysun/cs5220-security.git [1]
CSNS2 https://github.com/cysun/csns2.git [3]

Notes

1. To import the project into Eclipse, first clone the project into a local Git repository, then in Eclipse, use File -> Import ... -> Maven -> Existing Maven Projects to import the project into Eclipse.

2. Contain three separate examples, and require GNU Make, Ant, and Maven, respectively, to run each example.

3. Import the project into Eclipse as described in [1]. Copy build.properties.sample to build.properties, and modify the values in build.properties to match your local setup. Run src/main/scripts/csns-create.sqlto create the database, then src/main/scripts/csns-test-insert.sql to insert some test data. You can check out this video to see how to run CSNS2 using Eclipse.

This page has been viewed 58304 times.