KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > stests > manyops > ProductHome


1 // ProductHome.java
2

3 package org.objectweb.jonas.stests.manyops;
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 Product
13  */

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