During my experience developing web applications, it’s challenging to find the “best” web development approach of them all.I like these principles:
- POJO approach. No inheritance, interfaces, minimal annotations. Configuration is all that’s necessary.
- Convention over Configuration. Even with POJO, some configuration is needed. Minimize configuration by using conventions. And document the conventions! Because conventions can sometimes be confusing.
- REST approach. This is not anti-SOAP or anti-WS-*. It means designed for the web, and embrace resource-oriented and stateless principles.
1 COMMENTS