users
[Top] [All Lists]

Re: [cinjug-users] Request for Help: Stateful session bean failover

To: users@xxxxxxxxxx
Subject: Re: [cinjug-users] Request for Help: Stateful session bean failover
From: brian.burress@xxxxxxxxxxxxx
Date: Thu, 6 Jan 2005 07:42:49 -0500
Delivered-to: mailing list users@cinjug.org
In-reply-to: <20050103222920.9079.qmail@web52505.mail.yahoo.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm



Daniel,

Sounds like you want to look at storing your persistant bean information on
a database table and implement appropriate logic in the ejb interface
methods (i.e. the create/activate/passivate/remove methods) to query/store
data from/on the table.

Here is a link that looks like it is related to what you are looking into
though it does not really discuss implementation ideas:
http://www.codecomments.com/Java_Beans/message329213.html.





                                                                                
                                                                     
                      "Daniel YH. Cho"                                          
                                                                     
                      <young_0648@yahoo        To:       users@xxxxxxxxxx       
                                                                     
                      .com>                    cc:                              
                                                                     
                                               Subject:  [cinjug-users] Request 
for Help:  Stateful session bean failover                            
                      01/03/2005 05:29                                          
                                                                     
                      PM                                                        
                                                                     
                      Please respond to                                         
                                                                     
                      users                                                     
                                                                     
                                                                                
                                                                     




Hi.  Thank you so much for your suggestions in
advance.  If this is not an appropriate place to ask a
question such as mine, I apologize.
My question is as following:

If I'm writing a stateful session bean that must keep
important state information for long periods. What
safeguards can be taken in case the bean is
accidentally destroyed (for example, the EJB server
goes down) to preserve the state?

Any suggestion will be greately appreciated. Thanks



__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>