Download presentation
Presentation is loading. Please wait.
Published byMariah Harvey Modified over 9 years ago
1
Implement distributed transations Management in the Campus System Zhuo Zeng
2
Layers Three layers: 1.Presentation Layer 2.Application Layer 3.Data Mapping Layer
3
Database 3 tables:
4
Data-Mapping
5
Strust+Spring+Hibernate
6
Connection Pool <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource " destroy-method="close" p:driverClass="com.microsoft.sqlserver.jdbc.SQLServer Driver" p:jdbcUrl="jdbc:sqlserver://localhost:1433;databaseNam e=Admin" p:user="sa" p:password="123456" p:maxPoolSize="40" p:minPoolSize="1" p:initialPoolSize="1" p:maxIdleTime="20" />
7
Transaction The simplistic view of a transaction issued to the database using SQL is as follows: 1.Begin the transaction using begin transaction command. 2.Perform various deleted, update or insert operations using SQL queries. 3.If all the operation are successful then perform commit otherwise rollback all the operations.
8
Transaction PROPAGATION_REQUIRED PROPAGATION_REQUIRED PROPAGATION_SUPPORTS,readOnly
9
Login
10
Administrator
11
Student Management
12
Teacher Management
13
Course Management
14
Teacher Management System
15
Student Management System
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.