I have a Spring web app, it has a main controller which instantiates an object such as:
@Controller
public class testController {
private Boom boom = new Boom();
}
This object would for example have a Get method to display an arraylist of strings for the user to edit and save.
But if there are 2 sessions open, if I edit the list on one and save, then refresh the second session (second browser) it shows on that one. I don't want this to happen. I'd want the controller to make this object unique for each user viewing the application
What are my options for scoping this?