Ejb jr us useless is you usr default .ames but yes
Le 22 nov. 2013 20:21, "Leonardo K. Shikida" <shik...@gmail.com> a écrit :

> you mean
>
> in tomee.xml I define
>
> <Container id="Foo1" type="STATELESS">
> PoolSize = 10
> </Container>
>
> <Container id="Foo2" type="STATELESS">
> PoolSize = 20
> </Container>
>
> and then in my webapp, in WEB-INF/openejb-jar.xml
>
>
> <?xml version="1.0"?><openejb-jar
> xmlns="http://www.openejb.org/openejb-jar/1.1";>
>
>  <ejb-deployment  ejb-name="somename1"
>          deployment-id="Foo1"
>          container-id="Foo1"/>
>
>     <ejb-deployment  ejb-name="somename2"
>          deployment-id="Foo2"
>          container-id="Foo2"/>
> </openejb-jar>
>
> and then in WEB-INF/ejb-jar.xml
>
> <ejb-jar>
>   <enterprise-beans>
>     <session>
>       <ejb-name>somename2</ejb-name>
> <ejb-class>com.widget.somename2</ejb-class>    </session>
>
>     <session>
>       <ejb-name>somename1</ejb-name>
> <ejb-class>com.widget.somename1</ejb-class>    </session>
> </enterprise-beans></ejb-jar>
>
> like this?
>
>
> []
>
> Leo
>
>
> On Fri, Nov 22, 2013 at 4:30 PM, Romain Manni-Bucau
> <rmannibu...@gmail.com>wrote:
>
> > Just define multiple containers and set the container id by bean
> > http://tomee.apache.org/details-on-openejb-jar.html
> > Le 22 nov. 2013 18:31, "Leonardo K. Shikida" <shik...@gmail.com> a
> écrit :
> >
> > > Hi
> > >
> > > can anyone send me an example of how should I configure files to have
> two
> > > types of stateless beans with different max pool sizes and how to
> relate
> > > each one with specific classes?
> > >
> > > TIA
> > >
> > > Leo
> > >
> >
>

Reply via email to