| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#2 (permalink) |
|
Member
Join Date: Oct 2006
Posts: 66
Thanks: 2 Thanked 1 Times in 1 Posts Thanks: 2
Thanked 1 Time in 1 Post
Rep Power: 3
|
Re: EJB INTERVIEW QUESTION2?
Hi Radhika,
Stateful Session Bean. The Stateful Session Bean LOGICALLY is a "client thread with State".This thread can be Activated/Passivated as per the situation.But during this activation/passivation essentially the state is saved plus anything else instructed by the bean developer in respective methods. In other words the state mangement control is available to Bean developer also. Let me know if i am wrong... Thanks Hari
__________________
Thanks HAri |
|
|
|
|
|
#3 (permalink) |
|
Banned
Join Date: Sep 2007
Age: 25
Posts: 88
Thanks: 0 Thanked 4 Times in 4 Posts Thanks: 0
Thanked 4 Times in 4 Posts
Rep Power: 0
|
Re: EJB: How does Stateful Session Bean store it's client state?
In case of StatefulSessionBean the state of the Object is serialized and stored in memory.When same client makes a request, the state of the statefulsessionbean is deserialized and ready to serve the Client request.
This is done by the way called activation and passivation. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| J2EE - What is default state of session bean in a ejbjar.xml | preethisingh | Java Interview / Technical Questions | 1 | 25-01-07 04:27 PM |
| J2EE - Stateful session bean and Stateless session bean | preethisingh | Java Interview / Technical Questions | 1 | 23-01-07 09:16 PM |
| Java Contest-13 with answers | keerthi | JAVA Technologies | 8 | 31-12-06 09:44 AM |
| Session bean or Session variable which one is the best? | Shiva Shankar | JAVA Technologies | 1 | 04-12-06 07:01 PM |
| ejb | bujjimadhu | JAVA Technologies | 4 | 10-09-06 10:15 PM |