I use JBoss as a web container and does not utilze the ejb features. I use the UserTransaction object to handle transactions inside my web application. Does anyone know how to control the locking policy (optimistic/pessimistic) for a web application? I can only find documentation on this for Bean- and Container managed EJB's.