entityManager « JMS « JSP-Servlet Q&A





1. entityManager.persist and JMS messaging issues?    coderanch.com

Hi everyone: I am seeing a problem that I could not figure out a solution. Can anyone shed me some lights on this? I have a EJB method which basically does 2 things: 1). persists a record into a database table using EntityManager 2). sends out a message to a JMS topic. So it is th like: myMethod() { entityManager.persist(myObj); notifier.notify(...); ...