jetty嵌入式應用

To embed a Jetty server, the following steps are typical:

1. Create the server
2. Add/Configure Connectors
3. Add/Configure Handlers
4. Add/Configure Servlets/Webapps to Handlers
5. Start the server
6. Wait (join the server to prevent main exiting)
發佈了12 篇原創文章 · 獲贊 0 · 訪問量 2983
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章