logo

Desklib Online Library for Study Material with Solved Assignments

21 Pages958 Words347 Views
   

Added on  2019-09-26

About This Document

Desklib is an online library for study material with solved assignments, essays, dissertations, and more. The content covers various subjects and courses, including coding, UML modeling, error handling, testing, and more. The use of Java and other OO languages is correct and efficient, and other technologies are appropriately selected. The code implementation is based on the use case diagram, and all errors are handled using try-catch blocks. The testing strategy used is unit testing. Screen shots are also provided for better understanding.

Desklib Online Library for Study Material with Solved Assignments

   Added on 2019-09-26

ShareRelated Documents
ContentsFit to the design...........................................................................................................................................2Use of dynamic UML modeling..................................................................................................................2Correct and efficient use of Java or other OO language..............................................................................2Good use and appropriate selection of other technologies...........................................................................2Coding of error handling.............................................................................................................................2Testing and testing strategy.........................................................................................................................2Screen Shots................................................................................................................................................2
Desklib Online Library for Study Material with Solved Assignments_1
Fit to the design The whole code implementation is done which is based on use case diagram which is provided inpart one document. According to use case diagram admin able to add any owner details and theiritems for bidding into database admin can also view all item details with link of their images andtheir owner details where admin can see which items are for auction and which are not.According to use case diagram the normal user able to view his/her personal details, he/she canalso view those items for which he fixes the bidding. The normal user can also able to see thenotification which is a message that is send by the admin to every bid winner. Normal user willlogin and then he/she able to see whether he wins or losses by checking his/her notifications andby checking the notification he/she able to make payment for bid item. If he/she losses then userwill not see the payment option otherwise when she/he won, he/she make payment for thatparticular won item.
Desklib Online Library for Study Material with Solved Assignments_2
Correct and efficient use of Java or other OO language I have used JSP page for form design. JSP is also used for user validation when user login usingindex.jsp page then user is validate by login.jsp page this page fetch the data from the databaseand validate user and determine either he/she is admin or normal user and redirect useraccordingly. I have also used some servlet classes that save the data from the jsp page todatabase and after saving the data user is redirected to JSP page directly from this code. Good use and appropriate selection of other technologies I have used JSP and SERVLET classes. I have created database in MySql. All tables are created this is the .sql script where you can see the all create table command.
Desklib Online Library for Study Material with Solved Assignments_3
Coding of error handling All the errors are handled using try catch block. This technique of error handling is called exception handling.Here are some code snippets for error handling:
Desklib Online Library for Study Material with Solved Assignments_4
Desklib Online Library for Study Material with Solved Assignments_5
In sql query through any error during its processing then it all handled by the catch block and thiserror details are stored in message variable that is later set to session attribute that is “Message” and the calling jsp page will use this variable to display the error to user.Connection.javaIf there is any error occur during connecting with database then these all errors also handled by catch block.
Desklib Online Library for Study Material with Solved Assignments_6

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Assignment On JSP & Servlet Technology
|18
|2498
|332

Design and Coding Techniques for a Web Application
|7
|1233
|97

Web Application And MongoDB Analysis Report
|16
|1108
|23