Skip to content

Assignment Web Store with JDBC, MVC and 3-layer architecture

Notifications You must be signed in to change notification settings

nkey-ops/assignment-web-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Requirements

Lab in Java enterprise In this lab, you will make a first webshop, using a Java application that via JDBC has access to a database and has JSP as an interface to the users. This, of course, in a three-layer architecture.

Grade 3

● Shopping basket
● User identification
● Ability to put items in the basket and look in it.
● The solution must have a 3-layer architecture.

Grade 4

● You must be able to send orders that must be within a transaction.
● User management must be developed so that you can administer them. Different authorization classes must also be introduced. (customer, admin, warehouse staff)
● A good 3 layer structure must be clear.

Grade 5

● Here we will write part of the administrative part of the system, which can be implemented both as HTML or a regular graphical interface.
● You must be able to add and edit goods and goods categories.
● Warehouse staff must be able to look at orders and 'pack' them.
● Of course, for these things you have to have authorization.
● You must also implement an MVC structure in combination with the 3-layer architecture.

Login page

Where the user can be logged in as a client, warehouse staff, or admin. Login Page

Client: Products List

A client can see available stock in the store its quantity and price per unit. A Client also can add the product to the cart. Client Products List

Client: Cart of products

This page allows the client to see the products added to the cart, their amount and the total price of certain products as well as the price for the whole cart. After paying for the cart the order will be created for these products. Client Cart Products List

Client: Orders List.

Here a client can see the status of the created orders and their price. Client Orders List

Warehouse Staff: Orders

If the user is logged in as a warehouse staff he/she can prepare the package for sending. After that, the order status will be changed from "Pending" to "Sent". Warehouse Staff Orders List

Admin: Products List

When the user is logged in as an admin he/she will have more abilities over the client or warehouse staff.
An admin can add new products and edit old ones. The status of the product is also visible, if the product is available it will have an "ACTIVE" status if it was bought "SOLD". Admin Products List

Admin: Orders List

Here an admin can see the status of all the orders whether it was "Sent" or it is still "Pending", the buyer's account name, and if the order was sent, the name of the warehouse staff who packaged it. Admin Orders List

Admin: Users List

Admin can see all the users that are logged in, their ID, name, and type of account, and edit it. Admin Users List

Admin: Product Form

The ability to create new products and categories is also provided to an admin. Admin Product Form

Admin: Edit Product Form

Already created product can be edited by an admin. Admin Edit Product Form

About

Assignment Web Store with JDBC, MVC and 3-layer architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages