Naming your java components has to respect a certain pattern otherwise your code won't compile. The pattern states that your identifier must begin with letters [A-Z] , underscore (_) or Dollar ($) symbols. Starting your component name with a number isn't possible. you also aren't allowed to use special characters like @!* and Reserved java key words like public private and so one.