通过仅发送可以用于发回所有可能消息(响应或任何其他消息)的单个消息,可实现经过极大优化的交互。
By sending just a single message that can be used to send back all possible messages (responses or any other message), a much more optimized interaction occurs.
接收方bean接到发送方发出的消息、调用业务e JB并发回包含返回值或方法所抛出的异常的回复。
The receiver bean picks the message sent by the sender, invokes a business EJB and sends back a reply, containing either the returned value or the exception thrown by the method.
对发回服务器的视图状态数据进行序列化或取消序列化时,也会发生额外的开销。
There is also an additional overhead incurred when serializing or deserializing view state data that is posted back to the server.
应用推荐