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]
Security Examples https://github.com/cysun/cs5220-security.git [1]
I18N Examples https://github.com/cysun/cs5220-i18n.git [1]
File Upload and Download Examples https://github.com/cysun/cs5220-fileupload.git [1]
Email Examples https://github.com/cysun/cs5220-email.git [1]
Logging Examples https://github.com/cysun/cs5220-logging.git [1]
Full Text Search Examples https://github.com/cysun/cs5220-fts.git [1]
JavaScript and jQuery Examples https://github.com/cysun/cs5220-js.git [1]
Web Service Examples https://github.com/cysun/cs5220-ws.git [1]
RESTful Web Service and AJAX Examples https://github.com/cysun/cs5220-restws.git [1]
WebSocket Examples https://github.com/cysun/cs5220-websocket.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]
REST API Using Spring and Hibernate https://github.com/cysun/cs5220-springrest.git [1]
Spring REST Examples https://github.com/cysun/cs5220-springrest.git (the class-examples branch) [1]
Node.js Examples https://github.com/cysun/cs5220-nodejs-examples.git  
MongoDB and Mongoose Examples https://github.com/cysun/cs5220-mongodb-examples  
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 62702 times.