KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > clusterDemo > BankAccountLocal


1 // BankAccount.java
2

3 package org.objectweb.clusterDemo;
4
5 import javax.ejb.EJBLocalObject JavaDoc;
6
7 /**
8  * BankAccount local interface
9  */

10 public interface BankAccountLocal extends EJBLocalObject JavaDoc {
11
12     /**
13      * credit method
14      */

15     public void putMoney(int value);
16
17     /**
18      * debit method
19      */

20     public void getMoney(int value);
21
22     public double getBalance();
23
24 }
25
Popular Tags