13 de agosto de 2007

The best of the best practices - Java EE aplications.

A Big Blue divulgou em Janeiro passado um documento falando sobre as melhores práticas de mercado para aplicações Java EE.

Segue abaixo a lista com as 19 top best practices elencadas por eles

A materia completa está disponível em


The best of the best practices
1. Always use MVC.
2. Don't reinvent the wheel.
3. Apply automated unit tests and test harnesses at every layer.
4. Develop to the specifications, not the application server.
5. Plan for using Java EE security from Day One.
6. Build what you know.
7. Always use session facades whenever you use EJB components.
8. Use stateless session beans instead of stateful session beans.
9. Use container-managed transactions.
10. Prefer JSPs as your first choice of presentation technology.
11. When using HttpSessions, store only as much state as you need for
the current business transaction and no more.
12. Take advantage of application server features that do not require
your code to be modified.
13. Play nice within existing environments.
14. Embrace the qualities of service provided by the application server
15. Embrace Java EE, don't fake it.
16. Plan for version updates.
17. At all points of interest in your code, log your program state using a
standard logging framework.
18. Always clean up after yourself.
19. Follow rigorous procedures for development and testing.

Nenhum comentário: