Notes

Java Practices

1. avoid creating unnecessary objects and always prefer to do Lazy Initialization
    - Lazy Evaluation is the technique of delaying a computation until the result is required
2. avoid making public instance variables
    - make it private then create getter/setter methods
3. always try to minimize the mutability of a class
    - managing immutable (unmodifiable) objects have performance impact
    - to make a class immutable, define all constructors as private and provide a public static method that will return an instance of the class
4. prefer Interfaces instead of Abstract classes


Oracle R12 / OAF

- page regions that are meant to be shared should be created as standalone
- 2 different View Objects with the same name cannot coexist inside a single Application Module
- closing the ViewObject's rowset iterator disables you to add/remove rows from the ViewObject

Oracle

1. When you are writing original code or designing the business logic from the start, you should consider the strengths of each collection type to decide which is appropriate for each situation.

sources:
http://www.javapractices.com
http://viralpatel.net/blogs/2010/02/most-useful-java-best-practice-quotes-java-developers.html