Creating a Stateful session Bean »
By Ramakrishna on Mar 25, 2009 in Example of stateful session bean | 1 Comment
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 [...]
