Never self-host on a UI thread, and have the UI applicationcall the service.
不要在UI线程上托管服务,让UI程序只调用服务。
2
It then displays the result returned from the EJB proxy applicationcall on an output page as shown in Figure 5.
然后将在输入页上显示e JB代理应用程序调用返回的结果,如图5中所示。
3
Rather than hand code method calls to surround each applicationcall to an annotated interface methods, another option is to define a Hook to register with the annotated interface.