I need to block the access of 2 people on the same screen, for example, two people try to access the registration of a certain product, the second person trying to enter must receive a warning that someone is accessing this register. Anyone have any ideas? I work with java, jsf, primefaces and hibernate.