Tags

,

links:
http://static.springsource.org/spring/docs/3.0.x/reference/jms.html

summary:
– in a tomcat env or ejb, jmsTemplate needs to reference the tomcat or ejb connectionFactory(?)
– When using JMS inside an EJB, the vendor provides implementations of the JMS interfaces so that they can participate in declarative transaction management and perform pooling of connections and sessions.
– In order to use this implementation, Java EE containers typically require that you declare a JMS connection factory as a resource-ref inside the EJB or servlet deployment descriptors.
– To ensure the use of these features with the JmsTemplate inside an EJB, the client application should ensure that it references the managed implementation of the ConnectionFactory.

Advertisements