-
1. Re: Limit number of instances of a specified bean in the con
tterm Mar 22, 2006 12:38 PM (in response to mirelush)Hello,
maybe you could create separate container configurations for those beans and extend from the default configuration.
Thomas -
2. Re: Limit number of instances of a specified bean in the con
tterm Mar 22, 2006 12:42 PM (in response to mirelush)Hello,
From the adminguide:
"By placing a jboss.xml file in the EJB JAR METAINF
directory, you can specify either overrides for container configurations in the standardjboss.xml file, or entirely
new named container configurations. This provides great flexibility in the configuration of containers. ...."
Thomas -
3. Re: Limit number of instances of a specified bean in the con
mirelush Mar 23, 2006 4:05 AM (in response to mirelush)Hello Thomas,
thank you for your quick answer.
I also don't see other solution but creating different containers - one for frequently used beans, with a bigger number of instances, and another one for the seldom used beans, with a smaller number of instances.
Another question now - how can I see in which contaner JBoss put each bean?
(in case I dont't specify the container in jboss.xml)
Mirela -
4. Re: Limit number of instances of a specified bean in the con
tterm Mar 23, 2006 6:51 AM (in response to mirelush)Hello,
I don't understand your question correctly. Where do you want to see this? In the EJB?
Thomas -
5. Re: Limit number of instances of a specified bean in the con
mirelush Mar 23, 2006 11:27 AM (in response to mirelush)I want to see (some how) in which container JBoss put my beans.
Is there a way to find out this information? I'm thinking:
- in the console or in any log file (after starting the server), or
- in debug, if I inspect some objects
etc (I don't have any other ideas)
Mirela