Enterprise JavaAn Architecture for Making Asynchronous EJB Calls Using JMS
- By by Tyler Jewell
- April 18, 2000
Listing 1. SpellCheck.java.
1 package asynch;
2
3 import java.rmi.*;
4 import javax.ejb.*;
5 import javax.jms.*;
6 import java.util.*;
7
8 public interface SpellCheck extends Remote, EJBObject {
9 public Boolean checkSpelling(String word, Destination answer) throws RemoteException;
10 }