Note that Seam does not generate stubs and complex types for all components that specify a method as remote.
注意,Seam并不为所有指定一个方法为远端的所有组件都生成存根和复杂类型。
Create a new class in Eclipse (call it MockConection) that implements the Connection interface. Check the option to generate stubs for inherited abstract methods (see Figure 2).
在Eclipse中创建一个完成Connection接口的新类(称它为MockConection),检查为继承的抽象方法产生桩模块的选项(见图2)。
Generate client and service stubs in various languages.
采用各种语言生成客户端和服务存根。
应用推荐