For IT expert

profilepatricia6250
AssignmentJSF-practicaltest1.pdf

Page 1 of 3

Shinas College of Technology SULTANATE OF OMAN

INFORMATION TECHNOLOGY DEPARTMENT

Mini-Project for the Practical Test 2 Replacement

(To cover the outcomes by Self-reliant, Student Centered Learning Approach)

Level: B.Tech Specialization: Software Engineering

Course Code: ITSE 408 Course Name: Advanced Object Oriented Programming

Date of Issue: 18 March 2020 Date of Submission: 02 April 2020

Assignment Number and Title: Design and develop web app for Students Mark System using CC.

Group: 1

Instructions: 1. E-mail your assignment to [email protected]. No hardcopy, or softcopy from USB is accepted

for security purposes. 2. After sending your assignment, secure the copy of the sent mail (see Sent Items) as evidence until you get

the confirmation of receiving from your course lecturer. If you don’t get any confirmation in one (1) or two(2) days, send it again and follow-up personally.

3. No updated versions are accepted once the assignment is submitted. 4. Write your ID, Course Title, and Section in the Subject of your mail.

(Example: S01234_Advanced Object Oriented Programming_1) 5. Use only your college mail to send your work. Contact ETC in case you have a log-in problem. 6. Marks will be deducted for late submission. Twenty percent (20%) of assignment scored mark will be

reduced for each day of late submission. 7. Plagiarism is a crime. Plagiarism occurs when other’s work such as print material, images, audio-visual

creations, computer programs, electronic materials, etc. are used without appropriate acknowledgement and this can be checked by copying your work to any search engines.

Plagiarism includes, but not limited to the following:

 Copying full or part (paragraphs, sentences or significant part of a sentence) of other’s work directly

 Copying from other’s work with an end reference to the original source but without putting the copied text between quotation marks

 Paraphrasing, summarising, or rearranging words, phrases or ideas of other’s work

 Copy-Paste of statements from multiple sources (electronic or print material)

 Presenting work done in collaboration with others as independent work

 Using one’s own work presented previously

Disciplinary Action for Student Plagiarism (for ALL involved) is Zero mark.

To avoid plagiarism, you must give credit whenever you use: a. another person’s idea or theory; b. any piece of information which is not a common knowledge; and c. material from a website.

Page 2 of 3

A student who satisfactorily completes the assignment should be able to:

Learning Objective CLO Use managed beans in form handling and server-side presentation logic 2

Create composite UI fragments, custom converters, validators, and components. 4

Scenario-based Problem:

ShCT IT Department plan to give an idea to the students how to get good marks in the final exam.

Before the final exam, all teachers are expected to feed the course work mark with the midterm mark

which includes a total of 60 marks in this system. The system will calculate how many marks the student

should receive in the final exam to pass the subject out of 67. l

You are supposed to develop a JSF web application using a composite component for the above-stated

problem. Create a NetBeans project web application named “CourseMark”. This application should

collect input for Students Id, Course Name and the total mark for 60. Create the database table using

JavaDB and crab the structures which should be saved in the above-created folder.

 Create Composite Component(CC) file name with “Mark”, the folder name as “resources\Total” and

the prefix as “Course”.

 Define the interface with the attributes of the label and the value for student id, course name,

total mark and for command button label and action with method signature for add and select.

 Implement the interface and connect all the attributes.

 Use panelGrid tag to layout the UI components.

 Use outputText tag for all labeling the fields such as student id, course name, and total mark.

 Use inputText tag to get input for student id, course name, and total mark.

 Use two (2) different commandButton tag labels to do an action for add and select records.

 Create web application using Java Server Faces with the prepare composite component

<Course:Mark/> tag fill all requirements of the label and values;

 when add button pressed, insert the values to the database; and when select button clicked, select

and show all records with pass mark required on the datatable.

 Create managed bean with request scope, and prepare necessary getter, setter, constructor and other

methods.

Page 3 of 3

Rubrics:

No. Criteria Marks

1 Create Composite Component(CC) 1

2 Define the interface 3

3 Implement the interface 4

4 Create web application using Java Server Faces with the prepare composite component <Course:Mark/> tag

3

5 Create managed bean 2

6 Database Structure 1

7 Screenshots of the running system 1

Submission Details:

1. Full project source code with Database table grab structures and Screenshots of the running system

Sources of Information/References: 1. Pilgrim, Peter( 2015). Digital Java EE 7 Web Application Development, retrieved from

https://www.masader.om/eds/detail?db=e000xww&an=1076016&isbn=9781782176657 2. Anghel Leonard ( June 2014). Mastering JavaServer Faces 2.2, retrieved from:

https://ebookcentral.proquest.com/lib/momp/reader.action?docID=1674863 3. Anghel Leonard(June 2010). JSF 2.0 Cookbook, retrieved from:

https://ebookcentral.proquest.com/lib/momp/reader.action?docID=950550