Java EE Web アプリ (および一般的な Web アプリ) について読んでいるときに、次のような内容をかなりの回数読んだことがあります。
Web アプリは、HTTP のように自然にステートレスであるべきです
- これは事実上、すべてのリクエストで状態を DB からプルする必要があり、リクエスト間でサーバーに情報を保持してはならないということですか?
- Web アプリケーションがステートフルであることの何が悪いのでしょうか? それはどのような不利益をもたらしますか?
Java EE Web アプリ (および一般的な Web アプリ) について読んでいるときに、次のような内容をかなりの回数読んだことがあります。
Web アプリは、HTTP のように自然にステートレスであるべきです