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.
● Shopping basket
● User identification
● Ability to put items in the basket and look in it.
● The solution must have a 3-layer architecture.
● 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.
● 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.
Where the user can be logged in as a client, warehouse staff, or admin.
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.
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.
Here a client can see the status of the created orders and their price.
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".
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".
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 can see all the users that are logged in, their ID, name, and type of account, and edit it.
The ability to create new products and categories is also provided to an admin.