Davide Mora <[EMAIL PROTECTED]> asked:
>how i can specify a timeout for a stateful session bean?

I looked through the Sun documentation and I couldn't find a way for the 
bean or the client to specify that directly. I think a stateful session 
bean will timeout whenever the container (jBoss) thinks it needs to, 
according to the container's memory usage and internal schedule. The client 
can ask the container to remove the session object immediately, but there's 
no interface that lets the client ask the container to set a timeout on a 
specific bean.

The container tells the SessionBean to passivate its instance with the 
ejbPassivate notification.

-- Ken Jenks, http://abiblion.com/

    Tools for reading.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to