Just like we have www.corej2eepatterns.com for J2EE, when can we expect any resource(book) on patterns开发者_如何学Go for Java EE 5/6?
This book is for you then: "Real World Java EE Patterns - Rethinking Best Practices"
This pragmatic book offers the real world knowledge and code you need to develop lean but still maintainable Java EE 5 / 6 applications. Real World Java EE Patterns - Rethinking Best Practices guides you to efficient patterns and best practices in a structured way, with real world code. This book includes coverage of:
- An introduction into the core principles and APIs of Java EE 6 (EJB, JPA, JMS, JCA, JTA, Dependency Injection, Convention Over Configuration, Interceptors, REST)
- Principles of transactions, Isolation Levels, Remoting in context of Java EE 6
- Mapping of the Core J2EE patterns into Java EE
- Discussion of superfluous patterns and outdated best practices like DAOs, Business Delegates, Data Transfer Objects extensive layering, indirections etc.
- Business layer patterns for domain driven and service oriented architectures
- Patterns for integration of asynchronous, legacy, or incompatible resources
- Infrastructural patterns for eager-starting of services, thread tracking, pre-condition checks, Java EE 6 lookups or integration of third-party Dependency Injection frameworks like Guice
- Hints for efficient documentation and testing
- EJB 2 - EJB 3.X migration
- Lean and pragmatic service and domain driven architectures, based on the discussed patterns
- Fully functional Java Connector Architecture (JCA) implementation with source code
You actually can apply those patterns to Java EE or any other collection of enterprise frameworks. J2EE patterns, you mentioned, are just best practices for developing enterprise applications. In general, they do not depend on specific frameworks, like GoF patterns don't depend on specific OO language. So just like GoF patterns are language-agnostic, enterprise patterns are framework-agnostic.
精彩评论