import java.rmi.RemoteException;
import javax.annotation.PostConstruct;
-import javax.ejb.EJB;
import javax.enterprise.context.SessionScoped;
import javax.faces.FacesException;
import javax.inject.Named;
@Named("basket")
@SessionScoped
public class PizzaServiceBasketWebBean extends BaseFrameworkBean implements PizzaBasketWebBean {
+
/**
- * Basket bean
+ * Serial number
*/
- @EJB
- private final BasketSessionBeanRemote basket;
+ private static final long serialVersionUID = 5_476_347_320_198L;
/**
- * Serial number
+ * Basket bean
*/
- private static final long serialVersionUID = 5476347320198L;
+ private final BasketSessionBeanRemote basket;
/**
* Default constructor
/**
* Serial id
*/
- private static final long serialVersionUID = 58137539530279L;
+ private static final long serialVersionUID = 58_137_539_530_279L;
/**
* Remote bean
*/
- //@EJB
private final ShopSessionBeanRemote shop;
/**
package org.mxchange.pizzaapplication.beans.customer;
import javax.annotation.PostConstruct;
-import javax.ejb.EJB;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import javax.naming.InitialContext;
/**
* Serial number
*/
- private static final long serialVersionUID = 542145347916L;
+ private static final long serialVersionUID = 542_145_347_916L;
/**
* Remote customer bean
*/
- @EJB
private final CustomerSessionBeanRemote customer;
/**
import java.util.List;
import javax.annotation.PostConstruct;
-import javax.ejb.EJB;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Named;
import javax.naming.InitialContext;
/**
* Serial number
*/
- private static final long serialVersionUID = 835482364189L;
+ private static final long serialVersionUID = 835_482_364_189L;
/**
* Remote bean
*/
- @EJB
private final ShopDataBeanRemote data;
/**