Introduction This is an e-commerce web application built using Java Servlets and Hibernate. The application allows users to browse, search, and purchase products from an online store. It includes features such as user authentication, shopping cart management, and order processing.
User Authentication: Users can register, log in, and manage their profiles. Product Catalog: Browse and search for products by category or name. Shopping Cart: Add products to the cart, update quantities, and proceed to checkout. Order Processing: Complete the purchase with address and payment details.
Java Servlets
Hibernate ORM
MySQL Database
HTML, CSS, and JavaScript
Apache Tomcat (or any other servlet container)
Clone the Repository
git clone https://github.com/YourUsername/ecommerce-webapp-hibernate-servlet.git
cd ecommerce-webapp-hibernate-servlet
Create a MySQL database and update the database configuration in src/main/resources/hibernate.cfg.xml. Build and Run
Build the project using your favorite Java build tool (e.g., Maven or Gradle). Deploy the application to a servlet container (e.g., Apache Tomcat).
Access the Application
Open a web browser and navigate to http://localhost:8080/ecommerce-webapp.
User Registration
Register as a new user using a valid email and password. Browsing Products
Browse the product catalog by category or search for specific products. Adding Products to Cart
Add products to your shopping cart and adjust quantities as needed. Checkout and Payment
Complete the purchase by providing shipping details and payment information.