[{"title":"( 44 个子文件 65KB ) BankSystem:由于约会多线程环境:开始的业务层单例是一个以时间换取空间的策略。先在业务多个用户登录,业务层处理存在排队现象现在业务层取消单例,让每个用户拥有独有的业务服务问题:1.一个账号多人请求登录,出现多个账号在线。 --dao层注册于登录前需要先判断user_pool while(uers.get(username)!= null)2.多个账号同时给一个账号转账时,会出现getMoney(),setMoney()的线程安全问题。-给改变ProperFiePo对象的钱值的都加同步锁,防止多线程","children":[{"title":"BankSystem-master","children":[{"title":"updata <span style='color:#111;'> 32B </span>","children":null,"spread":false},{"title":"bank1.2.iml <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"filedata","children":[{"title":"template.properties <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"logo.jpg <span style='color:#111;'> 13.28KB </span>","children":null,"spread":false},{"title":"register","children":[{"title":"yst.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"logo.jpg <span style='color:#111;'> 13.28KB </span>","children":null,"spread":false},{"title":"yq.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"yyy.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"filedata","children":[{"title":"bankconfig.xml <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"template.properties <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"logo.jpg <span style='color:#111;'> 13.28KB </span>","children":null,"spread":false},{"title":"register","children":[{"title":"yst.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"yq.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"yyy.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false}],"spread":true},{"title":"version","children":[{"title":"bank1.5 <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"cx","children":[{"title":"bank","children":[{"title":"model","children":[{"title":"MoneyBean.java <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"UserBean.java <span style='color:#111;'> 780B </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"ProperFilePo.java <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"BankDaoFactory.java <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"BankDaoInterface.java <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"FileDaoImpl.java <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"CMDException.java <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"InvalidDepositException.java <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"AccountOverDrawnException.java <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"BankSystemRegisterException.java <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"Dao.java <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"TransferException.java <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":"MD5Util.java <span style='color:#111;'> 1016B </span>","children":null,"spread":false},{"title":"BankSystemLoginException.java <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"BankConfigure.java <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"BankSystem.java <span style='color:#111;'> 9.33KB </span>","children":null,"spread":false},{"title":"GULBankSystem.java <span style='color:#111;'> 16.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"manager","children":[{"title":"ManagerImpl.java <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"BankService.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 660B </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 235B </span>","children":null,"spread":false}],"spread":true},{"title":"modules.xml <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bankconfig.xml <span style='color:#111;'> 556B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]