- All the variables, methods & classes should have the meaning full names.
- Indentation should be strictly followed.
- All the variables, methods & classes should have the appropriate java comments.
- The code should not contain any sysouts instead appropriate logger statements should be used.
- All the variables should be declared at the top (beginning of method) and instantiated wherever required.
- The code should not contain any hard coding of string or number.
- While designing the JSP Page instead of writing the styles every where, all the styles should be fetched from the common CSS file and used.
- Unnecessary code should be avoided by using proper java constructs.
- The labels in the JSP Page should be fetched from property file.
- The no of characters in a line in code should not exceed 80.
Saturday, July 26, 2008
==> Coding Standards for Java Web Application
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment