I'm new to
J2EE and I hear often that business processes should not be put in entity beans. Does this not go against the OO principle of
Tell Don't Ask ?
Seems to me if you put your business process logic in classes other than where the data resides your entity objects have to expose nearly all there state.
Is this a trade off ?
Is there some way round this, say by adding wrappers to entity beans ?
thanks,
D.