// Call the next in the chain
try
{
EnterpriseEntityLocalHome home = (EnterpriseEntityLocalHome)entityContext.getEJBLocalObject().getEJBLocalHome();
beanOrder.next++;
EnterpriseEntityLocal nextBean = home.findByPrimaryKey(beanOrder.order[beanOrder.next]);
try
{
nextBean.callAnotherBean(beanOrder);
}
finally