Hi You can do it in openejb-jar.xml but do you need it? It is quite rare to actually use that these days
Le 5 janv. 2017 12:23, "Vincenzo D'Aniello" <ict.management.tre...@gmail.com> a écrit : > Hi, a simple question, and excuse me if it is very beginner. > > By tutotial it is very simple to understand how to create container for > session beans, but I have not figured out how to select the specific > containers for each session bean. > > For example, I create two stateless container: one with id 'stateless1', > and > another with id 'stateless2'; > > <Container id = "stateless1" type = "STATELESS"> ...</Container> > > <Container id = "stateless2" type = "STATELESS"> ...</Container> > > How do I tell tomee the bean 'Stateless1' must use 'stateless1' container, > and that the bean 'Stateless2' must use container 'stateless2'? > > @Stateless > public class Stateless1{..} > > @Stateless > public class Stateless2{..} > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/Select-Container-for-session-beans-tp4680855.html > Sent from the TomEE Users mailing list archive at Nabble.com. >