Vous êtes sur la page 1sur 5

Dipti Mohapatra

Apr 12 (

to me The assignment is about Employee Information. You have to create a table of employee with the following columns EMPKY EMPFNAME EMPLNAME EMPPHONE EMPADDRESS EMPDESIG EMPJOINDATE UPDATEUSER UPDATEDTTM VERSIONSTAMP Components you need to Create: 1) Data Access Objects for accessing/creating Employee Records 2) Value Object for Employee having getter/setter methods for the Employee Fields. 3) Business Objects with minimum of the following public static methods in it. create() modify() delete() get() 4) For UI as per struts (MVC) architecture: jsps for each of the flow according to TOM Standards, details of which are below. Action Class for each action performed in the UI. Form class for Employee. The functional flow should be: 1) The First Screen will be showing the List of all Employees in the database. This page will contains Employee First Name, Last Name and Phone Number. Also, there will be link to create a new employee and Clicking on the First Name could modify existing employee. 2) On clicking the Create New Employee link, a data entry page should be appearing to capture the employee details. This Page should have two buttons such as Cancel and Preview Employee. 3) Clicking on the Cancel button will take user to the List Page i.e. first page. 4) Clicking on the Preview Employee will show the data entered in the noneditable format. On this page user should have the option to Cancel, Edit Employee OR Save Employee. Cancel will take the user to list page. Edit Employee will take

user to the previous page i.e. data entry page with entered data in respective fields. Save Employee will actually save the Employee in the database in respective table. 5) Another flow is of modify. Clicking on the first name of an employee on the List Page, user can modify the employee record. On clicking the first name a page should come with the entire employee details are properly filled in. On this page user can modify the data. User can have the options to Cancel or Preview Employee. 6) Clicking on Cancel button user will get the List Page. 7) Clicking on the Preview Employee button user will get the page which is having edited details of an employee in non-editable form. This page is again having the option to Cancel, Edit Employee OR Save Employee. Cancel will take the user to list page. Edit Employee will take user to the previous page i.e. data entry page with entered data in respective fields. Save Employee will actually save the Modified Employee in the database in respective table.

Screen Shots of the Employee Assignment List Page

Create Employee Screen

Preview Create Employee Screen

Modify Employee Screen After Clicking on the Harish on the List Page

Preview Modify Employee Screen

Vous aimerez peut-être aussi