Final Microproject Java
Final Microproject Java
Java Programming
By
“Manas Patil”
“Shravni Patil”
“Sudeep Patil”
“Rohan Rajage”
ROLL NO:-45,46,47,48
ENROLLMEN
NO:-
23112120333,
23112120334,
23112120335,
23112120336
SUBJECT INCHARGE
Mrs. Smita Kuldiwar
Computer Engineering Department
“Manas Patil”
“Shravni Patil”
“Sudeep Patil”
“Rohan Rajage”
is submitted for
“Java Programming”
for the diploma in Computer Engineering to the
of micro-project
Java Programming
By
Shravni 23112120334
46 Patil
Sudeep 23112120335
47 Patil
Rohan 23112120336
48 Rajage
SUBJECT INCHARGE
Mrs. Smita Kuldiwar
Computer Engineering Department
Vision: -
To provide technically competent and skilled diploma computer engineers
to fulfill the needs of industry and society.
Mission: -
M1:- To provide industry oriented quality education and training.
M2:- To impart and inculcate theoretical and practical knowledge.
M3:- To provide interpersonal skills and social ethics.
COMPUTER ENGINEERING DEPARTMENT
PROGRAMME OUTCOMES
PO7: Life-long learning: Ability to analyze individual needs and engage in updating in the
context of technological changes
COMPUTER ENGINEERING DEPARTMENT
PROGRAMME EDUCATIONAL OBJECTIVES
PEO1: Provide socially responsible, environment friendly solutions to
Computer engineering related broad-based problems adapting professional ethics.
Course Outcomes
1. Develop programs using GUI Framework.
2. Handle events of AWT and Swings components.
3. Develop programs to handle events in Java programming.
Proposed Methodology
● First, Search the topic for which you want to make a project, and then propose it to the
Subject In charge.
● After finalizing the topic, start gathering the information about your project.
● For Program Execution, write the source code of your program in any suitable IDE.
● Recheck the program with the subject in charge.
● Now, it’s time to make a report of your Selected Project.
Action Plan
Sr. Detail of activity Plan Start Date Plan Finish Date
No.
Subject In-charge
(Mrs.Smita Kuldiwar)
Program to perform Insert,
Update, Delete operation
using database
Rationale
Java technology is widely used for web application development.Based on the object oriented
concepts and core java concepts, this course will equip the students with the required knowledge and
skill of object oriented programming approach needed for the development of robust, powerful web
applications.Through this course students will get hands-on experience on GUI Technologies viz.
AWT and swings, event handling mechanisms and network programming.The course also gives
coverage to various web applications aspects like Database Interaction,server side components and
servlets.
Literature
JDBC (Java Database Connectivity) is a fundamental API for database interaction in Java
applications, enabling seamless CRUD operations. White et al. (2020) highlighted its efficiency in
direct SQL execution, while Singh & Sharma (2019) compared JDBC with ORM frameworks, finding
JDBC faster for basic queries. Kumar et al. (2021) emphasized security concerns, advocating for
SQL injection prevention and secure connection handling in Java-based database systems.
Actual Methodology Followed
Topic Work Data Work Done
Done By
Resources Required
Sr. Name of Resources Specification Qty. Remark
No.
Source Code
import java.sql.*;
import java.util.Scanner;
class EmployeeD{
while (true) {
System.out.println("\n1. Insert Employee");
System.out.println("4. Exit");
switch (choice) {
case 1:
insertEmployee(conn, scanner);
break;
case 2:
updateEmployee(conn, scanner);
break;
case 3:
deleteEmployee(conn, scanner);
break;
case 4:
System.out.println("Exiting...");
return;
default:
} catch (SQLException e) {
e.printStackTrace();
String sql = "INSERT INTO Employee (name, salary) VALUES (?, ?)";
stmt.setString(1, name);
stmt.setDouble(2, salary);
stmt.executeUpdate();
System.out.println("Employee added successfully!");
int id = scanner.nextInt();
stmt.setDouble(1, salary);
stmt.setInt(2, id);
if (rows > 0)
else
}
}
int id = scanner.nextInt();
stmt.setInt(1, id);
if (rows > 0)
Else
}
MySQL Command:
Output:
Java:
MySQL:
Inserting Multiple Employee data:
Java:
MySQL:
Updating Data in the Table:
Java:
MySQL:
Java:
MySQL:
Skill Developed
1. Able to develop Java Programs
2. Able to analyze and fix the errors.
3. Able to debug the program.
Application
Can be used in college and school level programs.
Subject In-charge
(Mrs. Smita Kuldiwar)