Professional Documents
Culture Documents
Online Retail Application System Using Java
Online Retail Application System Using Java
1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICATE
This is to certify that Group Copy Roll No.38,39,51,56 of Fourth Semester of Diploma in
Computer Engineering of Institute Government Polytechnic, Jalgaon (0018) has
completed the Micro Project satisfactorily in the Subject JPR ( 22414)for the Academic Year
2023-24 as prescribed in the curriculum.
2
WEEKLY WORK REPORT
SR.
WEEK ACTIVITY PERFORMED DATE SIGN OF
NO. GUIDE
1 Discussion and finalization of Topic
1st
2 Preparation and Submission of Abstract
2nd
3 Literature Review
3rd
4 Collection of Data
4th
5 Collection of Data
5th
6 Discussion and Outline of Content
6th
7 Formulation of Content
7th
8 Editing and Proof Reading of Content
8th
9 Compilation of Report and Presentation
9th
10 Seminar
10th
11 Viva Voce
11th
12 Final Submission of Micro Project
12th
3
EVALUATION SHEET FOR MICRO PROJECT
(Academic Year: 2023-24)
Name of the Student: . (Group copy) -Roll No: 38,39,51,56
Course: Java Programming CourseCode:(22414)
Title of the Project: Online Retail Application System
Cos addressed by Micro Project:
a) To provide the knowledge of basic online retail store and their implementations.
b) To understand importance of java programming language
4
INDEX
1 Introduction
2 Purpose
3 Advantages
4 Code
5 Output
6 Conclusion
7 Reference
5
Introduction
6
Purpose:
The Online Retail Application System, developed in Java, serves as a versatile and
robust solution with the primary purpose of revolutionizing the landscape of online
retail. This innovative program is designed to empower businesses by facilitating
the creation and management of digital storefronts, allowing merchants to showcase
their products globally. Through intuitive interfaces and streamlined processes, the
system ensures a seamless and secure online shopping experience for customers.
Key functionalities encompass efficient product catalog management, secure
transaction processing, and responsive design catering to various devices. The
program prioritizes security with multi-level authentication, safeguarding sensitive
information during transactions. With features such as order processing, tracking,
and payment integration, the system aims to enhance operational efficiency for
merchants while adapting to the evolving demands of the digital marketplace.
Overall, the purpose of the Online Retail Application System is to provide a
comprehensive, secure, and user-friendly platform that optimally caters to the needs
of both merchants and customers in the dynamic realm of online commerce.
ADVANTAGES:
The provided Java program, "RetailShop," serves as a simple yet functional online
retail application with a focus on grocery, electronic, and furniture products.
Despite its straightforward structure, the program offers several advantages:
2. Product Information: Detailed product lists within each category offer users
information about available items, including their prices, enhancing the shopping
experience.
6. Looping Menu: The program features a continuous loop that allows users to
make multiple selections without restarting the application, contributing to a
seamless and user-friendly shopping process.
7. Graceful Exit: The option to exit gracefully with a thank-you message enhances
user satisfaction and signifies the end of the shopping session.
8. Efficient Price Assignment: The program efficiently assigns prices based on the
selected product and category, streamlining the calculation process.
8
CODE:
Import java.util.*;
While (true) {
Int choice;
System.out.println(“\nSelect a section:”);
System.out.println(“1. Grocery”);
System.out.println(“2. Electronic”);
System.out.println(“3. Furniture”);
System.out.println(“4. Exit”);
System.out.println(“Enter your choice: “);
Choice = scanner.nextInt();
If (choice == 4) {
System.out.println(“Thank you for shopping. Visit again!”);
Break;
}
10
Break;
Default:
System.out.println(“Invalid choice. Please try again.”);
Continue;
}
Int numItems;
System.out.println(“Enter the number of items you want to purchase: “);
numItems = scanner.nextInt();
double price;
switch (choice) {
case 1:
switch (productNumber) {
case 1:
price = 50;
break;
case 2:
price = 10;
break;
case 3:
price = 100;
break;
case 4:
price = 30;
break;
11
case 5:
price = 25;
break;
case 6:
price = 40;
break;
case 7:
price = 120;
break;
case 8:
price = 10;
break;
case 9:
price = 20;
break;
case 10:
price = 150;
break;
default:
System.out.println(“Invalid product number. Skipping.”);
Continue;
}
Break;
Case 2:
Switch (productNumber) {
Case 1:
Price = 30000;
Break;
Case 2:
Price = 25000;
Break;
Case 3:
Price = 1500;
12
Break;
Case 4:
Price = 35000;
Break;
Case 5:
Price = 12000;
Break;
Case 6:
Price = 15000;
Break;
Case 7:
Price = 18000;
Break;
Default:
System.out.println(“Invalid product number. Skipping.”);
Continue;
}
Break;
Case 3:
Switch (productNumber) {
Case 1:
Price = 2000;
Break;
Case 2:
Price = 5000;
Break;
Case 3:
Price = 3000;
Break;
Case 4:
Price = 6000;
Break;
Case 5:
13
Price = 1000;
Break;
Case 6:
Price = 1500;
Break;
Default:
System.out.println(“Invalid product number. Skipping.”);
Continue;
}
Break;
Default:
System.out.println(“Invalid choice. Please try again.”);
Continue;
}
totalPrice += price;
}
System.out.println(“__________________________________________________
_________”);
System.out.printf(“Total amount (including 5%% tax): Rs. %.2f%n”,
totalAmount);
System.out.println(“__________________________________________________
_________”);
System.out.println(“Thankyou for Shopping!! Visit again!!..”);
System.out.println(“__________________________________________________
_________”);
}
14
Scanner.close();
}
}
Output:
15
16
Conclusion:
The "RetailShop" Java program introduces a basic but functional Online Retail
Application System with features tailored for grocery, electronic, and furniture
products. Its strengths lie in a user-friendly interface, dynamic pricing, and a
modular design, enabling easy expansion. The inclusion of tax calculations, a
looping menu, and a graceful exit adds to its usability. While this program serves
as a foundational prototype, its simplicity allows for potential enhancements, such
as user authentication and secure transactions, to meet the evolving needs of online
retail. Overall, the "RetailShop" program offers a glimpse into the possibilities of
creating a more comprehensive and adaptable online retail solution in Java.
Top of Form
Reference:
1) www.google.com
2) Nirali Java Programming MSBTE - Mahesh Gurunani
3) https://watsonite.com/case_studies/online-retail-store-using-java/
17