I am migrating an application from JBoss to TomEE.
It uses a feature of JBoss that allows sending mails easily.
In JBoss, there is a configuration file:


that contains all SMTP parameters. At startup, JBoss creates a
ConnectionFactory based on these parameters, and publishes it via JNDI.
At runtime, this ConnectionFactory is retrieved via JNDI:

ConnectionFactory connectionFactory = (ConnectionFactory)

Is there anything similar in TomEE?
Thank you.

View this message in context: 
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to