KickJava   Java API By Example, From Geeks To Geeks.

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


1 // BankAccountHome.java
2

3 package org.objectweb.clusterDemo;
4
5 import java.util.Collection JavaDoc;
6 import javax.ejb.CreateException JavaDoc;
7 import javax.ejb.EJBLocalHome JavaDoc;
8 import javax.ejb.FinderException JavaDoc;
9
10 /**
11  * Local Home interface for the bean BankAccount
12  */

13 public interface BankAccountLocalHome extends EJBLocalHome JavaDoc {
14     BankAccountLocal create(int balance, String JavaDoc name) throws CreateException JavaDoc;
15     BankAccountLocal findByPrimaryKey(java.lang.Integer JavaDoc pk) throws FinderException JavaDoc;
16 }
17
Popular Tags