Using an external ActiveMQ in an enterprise application in Glassfish
works fine, setting up the connection factory in glassfish-ejb-jar.xml
<glassfish-ejb-jar>
<enterprise-beans>
<ejb>
<ejb-name>ExampleMessageBean</ejb-name>
<mdb-connection-factory>
<jndi-name>jms/connectionFactory</jndi-name>
</mdb-connection-factory>
<mdb-resource-adapter>
<resource-adapter-mid>activemq-rar-5.5.1</resource-adapter-mid>
</mdb-resource-adapter>
</ejb>
</enterprise-beans>
</glassfish-ejb-jar>
But how can it be used in an web application ?
Are there an equivalent method in glassfish-web-app.xml ?
Thanks,
Poul