Java Reference
In-Depth Information
Figure 1.3. Domain-driven design typically has four or more layers. The presentation layer is responsible for the
user interface and for interaction with the application/service layer. The application/service layer is typically very
light and only allows communication between the presentation layer and the domain. The domain layer is the
complex expression of your application data model consisting of entities, value objects, aggregates, factories, and
repositories. The infrastructure layer gets to the database and other similar technology.
Despite its impressive services and vision, EJB 3 isn't the only act in town. You can com-
bine various technologies to more or less match EJB services and infrastructure. For ex-
ample, you could use Spring with other open-source technologies such as Hibernate and
AspectJ to build your application, so why choose EJB 3? Glad that you asked....
 
Search WWH ::




Custom Search