Assignment 8
Assignment 8
NAME:
ROLL NO:
Aim: Implement MYSQL/Oracle database connectivity with PHP/ python/Java Implement Database
navigation operations (add, delete, edit,) using ODBC/JDBC.
Description:
Two-Tier Architecture : The two-tier architecture is like client server application. The direct
communication takes place between client and server. There is no intermediate between client and
server. For example now we have a need to save the employee details in database.
The two tiers of two-tier architecture is:
1. Database (Data tier)
2. Client Application (Client tier)
∗ Procedure :
Example :
create table Account(in id int,in ac type int,acc balance int);
end
Example :
insert into Account values(1,’Saving’,1000); end
Example :
update Account set ac balance=ac balance+amt where ac type=’saving’;
update Account set ac balance=ac balance-amt where ac type=’current’;
Example :
delete from Account where id=1;
delete from Account where acc type=’current’;
Conclusion: Thus the JAVA Database connectivity concepts implemented using JDBC-ODBC.