Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Backup data-source in EJB  RSS feed

 
jerry king
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a stateless session bean that will query a db. The db is in primary/secondary design, in order to prevent exception thrown by the db accidentally crash. Is that possible to have a health check before declare the entity manager ?

Please kindly advise on this case
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!