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.
我是 Websockets 的新手,我想知道是否可以从 Servlet 运行 Websocket 服务器,例如,如果答案是否定的,请给我一个解释。
是的你可以。这是一个如何将 vert.x 嵌入到 grails 应用程序中的示例,该应用程序可以在 Tomcat 中运行,https: //gist.github.com/pledbrook/2652835 。