Creating a Stateful session Bean »



To send two values to a stateful session bean and getting their sum and difference.
The program makes two conversations(calls) with the session bean. In one call it gets the sum and in the second call it gets the difference. Between the calls state is to be maintained.
1 Step) Remote interface :

import javax.ejb.*;
import java.rmi.*;
//No change from [...]