Scheduler is a Database backed web application that allows students to search for available courses for a specific semester. It’s designed following the MVC approach. The back-end is done in Java and SQL, while the front end is completely done in html and css. Data is transmitted from and to the server in JSON format using Ajax through the jQuery library.
1. Presented by Jaime Moran CIS 4160 Spring 2010 Video at http://vimeo.com/11613029 Scheduler
2. Overview Database backed web application that allows students to search for available courses for a specific semester. Check the video demo at http://vimeo.com/11613029
3. MVC approach Model: Entity classes representing DB objects, Oracle DB View: JSP, HTML, CSS, Ajax Controller: Java Servlets The purpose is to separate the business logic from the presentation layer So it’s easy to make changes
5. Admin User Authentication Real time input validation using Ajax Servlet grabs user data from the DB and matches it with user input If there’s a match an HttpSession Object is created and access to the admin area is granted
6. Admin AreaUpdating Semester Info Highly interactive thanks to Ajax request and JavaScript Calendar is part of the jQuery UI library When the information is updated the servlet updates records in the database
7. Two Search Modes Simple (+) Switches to advanced search Suggestions lists are activated for many form fields Advanced (-) Switches back to simple search
8. Search Results The Servlet receives a search request and grabs data from the DB using Java and SQL. The results are sent in JSON format and Displayed in the webpage All of this happens in the same page because of the use of Ajax. Similar to Facebook (web 2.0) interactivity.
9. Course Details From the results the user can check any course The same underlying principle repeats: A servlet gets the request from the form, queries the DB and sends the results back in JSON format No page loads are necessary to get new data. This makes the application feel smoother.