Java EE Predefined Beans available for injection

Predefined BeanResource or CDI BeanInjection Example
UserTransactionResource@Resource UserTransaction transaction;
PrincipalResource@Resource Principal principal;
ValidatorResource@Resource Validator validator;
ValidatorFactoryResource@Resource ValidatorFactory factory;
HttpServletRequestCDI bean@Inject HttpServletRequest req;
HttpSessionCDI bean@Inject HttpSession session;
ServletContextCDI bean@Inject ServletContext context;

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...