KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ebasic > AccountHome


1 // AccountHome.java
2

3 package org.objectweb.jonas.jtests.beans.ebasic;
4
5 import java.rmi.RemoteException JavaDoc;
6 import java.util.Collection JavaDoc;
7 import javax.ejb.CreateException JavaDoc;
8 import javax.ejb.EJBHome JavaDoc;
9 import javax.ejb.FinderException JavaDoc;
10
11 /**
12  * Home interface for the bean Account
13  */

14 public interface AccountHome extends EJBHome JavaDoc {
15     Account create(int num, java.lang.String JavaDoc name) throws CreateException JavaDoc, RemoteException JavaDoc;
16     Account findByPrimaryKey(java.lang.Integer JavaDoc pk) throws FinderException JavaDoc, RemoteException JavaDoc;
17     Account findByNumber(int num) throws FinderException JavaDoc, RemoteException JavaDoc;
18     Collection JavaDoc findAll() throws FinderException JavaDoc, RemoteException JavaDoc;
19 }
20
Popular Tags