KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ejb > Greeter


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// Copyright (C) 1997-@year@ by Per Nyfelt. All rights reserved.
5
//
6
// $Id: Greeter.java,v 1.2 2003/11/29 16:19:28 per_nyfelt Exp $
7
package ejb;
8
9 import java.rmi.RemoteException JavaDoc;
10 import java.util.List JavaDoc;
11 import javax.ejb.EJBObject JavaDoc;
12
13 /*
14  * @author Per Nyfelt
15  */

16 public interface Greeter extends EJBObject JavaDoc {
17
18     String JavaDoc getGreeting() throws RemoteException JavaDoc;
19
20     void removeAllGreetings() throws RemoteException JavaDoc;
21
22     void addGreeting(String JavaDoc greeting) throws RemoteException JavaDoc;
23
24     List JavaDoc getAllGreetings() throws RemoteException JavaDoc;
25
26 }
27
Popular Tags