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.
Web アプリケーション (春) でキューを使用する場合、次のことができますか?
while(..) { }
キューに追加された新しいアイテムに応答するには、それともサーバー上で実行される別のサービスである必要がありますか?
つまり、これは Web アプリケーションでは維持できません。正しいですか?
Web アプリでタイマーを使用して定期的にサーバーを起動し、ポーリングする必要があります (たとえば、要求がブラウザーから行われた場合は AJAX 要求を使用します)。