To make a long story short, this external thing is a perl app that takes a
while to initialize, then "listens" for requests. The MBean service idea sounds
most promising, I'll give that a try.
Thanks,
John
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872
What is that your session bean is doing that takes up so much time?
It seems to me you need more like an adapter to some external resource or
something. If you want to have full control over the lifecycle of this
"external" thing, you'll have to write a JCA adapter (which is quite difficult)
o
Update: I tried to do this by extending the Standard Stateless SessionBean
container-configuration, and setting the MinimumSize attribute to 1 (in
jboss.xml). When I RTFM'd, I found the following disclaimer:
MinimumSize: The MinimumSize element gives the minimum number of instances to
keep in t