beanDeployer.addBuiltInBean(new HttpServletRequestBean(beanManager));
beanDeployer.addBuiltInBean(new HttpSessionBean(beanManager));
beanDeployer.addBuiltInBean(new ServletContextBean(beanManager));
}
if (beanManager.getServices().contains(TransactionServices.class)) {
beanDeployer.addBuiltInBean(new UserTransactionBean(beanManager));
}
if (beanManager.getServices().contains(SecurityServices.class)) {
beanDeployer.addBuiltInBean(new PrincipalBean(beanManager));
}
// Register the context beans