you can define several containers through xml or openejb api (not standard)
see http://tomee.apache.org/details-on-openejb-jar.html *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/2/11 ymaraner <[email protected]> > In tomee.xml we define containers for each type of bean and we can > configure > each container to tweak it's performance. However, what if I want several > different containers with different tweaks for different beans of the same > type? For instance, for some stateless session beans I may want to have > different max/min pool sizes or timeout values than I do for others. > > How can I accomplish this? > - Do I specify the non-default container ID in an EJB annotation/deployment > descriptor? > - Do I list the names of EJBs that use a particular non-default container > in > some configuration file somewhere? > > Are there limitations imposed on this type of situation? Things I can do > with beans in a common container that I cannot do with beans in different > containers? > > If there is documentation on the website that points this out, please feel > free to reply with a link to the appropriate documentation page. > > Thanks again. > > > > ----- > - Tim > -- > View this message in context: > http://openejb.979440.n4.nabble.com/How-to-specify-a-container-configuration-for-a-subset-of-EJBs-tp4660699.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
