Enterprise beans

Entity EJBs store data in databases, and session beans may be coded directly with JDBC to access the database or work with Entity EJBs. EJBs that use database access will fail during a failover and succeed after a failover with no more than one retry. For CMP EJB, when a part of data access is not controlled by WebSphere containers and BMP EJB data access, you have the option to code a retry block in your code as described 12.7.4, Java/C++ applications and application re-connecting. If you code the retry block in your EJBs, clients will hang during a failover. For CMP EJBs, restarting appservers will clean the connection pool after a failover.

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.