Class, interface naming
Naming conventions: Start with a capital letter, if there are multiple words, each word has uppercase letters, for example: Studentinfo
Class variables, methods, JSP page naming
Naming specification: First letter lowercase, if there are more than one word, after the first letter capital, words and words do not use "_" to do the connection, example Studentname.
Constant naming
Naming conventions: All uppercase letters, such as composed of multiple words, the words are separated by "_", and the constant is public, static, final type, and the static final String user_name;
Interface naming
Naming conventions: Start with the capital letter "I", and if there are multiple words, capitalize each word first letter
Example: Istudentinfo
Interface implementation class naming:
Naming specification: Remove the first letter "I" of the implemented interface name, with "Impl as the end", and if there are multiple words, each word has uppercase letters.
Example: Studentinfoimpl
J2ee+ssh Framework Naming conventions
The Servlet class is named:
Naming conventions: ending with a servlet word
Example: Loginservlet
Basic Naming conventions: