Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
3 層/多層アーキテクチャ (UI/ロジック/DAO/ドメイン モデル) では、サービスはビジネス ロジック層に属していると見なすことができますか、それとも別のものとして位置付けられますか?
「サービス」のようなかなり一般的な言葉は、人によって意味が異なることに気付くでしょう。
サービスとは、ビジネス オブジェクト (または他のサービス) によって公開されるロジックを調整して、有用なタスク (ビジネス プロセスなど) を実装するものと考えています。したがって、私にとって、サービスはビジネス ロジック レイヤー (およびおそらくロギングなどのサポート面) のコンシューマーです。