>> In general, the more behavior you find in the services, the more likely you >> are to be robbing yourself of the benefits of a domain model. If all your >> logic is in services, you've robbed yourself blind. > > Pake Controller??
ikut ngacau ah.. "the more behavior you find in the services ..." yg gw pahamin disini tuh business logic yg seharusnya ada di domain malahan ditaro di sevice. Tetep aja kalo pake Spring kita bisa embrace DDD. Di service nya spring jangan ada business logic, tapi cuma sebagai koordinator aja. dari situ semua business logic di delegasikan ke domain. Gitu kali... gak tau. Gw juga bukan spring user... jadi gw gak buta dunk.... :p