A scope annotation can be added to either the interface or implementation class definition. The Feature Pack for SCA supports stateless and composite scopes.
可以向接口或实现类定义添加范围注释。
It is the only class where EJB operations are performed, and it holds the reference to the PhoneBookSession stateless session bean.
它是惟一一个执行ejb操作的类,并保存对PhoneBookSession无状态会话bean的引用。
Listing 2 shows a stateless bean class.
清单2展示了一个无状态bean类。
应用推荐