如果外部客户端通过向应用程序发送消息来参与应用程序处理,同步服务和异步接收将尤为有用。
Synchronous serve and asynchronous receive can be particularly useful in cases where external clients take part in application processing by sending messages to the application.
对于同步消息,发送SOAP消息和接收应答是在单个步骤中发生的。
With a synchronous message, sending the SOAP message and receiving a reply take place in a single step.
会话bean和实体bean可以发送JMS消息,但只能同步接收这些JMS消息。
Session beans and entity beans can send JMS messages, but can only receive them synchronously.
应用推荐