Enterprise JavaAn Architecture for Making Asynchronous EJB Calls Using JMS

Listing 2. SpellCheckHome.java.


1  package asynch;
2  
3  import java.rmi.*;
4  import javax.ejb.*;
5  
6  public interface SpellCheckHome extends EJBHome {
7   	// This EJB is going to be a stateless EJB. The act of spell checking
8   	// a word doesn't require any state to be transitioned between
9  	// method calls.  Each time a client makes an invocation on this EJB
10	// the EJB does not need to know about any prior invocations.
11	  SpellCheck create() throws CreateException, RemoteException;
12 }