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.
アプリケーションの起動時にいくつかのサービスを開始し、アプリケーションのシャットダウン時にそれらをシャットダウンする必要があります。
これを行うには、どちらがより良い方法でしょうか..
1) bootstrap.groovy の init & destroy または
2) ServletContextListener を実装する