如清单10所示,当e JB客户机调用远程或本地接口时,它必须传递RequestContext对象,这个对象包含关于当前范围的信息。
As shown in Listing 10, when the EJB client calls the remote or local interface, it must pass the RequestContext object, which contains information about current scopes.
通过提供初始化的接口(Handler . init (HandlerInfo info)),运行时系统可以把所要求的上下文信息传递给处理程序。
By providing the initialization interface (Handler.init (HandlerInfo info)), the run-time system can pass the required context information to the handler.
AccountValue——是一个传递对象,这个对象表示从Account实体bean远程接口获取的帐号信息。
AccountValue — a transfer object that represents account information obtained from the account entity bean remote interface.
应用推荐