on server side http://tomee.apache.org/containers-and-resources.html applies, on client side you need to either use the system properties or a "custom" resource ie use class-name config, nothing more complicated, just declare what you need.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-09-08 6:52 GMT-07:00 hkgot <[email protected]>: > I am confused.... Your sample creates connection factory and queues on fly > instead of using from config files. If I create on fly, how do I manage > connection factory with min/max connections etc.? > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/How-to-reference-connection-factory-and-queues-from-code-tp4675980p4676163.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
