This, in turn, allows multiple requests to be sent down over the same TCP connection, dramatically speeding up the serving of static HTML documents and images.
这允许使用同一个 TCP 连接发送多个请求,从而大大提高呈现静态 HTML 和图像的速度。
In the past, you may have been tempted to take advantage of the multithreaded nature of JMS Connection objects and cache them in a static variable of an EJB component or servlet.
在过去,您也许曾经试图利用JMS Connection对象的多线程本性,并将它们缓冲到EJB组件或者servlet的静态变量中。
The factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.
工厂类保留已连接的线程的静态映射,可以在线程进行调用时返回现有连接句柄,或创建并存储连接句柄。
应用推荐