52ky 发表于 2022-10-3 10:55:38

socket的模拟atm的使用

这是我做的一个模拟atm的程序,首要用到socket技术。数据库为sqlserver2005.客户端程序比较简练。服务器端程序,分层明晰,适合初学者理解层次结构。vo层,数据库层,业务层。代码分层明晰。希望对初学者有所帮助。本资料共包括以下附件:
atm办公B组\atm数据库脚本\atm.sql
atm办公B组\com.yuandong.atmClient\.settings\org.eclipse.jdt.core.prefs
atm办公B组\com.yuandong.atmClient\bin\Client\MyClientDemo.class
atm办公B组\com.yuandong.atmClient\src\Client\MyClientDemo.java
atm办公B组\com.yuandong.atmClient\.classpath
atm办公B组\com.yuandong.atmClient\.project
atm办公B组\com.yuandong.atmServer\.settings\org.eclipse.jdt.core.prefs
atm办公B组\com.yuandong.atmServer\bin\atm\AtmOperation.class
atm办公B组\com.yuandong.atmServer\bin\atm\Counter.class
atm办公B组\com.yuandong.atmServer\bin\atm\Io.class
atm办公B组\com.yuandong.atmServer\bin\atm\Single.class
atm办公B组\com.yuandong.atmServer\bin\atm\TestAdmin.class
atm办公B组\com.yuandong.atmServer\bin\atm\TestCommon.class
atm办公B组\com.yuandong.atmServer\bin\dbOperation\Conn.properties
atm办公B组\com.yuandong.atmServer\bin\dbOperation\DBConnection.class
atm办公B组\com.yuandong.atmServer\bin\dbOperation\Operation.class
atm办公B组\com.yuandong.atmServer\bin\vo\Account.class
atm办公B组\com.yuandong.atmServer\bin\vo\Admin.class
atm办公B组\com.yuandong.atmServer\bin\vo\Atm.class
atm办公B组\com.yuandong.atmServer\bin\vo\TransInfo.class
atm办公B组\com.yuandong.atmServer\src\atm\AtmOperation.java
atm办公B组\com.yuandong.atmServer\src\atm\Counter.java
atm办公B组\com.yuandong.atmServer\src\atm\Io.java
atm办公B组\com.yuandong.atmServer\src\atm\TestAdmin.java
atm办公B组\com.yuandong.atmServer\src\atm\TestCommon.java
atm办公B组\com.yuandong.atmServer\src\dbOperation\Conn.properties
atm办公B组\com.yuandong.atmServer\src\dbOperation\DBConnection.java
atm办公B组\com.yuandong.atmServer\src\dbOperation\Operation.java
atm办公B组\com.yuandong.atmServer\src\vo\Account.java
atm办公B组\com.yuandong.atmServer\src\vo\Admin.java
.....

(This is a program I made to simulate ATM, which mainly uses socket technology. The database is sqlserver2005. The client program is concise. The server-side program has clear layers and is suitable for beginners to understand the hierarchical structure. Vo layer, database layer, business layer. The code layer is clear. I hope it will be helpful to beginners. This document includes the following annexes:
ATM Office Group BATM Database Scriptatm. sql
ATM Office Group Bcom. yuandong. atmClient . Settingsorg.eclipse.jdt.core.prefs
ATM Office Group Bcom. yuandong. atmClientbinClientMyClientDemo.class
ATM Office Group Bcom. yuandong. atmClientsrcClientMyClientDemo.java
ATM Office Group Bcom. yuandong. atmClient . Classpath
ATM Office Group Bcom. yuandong. atmClient . Project
ATM Office Group Bcom. yuandong. atmServer . Settingsorg.eclipse.jdt.core.prefs
ATM Office Group Bcom. yuandong. atmServerbinatmAtmOperation. class
ATM Office Group Bcom. yuandong. atmServerbinatmCounter.class
ATM Office Group Bcom. yuandong. atmServerbinatmIo.class
ATM Office Group Bcom. yuandong. atmServerbinatmSingle.class
ATM Office Group Bcom. yuandong. atmServerbinatmTestAdmin.class
ATM Office Group Bcom. yuandong. atmServerbinatmTestCommon.class
ATM Office Group Bcom. yuandong. atmServerbindbOperationConn.properties
ATM Office Group Bcom. yuandong. atmServerbindbOperationDBConnection.class
ATM Office Group Bcom. yuandong. atmServerbindbOperationOperation.class
ATM Office Group Bcom. yuandong. atmServerbinvoAccount.class
ATM Office Group Bcom. yuandong. atmServerbinvoAdmin.class
ATM Office Group Bcom. yuandong. atmServerbinvoAtm.class
ATM Office Group Bcom. yuandong. atmServerbinvoTransInfo. class
ATM Office Group Bcom. yuandong. atmServersrcatmAtmOperation.java
ATM Office Group Bcom. yuandong. atmServersrcatmCounter.java
ATM Office Group Bcom. yuandong. atmServersrcatmIo.java
ATM Office Group Bcom. yuandong. atmServersrcatmTestAdmin.java
ATM Office Group Bcom. yuandong. atmServersrcatmTestCommon.java
ATM Office Group Bcom. yuandong. atmServersrcdbOperationConn.properties
ATM Office Group Bcom. yuandong. atmServersrcdbOperationDBConnection.java
ATM Office Group Bcom. yuandong. atmServersrcdbOperationOperation.java
ATM Office Group Bcom. yuandong. atmServersrcvoAccount.java
ATM Office Group Bcom. yuandong. atmServersrcvoAdmin.java
.....)




页: [1]
查看完整版本: socket的模拟atm的使用