Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 30-10-07, 12:28 PM   #1 (permalink)
Senior Member
 
Join Date: Aug 2006
Age: 28
Posts: 275
Thanks: 0
Thanked 5 Times in 5 Posts
Thanks: 0
Thanked 5 Times in 5 Posts
Rep Power: 5 radhika743 is on a distinguished road
EJB: How does Stateful Session Bean store it's client state?

Q.) How does Stateful Session Bean store it's client state?
radhika743 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-11-07, 06:35 PM   #2 (permalink)
Member
 
harikotha's Avatar
 
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 harikotha will become famous soon enough
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
harikotha is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-07, 11:59 AM   #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 satya5321 is on a distinguished road
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.
satya5321 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT +6.5. The time now is 03:09 AM.





Search Engine Optimization by vBSEO 3.1.0