文件名称:EJB-of-bank-ATM
-
所属分类:
- 标签属性:
- 上传时间:2013-04-11
-
文件大小:5.68kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
EJB来模拟银行ATM机的流程及操作:获取系统属性,初始化JNDI,取得Home对象的引用,创建EJB对象,并将当前的计数器初始化,调用每一个EJB对象的count()方法,保证Bean正常被激活和钝化,EJB对象是用完毕,从内存中清除,从账户中取出amt,如果amt>账户余额抛出异常,一个实体Bean可以表示不同的数据实例,我们应该通过主键来判断删除哪个数据实例-EJB to simulate the process of bank ATM machines and operation: Get system properties, initialize JNDI obtain the Home object' s references to create EJB objects, and the current counter is initialized each EJB object count () method is called, Bean normal activation and passivation, EJB object is used up, cleared from memory, remove from the account amt amt> account balance throw an exception, an entity Bean can represent different instances of the data, we should be the primary key to judgment delete which data instances
(系统自动生成,下载前可以参看下载内容)
下载文件列表
EJB of bank ATM/Account.java
EJB of bank ATM/AccountBean.java
EJB of bank ATM/AccountClient.java
EJB of bank ATM/AccountException.java
EJB of bank ATM/AccountHome.java
EJB of bank ATM/AccountPK.java
EJB of bank ATM/ejb-jar.xml
EJB of bank ATM
EJB of bank ATM/AccountBean.java
EJB of bank ATM/AccountClient.java
EJB of bank ATM/AccountException.java
EJB of bank ATM/AccountHome.java
EJB of bank ATM/AccountPK.java
EJB of bank ATM/ejb-jar.xml
EJB of bank ATM
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.