Workshop 01 AutomobileManagement
Workshop 01 AutomobileManagement
Introduction
Imagine you're an employee of an online car retailer named Automobile eStore.
Your manager has asked you to develop a Web application for automobile
management (CarID, CarName, Manufacturer, Price, and ReleasedYear). The
application has to support adding, viewing, modifying, and removing products. A
standardized usage action verbs better known as Create, Read, Update, Delete
(CRUD).
This workshop explores creating an application using Java Web Project. An SQL
Server Database will be created to persist the car's data that will be used for
reading and managing automobile data by JDBC
Objectives
In this workshop , you will be:
▪ Develop an Java Web Application by HTML , JSP and Servlet
▪ Perform CRUD actions using JDBC
▪ Create a SQL Server database named MyStock that has a Cars table.
▪ Use LINQ in Java to query and sort data (optional)
▪ Apply to validate data type for all fields.
▪ Run the project and test the Java Web Application actions.
1|Page
MyStock Database
2|Page
Click Edit link and display the result as the below figure, enter the values
on text fields then click Save to update the car.
Click Create New link and display the result as the below figure, enter the
values on text fields then click Save to add a new car.
3|Page
Click Delete link and display the result as the below figure. Click Delete
button to remove Car
4|Page