Listing 19 shows how the DataMapPersistence class is configured as a servlet context listener in the web.xml file.
清单19显示了DataMapPersistence类是如何作为web . xml文件中的servlet上下文侦听器进行配置的。
Target (Servlet and MBean) : Provides inbound listener services for transport and document protocols from internal and external endpoints as well as transport-level security functions.
目标(Servlet和MBean):为内部的外部端点的传输和文档协议提供入站监听服务以及传输层安全性功能。
The servlet then invokes its JMS listener to listen for the response.
然后,Servlet将调用其JMS侦听器来侦听响应。
Listing 5 also set up a servlet context listener.
清单5还构建了一个servlet上下文侦听器。
To register a notification listener in the server process, you could use a servlet and perform the same general steps as above.
为了在服务器进程中注册一个通知侦听器,您可以使用servlet,然后执行与上面一样的通用步骤。
A servlet context listener named DataMapPersistence is used to serialize the repository into a file before shutdown and restore the repository's state after startup.
servlet上下文侦听器名为DataMapPersistence,用于在停机之前将存储库序列化到文件中,并在启动后恢复存储库状态。
The servlet specification defines several interfaces that listener classes implement in order to handle events.
servlet规范定义了侦听器类为处理事件而实现的一些接口。
For example, if a servlet wants to be notified when a stock price has changed, it can register a listener on a well-known EventSource.
例如,当股票价格改变时,如果要通知servlet,它可以在知名的EventSource上注册一个侦听器。
On the server side, the listener for SOAP RPC messages is implemented as a servlet.
在服务器端,SOAPRPC消息的侦听器被作为servlet实现。
On the server side, the listener for SOAP RPC messages is implemented as a servlet.
在服务器端,SOAPRPC消息的侦听器被作为servlet实现。
应用推荐