You are on page 1of 19

IMPLEMENTATION OF JAVA WITH DATABASE IN BARBERSHOP

Group : 4

Names : Andro Rizky Adwityo

Setyo Aji Wibowo

Class : 2 NAP 1

CEP CCIT
FAKULTAS TEKNIK UNIVERSITAS INDONESIA
2020
PROJECT ON

Developed by

1. Andro Rizky Adwityo


2. Setyo Aji Wibowo
IMPLEMENTATION OF JAVA WITH
DATABASE IN BARBERSHOP

Batch Code : 2 NAP 1


Start Date : March 27th, 2020
End Date : April 9th, 2020

Name of Faculty : Muhammad Riza Iqbal Latief, S.T.

Names of Developer :
1. Andro Rizky Adwityo
2. Setyo Aji Wibowo

Date of Submission : April 9th, 2020


IMPLEMENTATION OF JAVA WITH
DATABASE BARBERSHOP

CERTIFICATE

This is to certify that this report titled “Implementation of Java With Database
in Barbershop” embodies the original work done by Andro Rizky Adwityo
and Setyo Aji Wibowo. Project in partial fulfillment of their course
requirement at NIIT.

Coordinator:
Muhammad Riza Iqbal Latief, S.T.
ACKNOWLEDGEMENT

Praise the presence of Allah SWT for his permission, so that the author
can complete the project with the title “Implementation of Java With
Database in Barbershop” Appreciation and thanks to the writer give to Mr.
Muhammad Riza Iqbal Latief, S.T. as a faculty of class 2 NAP 1 and other
teaching staff who always help. Thank you also to fellow students who have
supported and also thank you for being a colleague in education at CCIT-
FTUI.
The task of this project the author made intending to complete the
assessment of learning in CCIT-FTUI. With this paper the author hopes to
provide benefits to readers and listeners to increase knowledge and insight.
Finally, the writer realizes that this thesis is far from perfect. Therefore,
the authors request suggestions and criticisms that are constructive for
perfection and hopefully useful for us all. Amin.
CREATE TABLE AND DATABASE

 Create Database

 Create Table Employee & Table Customer

 Create Table Transaction


CREATE PROCEDURE

 Create Procedure Employee

 Create Procedure Customer


CREATE PROCEDURE

 Create Procedure Transaksi


CREATE INSERTING VALUES

 Inserting values to Table


CREATE ROLE AND USER
CCONNECT TO DATABASE

package latihan;

import java.sql.Connection;

import java.sql.DriverManager;

import java.sql.SQLException;

public class testinga {

public static void main(String[] args) throws ClassNotFoundException,


SQLException {

Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");

String
connectionURL="jdbc:sqlserver://localhost:1433;databaseName=AABarberS
hop;user=KasirAABarbershop_Ulfa;password=kasir123";

Connection con = DriverManager.getConnection(connectionURL);

System.out.println("You are connect to SQL server 2014");

}
DESIGN INTERFACE

 Login Page

 Calculating Page
LOGIN PROCESS

 Login Page

 Login Input
LOGIN PROCESS
SYNTAX OF LOGIN PROCESS

 Login Success
PAYMENT PROCESS

 Login Page

 Calculating Process

 Reset
 Get Bill Process
PAYMENT PROCESS

 Print Bill Process


SYNTAX OF PAYMENT PROCESS
SYNTAX OF PAYMENT PROCESS

 Hitung Syntax

 Keluar Syntax

 Cetak Bukti Syntax

 Reset/Ulang Syntax

 Print Syntax

You might also like