Stability of the removed seam
I have a button in a .xhtml file that calls a javascript function that calls a java function remotely (in a seam jboss environment). This java function has entityManager.persist entity. Do you know why this line of code is not taken from the DB? It says the transaction has not started yet. I suppose in the remote context I don't have a transaction because if I put an action on that button that calls the same java function instead of using javascript it works fine; entityManager saves the entity and I can see it in the DB.
Does anyone have any ideas how I can do to actually store the object using javascript in order to call the java function? (I have to use javascript because I need a callback function)
0