...
The OFBiz project follows the Sun coding standards for Java source code. For information regarding this standard please visit http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
The line length of 120 150 is an exception to the Sun standard
Here is an example of a Java formatter for Eclipse
For Groovy we suggest you read http://www.groovy-lang.org/style-guide.html but we don't expect people to follow all details there, still a good read..
...
Service Definitions
Best Practices
Apache OFBiz Best Practices Guide
License Headers
Each and every source file should contain the ASL2.0 header:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<view-map name="FindParty" type="screen" page="component://mycomponent/widget/PartyScreens.xml#FindParty"/> |
...
widget screens
TODO: conventions for screen names (top-level screens, included screens, decorators)
...