You can code components to store state information in the database rather than in memory. Doing so offers failover for stateful components, and allows you to map relational data to a component interface using the EJB entity Bean model.