1. Open New CDI Bean wizard. 2. Input name and package, add @SessionScoped, press finish. 3. The created class is abstract and doesn't implement java.io.Serializable. But it should not be abstract and should implement Serializable.