package com.corejsf;

import java.io.Serializable;

import javax.inject.Named; 
   // lub import javax.faces.bean.ManagedBean;
import javax.enterprise.context.SessionScoped; 
   // lub import javax.faces.bean.SessionScoped;

@Named("user") // lub @ManagedBean(name="user")
@SessionScoped
public class UserBean implements Serializable {
   private String id;
   
   public String getId() { return id; }
   public void setId(String newValue) { id = newValue; }
}