Object Oriented Programming Assessment 2 Software Application Java Project
Blog Web Application
Assessment Weightage: 60%
Total Submissions: 2 (Submission 1 and Submission 2) Due Date:
Submission 1 - Week 7 (15%); Submission 2 - Week 12 (25% + 20%)
Problem Statement
The essence of this project is to develop a BLOG application. Due to time restraints, some of
the blog system requirements are kept simple. You need to develop a fully functional Blog system from scratch using Java modules (JSTL, Java Bean, Jscript and Servlets) and MySQL database.
The blog application maintains the blogs of one blogger only. There are two main requirements of the application.
§ Blog portal: It displays all posts. The blog portal holds all posts (visible for all visitors) and any visitor can comment on the posts.
§ Admin console: It holds all the functionality of blog management. A registered user/admin can create / edit / delete posts.
Therefore, Blog application consists of three modules of the web-based system:
1. Login (Only for Submission 1 – There is no requirement to integrate it with submission 2)
2. Blog portal
3. Admin Console
1. Login (Submission 1 – Week 7 only)
The login is simple user authentication to access admin console. An admin using the system
must be registered on the system with an appropriate Username/Password pair (assumption: For submission 1, assume one admin is already registered and data is in the database). The login screen looks like
2. Blog Portal
Following are the specifications of the blog portal, which will have open public access and user registration/login is not required.
The blog portal (BLOG table in database) holds all posts under specific categories (CATEGORY table in database). These posts will be visible to everyone.
§ Home Page
The home page must
• Display the menu with options like Home/Posts/Categories.
• Display the name of Blogger (static value) as the title of the Blog Home Page.
• Display the last 3 latest posts at the home page, ordered by date (most recent first from database from BLOG table) .
• When Home clicked, it displays the Blog Home Page.
• When Posts clicked, all posts should be displayed (from BLOG table in database).
• When Categories clicked, the list of categories and post under these categories are displayed (from CATEGORY and POST table in database).
A suggested Blog Home Page layout looks like
§ Individual Post
Individual post page displays the title of the post, the date of post created, content of the post (from BLOG table in the database) and category of the post (from CATEGORY table in the database),
Anyone can view the post listing and post details.
3. Admin Console
Following are the specifications of Admin console which is accessible to registered Admin only.
· Admin user (For make the application simpler, we assumed that the Admin can perform these tasks without authentication) should be able to view all posts, create new post/edit/delete the posts. A suggested admin console page looks like
· A post consists of a Title, Creation Date, Content (from BLOG table in the database) and Category (from CATEGORY table in the database)
· The blog categories manage collection of posts (Category ID and Category Name). For example, Databases, Networking, Information Systems, Programming, Emerging trends.
· An Admin able to perform Add/Edit/Delete on a post entry. For make the application simpler Admin can perform these tasks without authentication (without logging in with username and password)
· Create post page shows a form to enter the post details (Title, Creation Date, Category, Content). After the form submission, the post is created in the database.
· Edit post pages allows to edit the existing post details in a form.
· Deleting a post allows the post to be deleted after confirmation by the admin.