I want to perform client request in order they called session bean. But sometimes second request executed successfully before first one.
Is sequential client request execution is possible using ejb2 stateless session Bean ?
public generate(){
.................
update()
.............
}
private update(){
debugLog(" update query for "+id);
//code for update query
debugLog(" execute update query for "+id);
}
When I send two request simultaneously i got log like ..
update query for 16
update query for 16
execute update query for 17
execute update query for 16
But i want to execute it serially like
update query for 16
update query for 16
execute update query for 16
execute update query for 17