reconnect to the datasource without restart the application after the database crashed/restarted/dis

R

Ralph.Lam

Hi All,

I would like to reconnect to the datasource without restart the
application after the database crashed/restarted/disconnected. Any
hints?

Thanks and regards,
Ralph

P.S.
I read a article of the following link saying that I can use
DataSourceDelegator to tell entity bean to change datasource in run
time.

Do you have any example code to visualize how to use the Delegator?
Where I should call the Delegator in the CMP? In ejbCreate() method?

http://www.jboss.org/wiki/Wiki.jsp?...tartingOrRedeployingApplicationsDependentOnIt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top