My application is a multi-screen app; at the
last screen, a reference number is generated.
I am modelling the reference number generator
as a class like this:
interface ReferenceNoGenerator{
public synchronized RefNum next();
}
Is this ok ? Are there any
patterns for doing something like this ?
Thanks
Pho