anonymous wrote : The whole point of an entity bean is to hold persitent data
Sure. But an entity is at least to me a potential domain object that might contain
business logic which in turn might need to get access to other services.
anonymous wrote : Why not inject the entity bean into the service objects?
Because the domain layer is potentially more reusable. Often the service layer is specific
to the application.
I asked because I wanted to know how flexible the framework can be if I want to design an
app following DDD principles.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066832#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...