Hmm, I think I'd rather add cglib than give up transactions in the service layer.
It's another jar, but reduces complexity (that's unusual when you *add* a jar), and puts transaction management where it belongs, IMO. Larry On 4/16/07, Meindert <[EMAIL PROTECTED]> wrote:
Had a closer look at it and the logical reason the proxy could not be generated is the fact the service classes (in JPetstore) don't use an interface. I would like to keep it that way, because the reason's I heard for giving it an interface are not convincing (reasons like 'it is the right thing to do', 'easy interchange of implementations') . So (for now) I would say that it is not possible to have a transaction in the business logic (if the business logic doesn't implement a interface).
