Hi

Is it possible to give a restart facility in stateless session bean ?

The problem is like this.

In a stateless bean, there is a method called executeRule().
This method will process a file which contains more than
one million records.

executeRule(){

       while (EOF){
        read a record from file
        process it
        write back it to file
       }
}

When a client selects executeRule from the screen, then this procedure
get activated. But I have to give a facility, through which client can stop
this process and restart it from the point (For ex: if client stops this
when
it processed 500 records, and when he restart the process, it should start
processing from 501 records).

Thanks & regards,
Ravi.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to