logo

Design-based E-commerce System Implementation

   

Added on  2019-09-26

21 Pages958 Words347 Views
 | 
 | 
 | 
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
Design-based E-commerce System Implementation_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.
Design-based E-commerce System Implementation_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.
Design-based E-commerce System Implementation_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:
Design-based E-commerce System Implementation_4

Design-based E-commerce System Implementation_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.
Design-based E-commerce System Implementation_6

End of preview

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

Related Documents