Should implement Serializable or not will has wrong when imported into eclipse.
Should rise it as interface or not there will be NullPointerException when use it in CDI environment.