where we will store the state in Statefull session bean.

Hi Everybody,

In one interview, interviewer asked me abt satefull session beans.

I said Stateful session beans are for maintaining conversational states b/w client.

Then he asked immediately, Where it will store the conversational state i.e whether it is in database or some other place? like in entity beans we will store details in database he asked.....

I am not well versed with ejb so i am confused to give answer , can anybody help me out regarding this question....... tell me the exact place where it will store ?

Thanks in advance......

[583 byte] By [balu45a] at [2007-11-27 1:53:41]
# 1
The state is stored in memory. The state will also be stored in a file/db when the bean is passivated. Some appservers such as weblogic provide you the option to specify where the data has to be saved when the bean is passivated.
enigma_y2k1a at 2007-7-12 1:24:14 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thank you very much........
balu45a at 2007-7-12 1:24:14 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...